[Glitch] Add color variables of texts for better accesibility

Port 74dae9458d and related to glitch-soc
This commit is contained in:
Thibaut Girka
2018-05-05 17:58:46 +02:00
parent 390cfdef2e
commit b3a236637e
27 changed files with 293 additions and 328 deletions

View File

@@ -15,7 +15,7 @@
.media-spoiler {
background: $base-overlay-background;
color: $ui-primary-color;
color: $darker-text-color;
border: 0;
width: 100%;
height: 100%;
@@ -23,7 +23,7 @@
&:hover,
&:active,
&:focus {
color: lighten($ui-primary-color, 8%);
color: lighten($darker-text-color, 8%);
}
.status__content > & {
@@ -350,7 +350,7 @@
z-index: 4;
border: 0;
background: $base-shadow-color;
color: $ui-primary-color;
color: $darker-text-color;
transition: none;
pointer-events: none;
@@ -361,7 +361,7 @@
&:hover,
&:active,
&:focus {
color: lighten($ui-primary-color, 8%);
color: lighten($darker-text-color, 7%);
}
}