Skip to content

Commit

Permalink
ssd window fixes and some color fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce committed Oct 22, 2023
1 parent 9ebf525 commit 9f4b3e0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Helium/gtk-3.0/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4490,8 +4490,8 @@ decoration {
// just doing borders, wm draws actual shadows
$_ssd_wm_border: if($variant=='light', transparentize(black, 0.7), gtkshade($borders_color, 0.86));
$_ssd_wm_border_backdrop: if($variant=='light', transparentize(black, 0.8), gtkshade($borders_color, 0.7));
.ssd & { box-shadow: 0 0 0 1px $_ssd_wm_border; }
.ssd &:backdrop { box-shadow: 0 0 0 1px $_ssd_wm_border_backdrop; }
.ssd & { background: $headerbar_bg_color; box-shadow: 0 0 0 1px $_ssd_wm_border; }
.ssd &:backdrop { background: $headerbar_backdrop_color; box-shadow: 0 0 0 1px $_ssd_wm_border_backdrop; }
.ssd.maximized &,
.ssd.maximized &:backdrop { box-shadow: none; }

Expand Down
16 changes: 6 additions & 10 deletions Helium/gtk-3.0/_defaults.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

// The main accent color and the matching text value
@define-color accent_bg_color #{if($variant == 'dark', "#828292", "#2D2D2D")};
@define-color destructive_fg_color #{if($variant == 'dark', #151515, "white")};
@define-color accent_fg_color #{if($variant == 'dark', #151515, "white")};
@define-color accent_color #{if($variant == 'dark', "#828292", "#2D2D2D")};

// destructive-action buttons
Expand All @@ -20,17 +20,13 @@

// Levelbars, entries, labels and infobars. These don't need text colors
@define-color success_bg_color #{if($variant == 'dark', #9AE5A6, #49D05E)};
@define-color destructive_fg_color #{if($variant == 'dark', #151515, "white")};
@define-color success_fg_color #{if($variant == 'dark', #151515, "white")};
@define-color success_color #{if($variant == 'dark', #9AE5A6, #49D05E)};

@define-color warning_bg_color #{if($variant == 'dark', #FED97C, #E0A101)};
@define-color destructive_fg_color #{if($variant == 'dark', #151515, "white")};
@define-color warning_fg_color #{if($variant == 'dark', #151515, "white")};
@define-color warning_color #{if($variant == 'dark', #FED97C, #E0A101)};

@define-color destructive_bg_color #{if($variant == 'dark', #EA80A0, #DB2860)};
@define-color destructive_fg_color #{if($variant == 'dark', #151515, "white")};
@define-color destructive_bg_color #{if($variant == 'dark', #EA80A0, #DB2860)};

// Window
@define-color window_bg_color #{"" + if($variant == 'light', #ffffff, #151515)};
@define-color window_fg_color #{"" + if($variant == "light", #151515, #ffffff)};
Expand All @@ -44,13 +40,13 @@
@define-color headerbar_bg_color #{if($variant == 'light', #fafafa, #151515)};
@define-color headerbar_fg_color #{"" + if($variant == "light", #151515, #ffffff)};
@define-color headerbar_border_color #{if($variant == 'light', transparentize(black, .1), transparentize(white, .1))};
@define-color headerbar_backdrop_color #{if($variant == 'light', #f0f0f0, #151515)};
@define-color headerbar_backdrop_color #{if($variant == 'light', #f0f0f0, #2d2d2d)};
@define-color headerbar_shade_color #{if($variant == 'light', transparentize(black, .93), transparentize(black, .64))};

// Split pane views
@define-color sidebar_bg_color #{if($variant == 'light', #f2f2f2, #1f1f1f)};
@define-color sidebar_bg_color #{if($variant == 'light', #fafafa, #151515)};
@define-color sidebar_fg_color #{"" + if($variant == 'light', transparentize(black, .2), white)};
@define-color sidebar_backdrop_color #{if($variant == 'light', #ededed, #2d2d2d)};
@define-color sidebar_backdrop_color #{if($variant == 'light', #f0f0f0, #2d2d2d)};
@define-color sidebar_shade_color #{if($variant == 'light', transparentize(black, .93), transparentize(black, .64))};

// Cards, boxed lists
Expand Down

0 comments on commit 9f4b3e0

Please sign in to comment.