mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
adjust SegmentedControl to use theme color
This commit is contained in:
@@ -1,3 +1,15 @@
|
||||
.root {
|
||||
background: var(--theme-colors-surface);
|
||||
}
|
||||
|
||||
.label {
|
||||
&[data-active='true'] {
|
||||
@mixin dark {
|
||||
background-color: lighten(var(--theme-colors-surface), 10%);
|
||||
}
|
||||
|
||||
@mixin light {
|
||||
background-color: darken(var(--theme-colors-surface), 10%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user