-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from tokens-studio/add-enums
Add enums for complex token types
- Loading branch information
Showing
5 changed files
with
34 additions
and
0 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,5 @@ | ||
--- | ||
'@tokens-studio/types': patch | ||
--- | ||
|
||
Add enums for complex token values |
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,5 @@ | ||
export enum BorderValues { | ||
BORDER_COLOR = 'color', | ||
BORDER_WIDTH = 'width', | ||
BORDER_STYLE = 'style', | ||
} |
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,9 @@ | ||
export enum BoxShadowValues { | ||
TYPE = 'type', | ||
COLOR = 'color', | ||
X = 'x', | ||
Y = 'y', | ||
BLUR = 'blur', | ||
SPREAD = 'spread', | ||
BLEND_MODE = 'blendMode', | ||
} |
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,11 @@ | ||
export enum TypographyValues { | ||
FONT_FAMILY = 'fontFamily', | ||
FONT_WEIGHT = 'fontWeight', | ||
LINE_HEIGHT = 'lineHeight', | ||
FONT_SIZE = 'fontSize', | ||
LETTER_SPACING = 'letterSpacing', | ||
PARAGRAPH_SPACING = 'paragraphSpacing', | ||
PARAGRAPH_INDENT = 'paragraphIndent', | ||
TEXT_DECORATION = 'textDecoration', | ||
TEXT_CASE = 'textCase', | ||
} |
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