Simplify text variables from 4 to 2, map -lighter to -maxcontrast

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2020-05-07 11:46:25 +02:00
parent 9bb07d3fbd
commit 9aff5355e6
No known key found for this signature in database
GPG Key ID: CBD846FC845CBE17
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;