Skip to content

Commit

Permalink
[Visual Refresh] Set darker shade for subdued text (#8224)
Browse files Browse the repository at this point in the history
Co-authored-by: Lene Gadewoll <[email protected]>
  • Loading branch information
ryankeairns and mgadewoll authored Dec 12, 2024
1 parent d751213 commit 04e5d78
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
"euiColorHighlight": "#E8F1FF",
"euiTextColor": "#1D2A3E",
"euiTitleColor": "#111C2C",
"euiTextSubduedColor": "#5A6D8C",
"euiTextSubduedColor": "#516381",
"euiColorDisabled": "#E3E8F2",
"euiColorPrimaryText": "#1750BA",
"euiColorSuccessText": "#09724D",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ $euiColorBackgroundFilledText: $euiColorShade90 !default;
// Texts (legacy)
$euiTextColor: $euiColorShade130 !default;
$euiTitleColor: $euiColorShade140 !default;
$euiTextSubduedColor: $euiColorShade90 !default;
$euiTextSubduedColor: $euiColorShade95 !default;
$euiColorDisabled: $euiColorBackgroundBaseDisabled !default;
$euiColorDisabledText: $euiColorShade70 !default;
$euiLinkColor: $euiColorPrimary100 !default;

// Texts
$euiColorTextParagraph: $euiColorShade130 !default;
$euiColorTextHeading: $euiColorShade140 !default;
$euiColorTextSubdued: $euiColorShade90 !default;
$euiColorTextSubdued: $euiColorShade95 !default;
$euiColorTextDisabled: $euiColorShade70 !default;
$euiColorTextInverse: $euiColorPlainLight !default;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ export const text_colors: _EuiThemeTextColors = {
/* Legacy colors */
text: SEMANTIC_COLORS.shade130,
title: SEMANTIC_COLORS.shade140,
subduedText: SEMANTIC_COLORS.shade90,
subduedText: SEMANTIC_COLORS.shade95,
link: SEMANTIC_COLORS.primary100,

/* New colors */
textParagraph: SEMANTIC_COLORS.shade130,
textHeading: SEMANTIC_COLORS.shade140,
textSubdued: SEMANTIC_COLORS.shade90,
textSubdued: SEMANTIC_COLORS.shade95,
textDisabled: SEMANTIC_COLORS.shade70,
textInverse: SEMANTIC_COLORS.plainLight,
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
"euiColorHighlight": "#E8F1FF",
"euiTextColor": "#1D2A3E",
"euiTitleColor": "#111C2C",
"euiTextSubduedColor": "#5A6D8C",
"euiTextSubduedColor": "#516381",
"euiColorDisabled": "#E3E8F2",
"euiColorPrimaryText": "#1750BA",
"euiColorSuccessText": "#09724D",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const euiBreadcrumbContentStyles = (euiThemeContext: UseEuiTheme) => {
/* TODO: Remove this ':not()' selector and simply have this be
baseline CSS once the 'color' prop is removed */
&:not(.euiLink) {
color: ${euiTheme.colors.subduedText};
color: ${euiTheme.colors.textSubdued};
}
`,

Expand Down

0 comments on commit 04e5d78

Please sign in to comment.