Skip to content

Commit

Permalink
Update #1127
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceliuice committed Sep 12, 2024
1 parent 01229b5 commit ec179b2
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions src/sass/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,13 @@ $dark_sidebar_fg: $text_color;
$dark_sidebar_border: if($variant == 'light', $solid_borders_color, $header_border);
$sidebar_theme_color: if($variant == 'light', rgba(black, 0.12), rgba(white, 0.12));

//dialog
$dialog_bg_color: if($variant == 'light', $bg_color, $base_color);

@if $trans=='true' {
$dialog_bg_color: if($variant == 'light', rgba($bg_color, $opacity), rgba($base_color, $opacity));
}

//OSD colors
$osd_fg_color: if($colorscheme == 'nord', #dadada, #d3d7df);
$osd_bg_color: if($trans == 'true', rgba(if($darker == 'true', #1a1a1a, #2a2a2a), $opacity), if($darker == 'true', #1a1a1a, #2a2a2a));
Expand All @@ -197,14 +204,10 @@ $osd_borders_color: $dark_borders_color;
$menu_bg: if($variant == 'light', $base_color, $bg_color);
$menu_bd: if($variant == 'light', rgba(black, 0.08), rgba(white, 0.07));

@if $trans == 'true' {
$menu_bg: if($variant == 'light', rgba($base_color, $opacity), rgba($bg_color, $opacity));
}
$menu_opacity: 0.96;

$dialog_bg_color: if($variant == 'light', $bg_color, $base_color);

@if $trans=='true' {
$dialog_bg_color: if($variant == 'light', rgba($bg_color, $opacity), rgba($base_color, $opacity));
@if $trans == 'true' {
$menu_bg: if($variant == 'light', rgba($base_color, $menu_opacity), rgba($bg_color, $menu_opacity));
}

$submenu_bg_color: if($variant == 'light', rgba(white, 1), rgba(white, 0.1));
Expand Down Expand Up @@ -273,9 +276,11 @@ $entry_highlight: rgba($selection_mode_bg, 0.75);

// Button colors
$button_bg: if($variant == 'light', white, #656565);

@if $colorscheme == 'nord' {
$button_bg: if($variant == 'light', #fbfcfd, #556075);
}

$button_border: $borders_color;

// Button borders and highlights colors
Expand Down

0 comments on commit ec179b2

Please sign in to comment.