style: Fix incorrect light scheme color issues in app folder and screenshot ui

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2823>
This commit is contained in:
Sam Hewitt 2023-07-05 14:13:39 -02:30 committed by Marge Bot
parent a466029374
commit b6bcb31d77
4 changed files with 10 additions and 10 deletions

View File

@ -210,8 +210,8 @@
// insensitive button // insensitive button
@else if $t==insensitive { @else if $t==insensitive {
color: transparentize($tc, 0.5); background-color: if($variant == 'light', transparentize($tc, .9), transparentize($tc, .95));
background-color: transparentize($tc, .95); color: if($variant == 'light', transparentize($tc, .6), transparentize($tc, .5));
} }
// default/suggested button // default/suggested button
@ -245,7 +245,6 @@
&:insensitive { &:insensitive {
@include button(insensitive); @include button(insensitive);
background-color: transparent; background-color: transparent;
color: transparentize($selected_fg_color, .5);
} }
} }
} }

View File

@ -40,9 +40,9 @@ $app_icon_size: 96px;
// expanded folder // expanded folder
.app-folder-dialog { .app-folder-dialog {
border-radius: $modal_radius*4; border-radius: $modal_radius*4;
background-color: $bg_color; background-color: $system_overlay_bg_color;
padding: $base_padding*2; padding: $base_padding*2;
box-shadow:inset 0 0 0 1px $outer_borders_color; box-shadow:inset 0 0 0 1px $system_borders_color;
@if $is_highcontrast { @if $is_highcontrast {
box-shadow:inset 0 0 0 2px $hc_inset_color; box-shadow:inset 0 0 0 2px $hc_inset_color;
@ -59,6 +59,7 @@ $app_icon_size: 96px;
& .folder-name-entry { & .folder-name-entry {
width: 12em; width: 12em;
color: $system_fg_color !important;
} }
/* FIXME: this is to keep the label in sync with the entry */ /* FIXME: this is to keep the label in sync with the entry */

View File

@ -83,7 +83,7 @@ $screenshot_ui_button_red: $error_color;
} }
.screenshot-ui-shot-cast-container { .screenshot-ui-shot-cast-container {
background-color: lighten($osd_bg_color,5%); background-color: transparentize($osd_fg_color,0.9);
border-radius: $modal_radius; border-radius: $modal_radius;
padding: $screenshot_ui_shot_cast_spacing; padding: $screenshot_ui_shot_cast_spacing;
spacing: $screenshot_ui_shot_cast_spacing; spacing: $screenshot_ui_shot_cast_spacing;
@ -95,9 +95,9 @@ $screenshot_ui_button_red: $error_color;
.screenshot-ui-shot-cast-button { .screenshot-ui-shot-cast-button {
padding: $base_padding $base_padding*2; padding: $base_padding $base_padding*2;
background-color: transparent; background-color: transparent;
&:hover, &:focus { background-color: lighten($osd_bg_color, 10%);} &:hover, &:focus { background-color: transparentize($osd_fg_color, 0.8);}
&:active { background-color: lighten($active_bg_color,5%);} &:active { background-color: transparentize($osd_fg_color, .5);}
&:checked { background-color: white;color: black;} &:checked { background-color: $osd_fg_color; color: $osd_bg_color;}
&:insensitive { color: transparentize($osd_fg_color, 0.5);} &:insensitive { color: transparentize($osd_fg_color, 0.5);}
border-radius: $modal_radius - $screenshot_ui_shot_cast_spacing; border-radius: $modal_radius - $screenshot_ui_shot_cast_spacing;

View File

@ -24,7 +24,7 @@ $switcher_padding: $base_padding*2;
// each item in the list // each item in the list
.item-box { .item-box {
@include tile_button($fg_color); @include tile_button($osd_fg_color);
// override over style so mouse doesn't steal focus // override over style so mouse doesn't steal focus
&:hover {background: none;} &:hover {background: none;}
@if $is_highcontrast { @if $is_highcontrast {