Open
Description
Expected behavior
Using CSS var() colors are the best practice to keep all components aligned with the same UI. Searching for the right color in the guidelines will be helpful for developers and designers so we can customize external components quicker.
Actual behavior
ECL color guidelines show the hexadecimal color code but not the CSS var() name. Impossible to know which var name is associated.
Steps to reproduce the issue
Visit the page:
https://ec.europa.eu/component-library/ec/guidelines/colours/
Find the color needed, inspect the element in the list. No var() name is declared or used. All colors are hardcoded in rgb format. The only way to know the CSS var() color associated is to copy the hexadecimal color, then go to the ecl-ec.css or ecl-eu.css an search by #hex code the variable associated.
Metadata
Metadata
Assignees
Labels
No labels
Activity