This commit is contained in:
Vince 2021-07-19 23:18:42 +08:00
parent 426f8911d9
commit 50c1b9b2c6

View file

@ -161,13 +161,22 @@ $panel_bg: if($variant == 'light', #f1f1f1, #2a2a2a);
@if $trans == 'true' { @if $trans == 'true' {
$panel_bg: if($variant == 'light', rgba(white, $panel_opacity/2 + 0.08), rgba(black, $panel_opacity)); $panel_bg: if($variant == 'light', rgba(white, $panel_opacity/2 + 0.08), rgba(black, $panel_opacity));
@if $panel_font == 'black' {
$panel_bg: if($variant == 'light', rgba(white, $panel_opacity/2 + 0.08), rgba(black, $panel_opacity/2));
}
} }
$panel_fg: if($trans == 'true' and $panel_font == 'white', $light_fg_color, $text_color); $panel_fg: if($trans == 'true' and $panel_font == 'white', $light_fg_color, $text_color);
$panel_track: if($trans == 'false' or $panel_font == 'black' and $variant == 'light', rgba(black, 0.15), rgba(white, 0.28)); $panel_track: if($trans == 'false' or $panel_font == 'black' and $variant == 'light', rgba(black, 0.15), rgba(white, 0.28));
$panel_divider: if($trans == 'false' or $panel_font == 'black' and $variant == 'light', rgba(black, 0.08), rgba(white, 0.15)); $panel_divider: if($trans == 'false' or $panel_font == 'black' and $variant == 'light', rgba(black, 0.08), rgba(white, 0.15));
$dash_bg: if($variant == 'light', rgba(#d1d1d1, $panel_opacity + 0.33), rgba(#222222, $panel_opacity/2 + 0.6)); $dash_bg: if($variant == 'light', rgba(#d1d1d1, $panel_opacity + 0.33), rgba(#222222, $panel_opacity/2 + 0.6));
@if $trans == 'true' and $panel_font == 'black' {
$dash_bg: if($variant == 'light', rgba(#d1d1d1, $panel_opacity/2 + 0.08), rgba(#222222, $panel_opacity + 0.15));
}
$dash_fg: if($variant == 'light', black, white); $dash_fg: if($variant == 'light', black, white);
// Entry colors // Entry colors