Closed knickers closed 2 years ago
I indended the background-* classes as very basic modifiers to overwrite your background as a whole for any UI element. That's why I used "background" rather than "background-color" and also added "!important".
I do not recommend using the background-* classes to build your own custom layout for buttons, labels, panels or other UI elements.
If you want to use custom styling, I recommend you build your own color schemes / themes either by replacing the colors.css module with your own version, by overwriting the colors.css module with custom styling or by creating your own custom styling from scratch and ignoring the colors.css module entirely.
If you want to build your own own color schemes / themes based on the colors.css module, feel free to submit them to the project as an alternative to the default color scheme / theme.
@knickers :
As Cascade Framework is currently being rewritten in Sass, your changes might become relevant after all, as they could make sense at a "placeholder" level. I'll look into them and see if it makes sense to include your changes in Cascade Framework 2.
This way they can be used at the same time as other classes, like gradient, to make even more fancy things.
I also edited the .min files. I don't know how you usually compile those, so go ahead and ignore them if they interfere with your method.