Skip to content

Commit

Permalink
chore: fix dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
waterplea committed Sep 9, 2024
1 parent 8a52c7e commit edb2d11
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions projects/kit/components/segmented/segmented.style.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
tui-segmented {
position: relative;
display: flex;
box-sizing: border-box;
isolation: isolate;
color: var(--tui-background-elevation-3);
color: var(--tui-background-base);
background: var(--tui-background-neutral-1);
overflow: hidden;

Expand Down Expand Up @@ -136,3 +134,8 @@ tui-segmented {
filter: drop-shadow(0 0.25rem 1.25rem rgb(0 0 0 / 10%));
}
}

[tuiTheme='dark'] tui-segmented,
tui-segmented[tuiTheme='dark'] {
--tui-background-base: var(--tui-background-neutral-1-hover);
}

0 comments on commit edb2d11

Please sign in to comment.