-
Notifications
You must be signed in to change notification settings - Fork 839
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating Amsterdam colors to match brand (#4284)
* Updating Amsterdam colors to match brand * Updated dark colors too * Adding text button style to docs * Fixing text-selection and focus backgrounds * Style all disabled EuiButtons the same (non-fill)
- Loading branch information
Showing
14 changed files
with
126 additions
and
41 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
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,10 +1,27 @@ | ||
@import '../eui/eui_colors_dark.scss'; | ||
|
||
// Core | ||
$euiColorPrimary: #238CFF; | ||
$euiColorPrimary: #36A2EF; | ||
$euiColorSecondary: #7DDED8; | ||
$euiColorAccent: #F68FBE; | ||
|
||
// Status | ||
$euiColorSuccess: $euiColorSecondary; | ||
$euiColorWarning: #F3D371; | ||
$euiColorDanger: #F86B63; | ||
$euiColorDisabled: #515761; | ||
|
||
// Grays are the same | ||
|
||
// Backgrounds | ||
$euiColorHighlight: #2E2D25; | ||
|
||
// Contrasty text variants | ||
$euiColorPrimaryText: makeHighContrastColor($euiColorPrimary); | ||
|
||
$euiColorSecondaryText: makeHighContrastColor($euiColorSecondary); | ||
$euiColorAccentText: makeHighContrastColor($euiColorAccent); | ||
$euiColorWarningText: makeHighContrastColor($euiColorWarning); | ||
$euiColorDangerText: makeHighContrastColor($euiColorDanger); | ||
$euiColorDisabledText: makeDisabledContrastColor($euiColorDisabled); | ||
$euiColorSuccessText: $euiColorSecondaryText; | ||
$euiLinkColor: $euiColorPrimaryText; | ||
$euiFocusBackgroundColor: transparentize($euiColorPrimary, .8); |
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,15 +1,28 @@ | ||
// This extra import allows any variables that are created via functions to work when loaded into JS | ||
@import '../../global_styling/variables/colors'; | ||
|
||
$euiColorPrimary: #006DE4; | ||
$euiColorSecondary: #00BFB3; | ||
$euiColorAccent: #FC358E; | ||
// Core | ||
$euiColorPrimary: #07C; | ||
$euiColorSecondary: #00BFB3; | ||
$euiColorAccent: #F04E98; | ||
|
||
// Status | ||
$euiColorSuccess: $euiColorSecondary; | ||
$euiColorWarning: #FEC514; | ||
$euiColorDisabled: #ABB4C4; | ||
|
||
// Grays are the same | ||
|
||
// Backgrounds | ||
$euiPageBackgroundColor: tint($euiColorLightestShade, 50%); | ||
$euiColorHighlight: tint($euiColorWarning, 90%); | ||
|
||
// Contrasty text variants | ||
$euiTextSubduedColor: $euiColorDarkShade; | ||
$euiColorPrimaryText: makeHighContrastColor($euiColorPrimary); | ||
$euiColorSecondaryText: makeHighContrastColor($euiColorSecondary); | ||
$euiColorAccentText: makeHighContrastColor($euiColorAccent); | ||
|
||
$euiColorWarningText: makeHighContrastColor($euiColorWarning); | ||
$euiColorDisabledText: makeDisabledContrastColor($euiColorDisabled); | ||
$euiColorSuccessText: $euiColorSecondaryText; | ||
$euiLinkColor: $euiColorPrimaryText; | ||
$euiFocusBackgroundColor: transparentize($euiColorPrimary, .8); |
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
3 changes: 2 additions & 1 deletion
3
src/themes/eui-amsterdam/global_styling/variables/_buttons.scss
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,2 +1,3 @@ | ||
$euiButtonColorDisabled: tintOrShade($euiTextColor, 75%, 70%); | ||
$euiButtonColorDisabled: $euiColorDisabled; | ||
$euiButtonColorDisabledText: $euiColorDisabledText; | ||
$euiButtonDefaultTransparency: .8; |
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