Skip to content

Commit

Permalink
Fix contrasts
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce committed Aug 4, 2024
1 parent c289a12 commit 6ab8598
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions Helium/gtk-4.0/_tauos.scss
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,9 @@ $colors: (

.fill-button.#{$name} {
background: $color;
color: $surface_bg_color;
color: $accent_fg_color;

&:hover {
color: $surface_bg_color;
background: if(
$variant == "light",
gtkshade($color, 1.1),
Expand All @@ -306,7 +305,6 @@ $colors: (
}

&:active {
color: $surface_bg_color;
background: if(
$variant == "light",
gtkshade($color, 1.2),
Expand All @@ -317,7 +315,7 @@ $colors: (

.tint-button.#{$name} {
background: gtkmix($color, $suggested_container_bg_color, 0.5);
color: gtkmix($color, $suggested_fg_color, 0.66);
color: $suggested_container_fg_color;

&:hover {
background: state-color(
Expand All @@ -339,7 +337,7 @@ $colors: (
.outline-button.#{$name} {
background: transparent;
box-shadow: inset 0 0 0 px-to-rem(1px) gtkalpha($color, 0.5);
color: gtkmix($color, $view_fg_color, 0.66);
color: $accent_fg_color;

&:hover {
background: gtkalpha($color, 0.2);
Expand All @@ -352,7 +350,7 @@ $colors: (

.textual-button.#{$name} {
background: transparent;
color: gtkmix($color, $view_fg_color, 0.66);
color: $color;

&:hover {
background: gtkalpha($color, 0.1);
Expand Down Expand Up @@ -381,7 +379,7 @@ $colors: (

.pill-button.#{$name} {
background: $color;
color: $surface_bg_color;
color: $accent_fg_color;

&:hover {
background: if(
Expand All @@ -407,7 +405,7 @@ $colors: (

.modifier-badge.#{$name} {
background: $color;
color: $surface_bg_color;
color: $accent_fg_color;
}

.tint-badge.#{$name} {
Expand Down

0 comments on commit 6ab8598

Please sign in to comment.