-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Toaster): change spacing before actions (#1891)
- Loading branch information
Showing
6 changed files
with
116 additions
and
50 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
export const BUTTON_VIEWS = [ | ||
'normal', // Grey background, no border | ||
'action', // Branded background, no border | ||
'outlined', // No background, grey border | ||
'outlined-info', // No background, with info-type border color | ||
'outlined-success', // No background, with success-type border color | ||
'outlined-warning', // No background, with warning-type border color | ||
'outlined-danger', // No background, with danger-type border color | ||
'outlined-utility', // No background, with utility-type border color | ||
'outlined-action', // No background, with branded border color | ||
'raised', // With white background and shadow | ||
'flat', // No background, no border | ||
'flat-secondary', // No background, no border, secondary-type text color | ||
'flat-info', // No background, no border, info-type text color | ||
'flat-success', // No background, no border, success-type text color | ||
'flat-warning', // No background, no border, warning-type text color | ||
'flat-danger', // No background, no border, danger-type text color | ||
'flat-utility', // No background, no border, utility-type text color | ||
'flat-action', // No background, no border, branded text color | ||
'normal-contrast', // normal button appearance with contrast background | ||
'outlined-contrast', // outlined button appearance with contrast background | ||
'flat-contrast', // flat button appearance with contrast background | ||
] as const; |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
export const TOAST_THEMES = ['normal', 'info', 'success', 'warning', 'danger', 'utility'] as const; |
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