-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Eszter Hofmann
committed
Jan 27, 2020
1 parent
ce2f7a3
commit 87b169e
Showing
7 changed files
with
18 additions
and
22 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
export const VALIDATION_CONTEXTS = ['good', 'warning', 'bad'] as const; | ||
|
||
export const CONTEXTS = [ | ||
'neutral', | ||
'brand', | ||
'primary', | ||
'accent', | ||
'info', | ||
'good', | ||
'warning', | ||
'bad', | ||
...VALIDATION_CONTEXTS, | ||
] as const; | ||
|
||
export const SIZES = ['small', 'normal', 'large'] as const; | ||
export const HEADING_SIZES = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'] as const; | ||
export const CHECKBOX_VIEWBOX = [0, 0, 10, 10] as const; | ||
|
||
export type ValidationContext = typeof VALIDATION_CONTEXTS[number]; | ||
export type Context = typeof CONTEXTS[number]; | ||
export type Size = typeof SIZES[number]; |
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