Skip to content

Commit

Permalink
Set darker shade for subdued text
Browse files Browse the repository at this point in the history
  • Loading branch information
ryankeairns committed Dec 11, 2024
1 parent b7a7220 commit 9530eea
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
"euiColorHighlight": "#E5F3FF",
"euiTextColor": "#172336",
"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 @@ -68,15 +68,15 @@ $euiColorBackgroundFilledText: $euiColorShade90 !default;
// Texts (legacy)
$euiTextColor: $euiColorShade135 !default;
$euiTitleColor: $euiColorShade140 !default;
$euiTextSubduedColor: $euiColorShade90 !default;
$euiTextSubduedColor: $euiColorShade95 !default;
$euiColorDisabled: $euiColorBackgroundBaseDisabled !default;
$euiColorDisabledText: $euiColorShade70 !default;
$euiLinkColor: $euiColorPrimary100 !default;

// Texts
$euiColorTextParagraph: $euiColorShade135 !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.shade135,
title: SEMANTIC_COLORS.shade140,
subduedText: SEMANTIC_COLORS.shade90,
subduedText: SEMANTIC_COLORS.shade95,
link: SEMANTIC_COLORS.primary100,

/* New colors */
textParagraph: SEMANTIC_COLORS.shade135,
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 @@ -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 9530eea

Please sign in to comment.