-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cli): ✨ Add option for defining theme name (#2374)
resolves #2334 - Added new option to `--theme` to cli for defining theme name. - Will add new theme or overwrite existing theme. - Added new script in cli (`update:template`) for updating template files from our "master" `design-tokens` in root. - Added textfield in theme-builder tokens modal for defining theme name. - Not a fan of having code, but commented our template generation for `$metadata` and `$themes` as this is an internal improvement that can be done later. - Some updates to components used in theme-builder to get desired user interface.
- Loading branch information
Showing
20 changed files
with
3,337 additions
and
86 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
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
} | ||
|
||
.snippet { | ||
max-height: 350px; | ||
max-height: 250px; | ||
overflow: auto; | ||
} | ||
|
||
|
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
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
packages/cli/src/tokens/design-tokens/default/Figma/components.json
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,22 @@ | ||
{ | ||
"switch": { | ||
"circle": { | ||
"small": { | ||
"$type": "sizing", | ||
"$value": "{sizing.5} - {switch.border}" | ||
}, | ||
"medium": { | ||
"$type": "sizing", | ||
"$value": "{sizing.6} - {switch.border}" | ||
}, | ||
"large": { | ||
"$type": "sizing", | ||
"$value": "{sizing.7} - {switch.border}" | ||
} | ||
}, | ||
"border": { | ||
"$type": "sizing", | ||
"$value": "4" | ||
} | ||
} | ||
} |
Oops, something went wrong.