Cyanea
Cyanea copied to clipboard
AddAttributes ?primaryTextColor ?primaryTextColorLight?primaryTextColorDark
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"
Its fine if i have to apply these attributes to every view i want to style,
I don't expect cyanea to read keys from json and assume what the color is and apply that to a view's text or bg etc