mirror of
https://github.com/jeffvli/feishin.git
synced 2026-12-05 16:22:27 -08:00
adjust SegmentedControl to use theme color
This commit is contained in:
1 parent
09dfc1ff1d
commit
868c64dda5
1 file changed
+12
@@ -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