This commit is contained in:
Vince 2021-04-13 20:33:10 +08:00
parent 0ecb9adfef
commit 52a7a222de
2 changed files with 6 additions and 5 deletions

View File

@ -236,7 +236,7 @@
} }
@if $t == flat-normal { @if $t == flat-normal {
color: if($tc != $light_fg_color, $alt_fg_color, $light_fg_color); color: $tc;
background-color: transparent; background-color: transparent;
border-color: transparent; border-color: transparent;
box-shadow: none; box-shadow: none;
@ -245,7 +245,7 @@
} }
@if $t == flat-focus { @if $t == flat-focus {
color: if($tc != $light_fg_color, $fg_color, $light_fg_color); color: $tc;
text-shadow: none; text-shadow: none;
icon-shadow: none; icon-shadow: none;
box-shadow: none; box-shadow: none;
@ -253,7 +253,7 @@
} }
@if $t == flat-hover { @if $t == flat-hover {
color: if($tc != $light_fg_color, $fg_color, $light_fg_color); color: $tc;
background-color: $divider_color; background-color: $divider_color;
border-color: transparent; border-color: transparent;
box-shadow: none; box-shadow: none;
@ -262,7 +262,7 @@
} }
@if $t == flat-active { @if $t == flat-active {
color: if($tc != $light_fg_color, $fg_color, $light_fg_color); color: $tc;
background-color: $track_color; background-color: $track_color;
border-color: transparent; border-color: transparent;
box-shadow: none; box-shadow: none;
@ -271,7 +271,7 @@
} }
@if $t == flat-insensitive { @if $t == flat-insensitive {
color: if($tc != $light_fg_color, $disabled_fg_color, $light_alt_disabled_fg_color); color: if($tc == $fg_color, $disabled_fg_color, $tc);
background-color: transparent; background-color: transparent;
border-color: transparent; border-color: transparent;
box-shadow: none; box-shadow: none;

View File

@ -61,6 +61,7 @@
height: 32px; height: 32px;
border: none; border: none;
background-color: rgba($borders_color, 0.1); background-color: rgba($borders_color, 0.1);
color: $light_fg_color;
StIcon { icon-size: 16px; } StIcon { icon-size: 16px; }
} }