mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2026-06-19 17:19:53 +00:00
Add options for panel size
This commit is contained in:
@@ -168,8 +168,8 @@ $panel_bg: if($variant == 'light', #f1f1f1, #2a2a2a);
|
||||
}
|
||||
|
||||
$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_divider: if($trans == 'false' or $panel_font == 'black' and $variant == 'light', rgba(black, 0.08), rgba(white, 0.15));
|
||||
$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));
|
||||
|
||||
$dash_bg: if($variant == 'light', rgba(#d1d1d1, $panel_opacity + 0.33), rgba(#222222, $panel_opacity/2 + 0.6));
|
||||
|
||||
|
||||
@@ -23,5 +23,8 @@ $max_window_style: 'square';
|
||||
// Panel font color
|
||||
$panel_font: 'white';
|
||||
|
||||
// Panel height size
|
||||
$panel_size: 'default';
|
||||
|
||||
// Monterey style
|
||||
$monterey: 'false';
|
||||
|
||||
@@ -1,10 +1,20 @@
|
||||
/* Top Bar */
|
||||
// a.k.a. the panel
|
||||
|
||||
$panel_height: $menuitem_size;
|
||||
|
||||
@if $panel_size == 'smaller' {
|
||||
$panel_height: $menuitem_size - 4px;
|
||||
}
|
||||
|
||||
@if $panel_size == 'bigger' {
|
||||
$panel_height: $menuitem_size + 4px;
|
||||
}
|
||||
|
||||
#panel {
|
||||
background-color: $panel_bg;
|
||||
font-weight: normal;
|
||||
height: $menuitem_size - 4px !important;
|
||||
height: $panel_height !important;
|
||||
box-shadow: 0 5px 16px rgba(black, 0.05);
|
||||
color: $panel_fg;
|
||||
font-feature-settings: "tnum";
|
||||
|
||||
Reference in New Issue
Block a user