feat: add export format "Amazon Style Dictionary" #806
Labels
👩👧👦community feedback
🪩 🔥 🕺 cool topic
some relevant topics, that we even also need to report in different rounds / to stakeholders
Feature request
📝 Description
We maintain a separate design system with our own component library, and want to migrate to the new DB X tokens.
Our token management is based on Amazon Style Dictionary with our core tokens, semantic tokens and component tokens.
🧑🏫 Problem Statement
The Theme Builder export does not contain a
.json
export for the core and semantic tokens which are compatible with Style Dictionary.The other exports (CSS, Android, Utils, or WhiteLabelTheme.json) are not compatible.
🧑🔬 Possible Solution
The Builder could export additional files in the Style Dictionary format:
Where the
core-tokens/colors.json
could look like this:core-tokens/sizes.json
:semantic-tokens/colors.json
:semantic-tokens/colors-dark.json
:📝 Additional Information
We use Style Dictionary to generate theme definitions for tailwind, Chakra UI, Vanilla Extract and plain CSS.
These new export formats would help us to align with the DB X Design System mid to long term.
The text was updated successfully, but these errors were encountered: