-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify color namespace and update transformations to Figma and style …
…system outputs (#4654) * Modify token_export and token_import scripts to manage Github/Figma translation * Add grommet style-dictionary output * Modify CSS outputs to remove REST, DEFAULT * Update esm, cjs output values to be css variables * Remove DEFAULT, REST from grommet output references * Adjust jsonToNestedValue to remove DEFAULT, REST in esm, cjs, grommet outputs * Add transform for docs name to remove DEFAULT, REST * Dimension tokens to use same CSS transform group as other CSS outputs * Remove special characters to align with CSS spec * Uncomment sync_tokens_to_figma * Update design-tokens/src/token_import.ts * Add grommet export and update theme to accommodate new color structure * Create rare-needles-kiss.md
- Loading branch information
Showing
23 changed files
with
2,672 additions
and
1,796 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"hpe-design-tokens": minor | ||
--- | ||
|
||
- Added new export `hpe-design-tokens/grommet`. | ||
- Changed ESM/CommonJS exports to resolve to CSS variables rather than raw values. | ||
- Changed structure of "color" exports to flatten color name after the category (e.g., `hpe.color.background.selected.weak` --> `hpe.color.background['selected-weak']`). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.