-
Notifications
You must be signed in to change notification settings - Fork 841
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[EuiIcon, EuiButtonIcon] Improved contrast for named colors (#4049)
* Improved constrast for icons named colors * Changelog * Improved contrast only for EuiHealth named colors * Fixing button icon color * Icons colors with graphic contrast levels. Button icon colors with text contrast levels. * CL and snapshots * reverting euiHealth code to use euiIcon color prop * Reverting euiHealth code * Better CL
- Loading branch information
1 parent
c94385e
commit 4ed1089
Showing
10 changed files
with
99 additions
and
73 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ import { | |
const colors = [ | ||
'primary', | ||
'text', | ||
'accent', | ||
'subdued', | ||
'success', | ||
'warning', | ||
|
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,11 +1,12 @@ | ||
// Modifier naming and colors. | ||
$euiButtonIconTypes: ( | ||
danger: $euiColorDanger, | ||
accent: $euiColorAccentText, | ||
danger: $euiColorDangerText, | ||
disabled: $euiButtonColorDisabledText, | ||
ghost: $euiColorGhost, | ||
primary: $euiColorPrimary, | ||
primary: $euiColorPrimaryText, | ||
subdued: $euiTextSubduedColor, | ||
success: $euiColorSuccess, | ||
success: $euiColorSuccessText, | ||
text: $euiTextColor, | ||
warning: $euiColorWarning, | ||
warning: $euiColorWarningText, | ||
); |
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