🎨 meilleur gestion des textes couleur claire

pull/530/head
Johan Girod 2019-06-12 17:56:30 +02:00
parent b3392225fc
commit 271855d377
No known key found for this signature in database
GPG Key ID: 9E27B57DA2E8AE12
3 changed files with 3 additions and 8 deletions

View File

@ -121,6 +121,6 @@ textarea {
small,
.ui__.notice {
color: rgba(0, 0, 0, 0.6);
color: var(--darkerColour);
opacity: 0.7;
color: var(--lighterTextColour);
font-size: 85%;
}

View File

@ -72,11 +72,6 @@ section.ui__:not(:first-of-type) {
}
}
.ui__.notice {
font-size: 85%;
color: rgba(0, 0, 0, 0.6);
color: var(--darkColour);
}
.ui__ .colored-bg {
background: var(--lightestColour);
}

View File

@ -68,7 +68,7 @@ const generateTheme = (themeColour?: ?string): ThemeColours => {
textColour === '#ffffff'
? 'rgba(255, 255, 255, .6)'
: 'rgba(0, 0, 0, .6)',
lighterTextColour = lightenTextColour(textColour),
lighterTextColour = darkColour + '99',
lighterInverseTextColour = lightenTextColour(inverseTextColour),
textColourOnWhite = textColour === '#ffffff' ? colour : '#333'