This commit is contained in:
vinceliuice
2025-01-11 18:38:12 +08:00
parent ace860be57
commit 57419ecc86
2 changed files with 8 additions and 3 deletions

View File

@@ -1,11 +1,8 @@
$primary-text: $white;
@if $gnome_version == 'new' and $colortype == 'system' { @if $gnome_version == 'new' and $colortype == 'system' {
$primary: -st-accent-color; $primary: -st-accent-color;
$indicator: -st-accent-color; $indicator: -st-accent-color;
$inverse-indicator: -st-accent-color; $inverse-indicator: -st-accent-color;
} @else {
$primary-text: on($primary);
} }
@import 'common/a11y'; @import 'common/a11y';

View File

@@ -1,5 +1,13 @@
/* Buttons */ /* Buttons */
$primary-text: $white;
@if $gnome_version == 'new' and $colortype == 'system' {
$primary-text: $white;
} @else {
$primary-text: on($primary);
}
%button { %button {
@include button(normal); @include button(normal);
&:focus { @include button(focus); } &:focus { @include button(focus); }