jaredrummler/Cyanea

Ability to modify custom attributes

puregallery opened this issue · 4 comments

I have a few custom attributes in my app to handle some colors...Is support for this possible?

Need info on this too

Me too

Is there a way to add more colors, when those below are not enough?

  • ?colorPrimary
  • ?colorPrimaryDark
  • ?colorAccent
  • ?backgroundColor
  • ?backgroundColorDark
  • ?backgroundColorLight
  • ?menuIconColor
  • ?subMenuIconColor

Me too, for example: I need to custom border color for dark/light theme. With new dark mode, I can do it with:

value/colors.xml

<color name="colorBorder">#EBEEF5</color>

value-night/colors.xml

<color name="colorBorder">#303133</color>

So I can use @color/colorBorder preference and it will switch automatically when user enter dark theme. How can I do with this library?