(tokens) add token references

Previously we were not fully using CSS variables as values used in
CSS were hard-coded one. It wasn't keeping the variable references.
This was causing issues when customizing the theme, because editing
colors was not enough, it was needed to customize also the tokens
using these variables. Now by introducing ref() we can delegate how
to deal with these directly to the generators themselves.
This commit is contained in:
Nathan Vasse
2023-06-29 16:29:09 +02:00
committed by NathanVss
parent 6aca0a3d85
commit f36cc07f1b
20 changed files with 282 additions and 10 deletions

View File

@@ -0,0 +1,5 @@
---
"@openfun/cunningham-tokens": minor
---
add token references