Color

Component ID

1665566

Component name

Color

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Scope

Create a module that adds an easy possibility to color elements. As we know it might be quite hard or even impossible in some cases to add a custom color to a view row based on a custom field created to host the color hash (for example some custom color for the title added on creation point). In order to do this, one would have to rewrite the output of the desired row and wrap a div around it and set a custom style attribute that would get the value from the text field that contains the color definition. This won’t be normally possible for security considerations even if you use full html. And is also not nice.
The nice and correct thing would be to have a css class dynamically created from our color that adds the correct color to that field/title/row/whatever. Adding a class to a rewritten field in views is not a problem so this should be the way.

This module will try to add the possibility for user to define and easily use color fields and for module to create custom colors dynamically without having to take care of css.

Development state:

Incipient.

Click here for a more detailed description of this module.

Please add some feature suggestions if you have something in mind!