Skip to content

AddAttributes ?primaryTextColor ?primaryTextColorLight?primaryTextColorDark #83

@omkar-tenkale

Description

@omkar-tenkale

Can we define custom colors in cyanea_themes.json

eg {"theme_name":"CustomCyaneaTheme","base_theme":"LIGHT","primary":"#FFEE3868","primary_dark":"#FFCA2F58","primary_light":"#FFF0557E","accent":"#FF93C43E","accent_dark":"#FF7CA634","accent_light":"#FFA3CC5A","background":"#FFFAFAFA","background_dark":"#FFD4D4D4","background_light":"#FFFAFAFA",
,"primaryTextColor ":"#FFFAFAFA",
,"primaryTextColorLight":"#FFFAFAFA",
,"primaryTextColorDark":"#FFFAFAFA"

},

It'd also be handy if we can set other colors too
eg

,"chatBubbleOutgoingColor":"#FFFAFAFA"
,"chatBubbleIncomingColor":"#FFFAFAFA"

And use it in textviews/drawables like

            android:background="?chatBubbleOutgoingColor"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions