Repository navigation
Closed
Labels
Description
Part of #9893
Related interaction pattern: #9898 (EuiTab)
Goal
Make interactive text read closer to body copy by default — less “everything is a blue link” — so primary CTAs stand out. Affordance stays clear on hover/focus. This is a global treatment (not table-scoped); denser surfaces like tables and grids benefit as a side effect.
Same idea as the tabs refresh: dark textParagraph at rest; primary blue when the control is “on” (tabs: selected; links: hover/focus).
Scope
EuiLink — default interaction
- At rest —
textParagraph(dark body text), not solid primary blue - Underline — dotted at rest
- Hover / focus — primary blue (
textPrimary); keep accessible focus ring - Semantic colors —
subdued,danger,success, etc. stay as intentional variants
Simplify color API
Today primary (always blue) and text (always paragraph) are two static paints. After this change they describe the same interactive default:
- Combine
textandprimaryinto one defaultcolorvalue whose behavior is paragraph at rest → primary on hover/focus - Deprecate or alias the redundant name so consumers aren’t choosing between two options that mean the same thing
- Open: keep the prop named
primary(familiar) vs rename the default (e.g.default/ omit) — pick one; don’t leave both as distinct looks
Related / follow-ons (optional slices)
- Transparent / quieter row backgrounds in BasicTable / DataGrid — still open (default flip vs
hasBackgroundopt-in); not blocked on the link restyle - Other “looks like a link but isn’t
EuiLink” surfaces — audit as they show up; preferEuiLinkor shared link CSS
Already shipped
- #9902 — quieter default row action / cell action icons (BasicTable + DataGrid); does not close this issue
Out of scope
- Token foundation (surfaces, radii, borders) — Token updates: surfaces, radii, borders, semantic spacing #9894 / [Theme tokens] Recessed/subdued surfaces + control/panel/frame radii #9903
- Typography body/title defaults — [Typography] Quieter default text, tighter EuiTitle tracking, align EuiText size with body #9901 / [Font styles] Quieter paragraph text + tighter EuiTitle tracking #9900
- Button pill / control radius wiring — [EuiButton][forms][EuiListGroupItem] Control radius (8px) #9896
- Tab label colors themselves — [EuiTab] Quieter labels, less inline padding #9898 (shared principle, separate PR)
Notes
- High consumer blast radius: default
EuiLinkiscolor="primary"everywhere. One deliberate default + VRT; not per-app forks. - Tables no longer need a special “cell link” exception if global
EuiLinkmatches the desired look. - Quieter links reserve blue for real CTAs and rare always-emphasized links (if we still need an always-blue escape hatch, make it explicit — not the default
primary/textsplit).
Activity
[-]EuiBasicTable / EuiDataGrid: quieter row chrome[/-][+]Quieter interactive text: EuiLink defaults (+ related chrome)[/+][-]Quieter interactive text: EuiLink defaults (+ related chrome)[/-][+]Interactive indicators: quieter EuiLink defaults & table action icons[/+][-]Interactive indicators: quieter EuiLink defaults & table action icons[/-][+][EuiLink][EuiBasicTable][EuiDataGrid] Quieter links & table action icons[/+][-][EuiLink][EuiBasicTable][EuiDataGrid] Quieter links & table action icons[/-][+][EuiLink][EuiBasicTable][EuiDataGrid] Quieter interactive elements[/+]