Cyanea icon indicating copy to clipboard operation
Cyanea copied to clipboard

Ability to modify custom attributes

Open puregallery opened this issue 5 years ago • 4 comments

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

puregallery avatar Feb 24 '19 18:02 puregallery

Need info on this too

GilangJS avatar Mar 06 '19 04:03 GilangJS

Me too

manueldidonna avatar Mar 16 '19 17:03 manueldidonna

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

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

pchupik avatar Jun 11 '19 15:06 pchupik

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?

dphans avatar Dec 10 '19 07:12 dphans