🎨 meilleur gestion des textes couleur claire
parent
b3392225fc
commit
271855d377
|
@ -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%;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue