Commit 97fff26
committed
Fix Caps-lock-is-on color in light theme
When a Polkit dialog is open to ask for the password, if the
user activates the Caps Lock, a message appears under the text
entry notifying that it is active, to warn the user.
In dark theme, this message is painted in yellow, which is fine
because it gives a good contrast against the background; but in
litht theme, a slightly darker yellow is used, which has poor
contrast. This goes against the accessibility (A11Y) requirements
of having, at least, a 4.5/1 contrast ratio in text.
This patch fixes this by setting the WARNING text color to black.1 parent e3fbea2 commit 97fff26
File tree
3 files changed
+3
-3
lines changed- gnome-shell
- src/gnome-shell-sass
- upstream/theme/gnome-shell-sass
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments