Update option buttons text color

This commit is contained in:
Piotr Osiewicz 2023-08-14 12:35:33 +02:00
parent ae229d4c52
commit 9ae28f81c1

View File

@ -43,7 +43,7 @@ export default function search(): any {
option_button: toggleable({
base: interactive({
base: {
...text(theme.highest, "mono", "on"),
...text(theme.highest, "mono", "variant"),
background: background(theme.highest, "on"),
corner_radius: 2,
margin: { right: 2 },
@ -59,14 +59,14 @@ export default function search(): any {
},
state: {
hovered: {
...text(theme.highest, "mono", "on", "hovered"),
...text(theme.highest, "mono", "variant", "hovered"),
background: background(theme.highest, "on", "hovered"),
border: {
width: 1., color: background(theme.highest, "on", "hovered")
},
},
clicked: {
...text(theme.highest, "mono", "on", "pressed"),
...text(theme.highest, "mono", "variant", "pressed"),
background: background(theme.highest, "on", "pressed"),
border: {
width: 1., color: background(theme.highest, "on", "pressed")