Update _control-center.scss

This commit is contained in:
vinceliuice
2025-07-27 12:10:57 +08:00
parent a71fcfceec
commit 9bf9fc5a59

View File

@@ -25,9 +25,10 @@ preferencesgroup > box {
}
}
.cutout-button { background-color: $dialog_bg_color; }
.cutout-button {
background-color: $dialog_bg_color;
}
@if $gnome_version == 'new' {
button.accent-button {
min-height: 24px;
min-width: 24px;
@@ -38,9 +39,13 @@ preferencesgroup > box {
background-clip: content-box;
box-shadow: none;
&:hover { box-shadow: 0 0 0 3px $hover_color; }
&:hover {
box-shadow: 0 0 0 3px $hover_color;
}
&:checked { box-shadow: 0 0 0 3px $accent_color; }
&:checked {
box-shadow: 0 0 0 3px $accent_color;
}
&.blue, &.teal, &.green, &.yellow, &.orange, &.red, &.pink, &.purple, &.slate {
--accent-color: oklab(from var(--accent-bg-color) var(--standalone-color-oklab));
@@ -83,4 +88,3 @@ preferencesgroup > box {
}
}
}
}