Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve design tokens #276

Open
jbpenrath opened this issue Feb 22, 2024 · 0 comments
Open

Improve design tokens #276

jbpenrath opened this issue Feb 22, 2024 · 0 comments

Comments

@jbpenrath
Copy link
Member

Currently, design tokens are not really exhaustive and some customization are limited by this exhaustive weakness.

IMO, this world could be split in several parts:

  1. First check component tokens consistency, identify weaknesses and add missing tokens
  2. Then we should wonder if we could benefit to add a new design token layer between global and component layers.
  • Global tokens --font-family-accent: 'Comic Sans MS'
  • Contextual tokens --title-font-family: var(--font-family-accent)
  • Component tokens --form-input-label-font-family: var(--title-font-family)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant