Browse Source
Simplify text variables from 4 to 2, map -lighter to -maxcontrast
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
pull/21117/head
Jan-Christoph Borchardt
6 years ago
No known key found for this signature in database
GPG Key ID: CBD846FC845CBE17
2 changed files with
4 additions and
4 deletions
-
core/css/css-variables.scss
-
core/css/variables.scss
|
|
|
@ -23,8 +23,8 @@ |
|
|
|
--color-success: $color-success; |
|
|
|
|
|
|
|
--color-text-maxcontrast: $color-text-maxcontrast; |
|
|
|
--color-text-light: $color-text-light; |
|
|
|
--color-text-lighter: $color-text-lighter; |
|
|
|
--color-text-light: $color-main-text; |
|
|
|
--color-text-lighter: $color-text-maxcontrast; |
|
|
|
|
|
|
|
--image-logo: $image-logo; |
|
|
|
--image-login-background: $image-login-background; |
|
|
|
|
|
|
|
@ -61,8 +61,8 @@ $color-yellow: #FC0; |
|
|
|
// min. color contrast for normal text on white background according to WCAG AA |
|
|
|
// (Works as well: color: #000; opacity: 0.57;) |
|
|
|
$color-text-maxcontrast: nc-lighten($color-main-text, 33%) !default; |
|
|
|
$color-text-light: nc-lighten($color-main-text, 15%) !default; |
|
|
|
$color-text-lighter: nc-lighten($color-main-text, 30%) !default; |
|
|
|
$color-text-light: $color-main-text !default; |
|
|
|
$color-text-lighter: $color-text-maxcontrast !default; |
|
|
|
|
|
|
|
$image-logo: url('../img/logo/logo.svg?v=1') !default; |
|
|
|
$image-login-background: url('../img/background.png?v=2') !default; |
|
|
|
|