In Theme Customizations & Improvements (Classic), we added the option to heavily customize the Classic Theme in a way that it could become a multi-purpose theme to serve different vertical solutions through light skinning.
To make those changes actually useful, and pave the road for a more ambitious Style Editor work, we need to add some initial infrastructure to make those settings usable.
The goal of this epic is to create the APIs and basic infrastructure to define and configure design tokens on a theme level and on a per-instance/site basis.
- An API to retrieve design token definitions from a theme
- An API to write design token values as CSS variables in the generated HTML
- Documented definition of the tokens