Skip to content

Commit

Permalink
Fixed #1006
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceliuice committed Feb 25, 2024
1 parent 7284ad0 commit 5a52172
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
13 changes: 13 additions & 0 deletions src/sass/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@
@return unquote("alpha(#{$c},#{$a})");
}

@function gtkmix($c1,$c2,$r) {
$ratio: 1 - $r / 100%; // match SCSS mix()
@return unquote("mix(#{$c1},#{$c2},#{$ratio})");
}

@function gtkshade($c,$s) {
@return unquote("shade(#{$c},#{$s})");
}

@function gtkcolor($c) {
@return unquote("@#{$c}");
}

// base options
@import 'theme-options-temp';
@import 'gtk-base-temp';
Expand Down
9 changes: 0 additions & 9 deletions src/sass/gtk/apps/_gnome-40.0.scss
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ $flap_sidebar_size: 240px;
min-height: 24px;
min-width: 24px;
padding: 0;
-gtk-icon-shadow: none;
@extend %selected-button;
}
}
Expand Down Expand Up @@ -1109,14 +1108,6 @@ scrolledwindow.fake-adw-status-page > viewport > box > clamp:not(:last-child) >
scrolledwindow.fake-adw-status-page > viewport > box > clamp > box > .icon:not(:last-child) { margin-bottom: $container_padding * 6; }
scrolledwindow.fake-adw-status-page > viewport > box > clamp > box > .title:not(:last-child) { margin-bottom: $container_padding * 2; }

statuspage.icon-dropshadow image.icon {
-gtk-icon-shadow: 0 1px 12px rgba(0,0,0,0.05),
0 -1px rgba(0,0,0,0.05),
1px 0 rgba(0,0,0,0.1),
0 1px rgba(0,0,0,0.3),
-1px 0 rgba(0,0,0,0.1);
}

window.info scrollbar.vertical {
margin-top: 48px;
background: none;
Expand Down

0 comments on commit 5a52172

Please sign in to comment.