Global colour names
The global colour palette allows us to set 8 colours which can be used in the theme customiser. The front-end then styles those global colours as:
`has-wpbf-palette-color-1-color`, `has-wpbf-palette-color-2-color`, etc.
It would be useful if we could assign names to the colours under `Theme > Settings` so we could end up with something like this:
`has-wpbf-palette-atlantic-blue-color`, `has-wpbf-palette-robust-red-color`, etc.
One thought on “Global colour names”
Leave a Reply
One thought on “Global colour names”
-
I like that idea!
The mentioned naming scheme is required to work with Gutenberg though, so we would basically end up with 2 classes doing the same thing which isn’t a problem.
Names are already planned for the colors and adding respective CSS classes makes perfect sense.
Thank you for your suggestion, Ivan!
Marking this as “Planned”.
Comments are closed.

I like that idea!
The mentioned naming scheme is required to work with Gutenberg though, so we would basically end up with 2 classes doing the same thing which isn’t a problem.
Names are already planned for the colors and adding respective CSS classes makes perfect sense.
Thank you for your suggestion, Ivan!
Marking this as “Planned”.