Update toggle active styles

This commit is contained in:
Nate Butler
2023-06-21 13:56:27 -04:00
parent 127f4aa506
commit ed8bdd186e
9 changed files with 126 additions and 47 deletions
+18 -9
View File
@@ -56,18 +56,24 @@ export default function editor(colorScheme: ColorScheme) {
color: foreground(layer, "variant"),
},
state: {
clicked: {
color: foreground(layer, "base"),
},
hovered: {
color: foreground(layer, "on"),
color: foreground(layer, "variant", "hovered"),
},
clicked: {
color: foreground(layer, "variant", "pressed"),
},
},
}),
state: {
active: {
default: {
color: foreground(layer, "on"),
color: foreground(layer, "accent"),
},
hovered: {
color: foreground(layer, "accent", "hovered"),
},
clicked: {
color: foreground(layer, "accent", "pressed"),
},
}
}
@@ -87,18 +93,21 @@ export default function editor(colorScheme: ColorScheme) {
color: foreground(layer, "variant"),
},
state: {
clicked: {
color: foreground(layer, "base"),
},
hovered: {
color: foreground(layer, "on"),
},
clicked: {
color: foreground(layer, "base"),
},
},
}),
state: {
active: {
default: {
color: foreground(layer, "on"),
color: foreground(layer, "default"),
},
hovered: {
color: foreground(layer, "variant"),
},
}
}