Commit Graph

7 Commits

Author SHA1 Message Date
Nathan Vasse
759b1d5e53 ♻️(tokens) export appropriate types
The previous version was hard coding tokens.
2025-09-23 15:58:43 +02:00
Nathan Panchout
afeddd5850 ♻️(tokens) refactor tokens architectures
Rework the way the object is structured.
2025-09-23 15:58:43 +02:00
Nathan Panchout
e24845b427 ♻️(tokens) improve tokens generation algo
This way the code is more readable, it makes easier the future
maintenability.
2025-09-23 15:58:43 +02:00
Nathan Panchout
146a8a20b3 ♻️(tokens) refactor tokens architectures
This commit introduces a significant refactor of the color and
typography tokens in the Cunningham package. The previous structure has
been replaced with a more comprehensive and organized format, including
new color definitions for branding, contextual backgrounds, and content.
Additionally, the font sizes, weights, and families have been updated to
align with the new design system. This change enhances the overall
maintainability and scalability of the token system.
2025-09-23 15:58:43 +02:00
Nathan Vasse
cce8eccf5b (theme) add themes management
This is made in order to be able to handle natively multiple themes
for the future light/dark themes and also allow consumers to create
their own.
2023-10-04 15:18:00 +02:00
Nathan Vasse
f36cc07f1b (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.
2023-07-07 15:06:18 +02:00
Nathan Vasse
67dd0048d0 ♻️(tokens) expose default tokens in a lib and various config
This allow to use the default tokens from Typescript or Javascript file
of dependents repos. For instance this wîll be used by packages/react
to aggregate components tokens files.
2023-01-11 11:01:56 +01:00