Skip to content

Commit

Permalink
Fix EuiListGroupItem default button color overriding parent style
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Feb 2, 2024
1 parent f67f5f0 commit a06ec83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src-docs/src/views/theme/color/_contrast_js.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ color: $\{euiTheme.colors.${foreground}};`;
color: foregroundColor,
borderRadius: euiTheme.border.radius.medium,
}}
// @ts-expect-error - this isn't a valid color type, we mostly just want to disable the default EUiListGroupItem button color from being rendered since we're setting our own via `style`
color="inherit"
label={sanitizeColorName(foreground)}
/>
)}
Expand Down

0 comments on commit a06ec83

Please sign in to comment.