define color palette in less files

Asked by David Lyle

I would like to propose extracting all the color references in the less files that are hard-coded and pull them out into a color-palette.less file that is loaded by the other less files and use the colors by @background-color type references. Is there any concerns or objections to this approach?
I believe this would make customizing the color palette for branding purposesmuch simpler. Also adding new widgets would be simpler and more consistent without having to track down hard-coded color references.

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Dashboard (Horizon) Edit question
Assignee:
No assignee Edit question
Solved by:
John Postlethwait
Solved:
Last query:
Last reply:
Revision history for this message
Best John Postlethwait (john-postlethwait) said :
#1

I don't think anyone would complain about that happening - it is a great idea! I am pretty sure this has been requested before, just never had the work done/blueprint created for it...

Revision history for this message
David Lyle (david-lyle) said :
#2

Thanks John Postlethwait, that solved my question.