mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-14 10:54:27 +00:00
Increase color contrast on privacy warning (#3015)
The current text contrast on the privacy warning is a WCAG violation. I didn't notice this because my instance has a custom theme which is better. On default theme I am barely able to read the text with my impaired vision. This patch brings the contrast to Normal Text WCAG AA compliance, and Large Text WCAG AAA compliance.
This commit is contained in:
parent
0cb4b9205c
commit
60f3230a05
|
@ -226,7 +226,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.compose-form__warning {
|
.compose-form__warning {
|
||||||
color: darken($ui-secondary-color, 33%);
|
color: darken($ui-secondary-color, 65%);
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
background: $ui-primary-color;
|
background: $ui-primary-color;
|
||||||
box-shadow: 0 2px 6px rgba($base-shadow-color, 0.3);
|
box-shadow: 0 2px 6px rgba($base-shadow-color, 0.3);
|
||||||
|
|
Loading…
Reference in a new issue