Skip to content

Commit

Permalink
_functions.scss - new levels
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce authored Sep 3, 2023
1 parent 04131d3 commit c2acd8a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Helium/gtk-4.0/_functions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,14 @@
}

@function bg-color($level) {
// Two levels below
@if $level == -3 {
@return image($surface_lowest_bg_color);
// One level below
} @else if $level == -2 {
@return image($surface_low_bg_color);
// Inverted for OSD & Toasts
@if $level == -1 {
} @else if $level == -1 {
@return image($osd_bg_color);
// Views
} @else if $level == 0 {
Expand Down

0 comments on commit c2acd8a

Please sign in to comment.