Ability to modify custom attributes
puregallery opened this issue · 4 comments
puregallery commented
I have a few custom attributes in my app to handle some colors...Is support for this possible?
GilangJS commented
Need info on this too
manueldidonna commented
Me too
pchupik commented
Is there a way to add more colors, when those below are not enough?
- ?colorPrimary
- ?colorPrimaryDark
- ?colorAccent
- ?backgroundColor
- ?backgroundColorDark
- ?backgroundColorLight
- ?menuIconColor
- ?subMenuIconColor
dphans commented
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?