Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lock screen in light theme #3513

Merged
merged 1 commit into from
Mar 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 17 additions & 5 deletions gnome-shell/src/gnome-shell-sass/widgets/_login-dialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -187,19 +187,31 @@
StEntry {
border:none !important;
&, &:focus { // Yaru change: also style unfocused state
background-color: transparentize($fg_color, 0.9);
color: $fg_color_dark; // Yaru change: fix for light theme
background-color: transparentize($fg_color_dark, 0.9); // Yaru change: ↑↑↑
box-shadow: none; // Yaru change: remove box-shadow because of ugly render
}
&:insensitive {
color: transparentize($fg_color, 0.5);
background-color: transparentize($fg_color, 0.95);

&:insensitive { // Yaru change: fix for light theme
color: transparentize($fg_color_dark, 0.5);
background-color: transparentize($fg_color_dark, 0.95);
}

StLabel.hint-text { // Yaru change: fix for light theme
color: transparentize($fg_color_dark, 0.3);
}
}

.user-icon { // Yaru change: fix for light theme
background-color: transparentize($fg_color_dark,0.9);
color: $fg_color_dark;
}

.cancel-button,
.switch-user-button,
.login-dialog-session-list-button {
border-color: transparent;
background-color: transparentize($fg_color, 0.9);
background-color: transparentize($fg_color_dark, 0.9); // Yaru change: fix for light theme
color: $fg_color_dark; // Yaru change: ↑↑↑
}
}