We should continue to abstract out CSS Variables including type, and colors.

As we abstract the colors, we should keep in mind that we hope to enable color changing in the future.

Here are some other ieas: body-font-size, body-font-color, default-bg_color, bg-disabled, ...

Comments

DuneBL created an issue. See original summary.

mherchel’s picture

Title: Creating meta variables (css) to help people to understand how the theme is constructed » Abstract CSS Variables to help people to understand how the theme is constructed
Project: Olivero » Drupal core
Version: » 9.1.x-dev
Component: Code » Olivero theme
Issue summary: View changes
Priority: Normal » Major
Issue tags: +CSS
mherchel’s picture

Title: Abstract CSS Variables to help people to understand how the theme is constructed » Abstract Olivero's CSS Variables to help people to understand how the theme is constructed
gauravvvv’s picture

Can we create documentation for the same?
Which includes the structure of Olivero as well as variables and their usage.

mherchel’s picture

Priority: Major » Minor
Status: Active » Closed (won't fix)

Closing this as won't fix. We have an issue for documentation.