Skip to content

Commit

Permalink
fix(segmented-control-item): fix text color contrast (#8036)
Browse files Browse the repository at this point in the history
**Related Issue:** #7250

## Summary

✨👀👍✨
  • Loading branch information
jcfranco authored Oct 23, 2023
1 parent 0a0ff11 commit ede8c43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@
}

:host([checked]) label {
@apply bg-brand border-color-brand cursor-default;
color: theme("backgroundColor.background");
@apply bg-brand border-color-brand cursor-default text-color-inverse;
}

:host([checked]) .label--outline,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const fullWidthWithIcons = (): string => html`

export const darkThemeRTL_TestOnly = (): string => html`
<calcite-segmented-control
class="calcite-theme-dark"
class="calcite-mode-dark"
dir="rtl"
layout="${select("layout", ["horizontal", "vertical"], "horizontal")}"
appearance="${select("appearance", ["solid", "outline", "outline-fill"], "solid")}"
Expand Down

0 comments on commit ede8c43

Please sign in to comment.