]> source.dussan.org Git - nextcloud-server.git/commitdiff
Simplify text variables from 4 to 2, map -lighter to -maxcontrast 21117/head
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 7 May 2020 09:46:25 +0000 (11:46 +0200)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Tue, 26 May 2020 19:42:11 +0000 (21:42 +0200)
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
core/css/css-variables.scss
core/css/variables.scss

index cf0779000b6fbfc0be9dc169c01a3346bace790a..df6bfa3b68ddd5cc2759f20382bdc322ba1df585 100644 (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;
index 43d8535ba034fa5129d6058cc1ac2731d864e2f7..fc3c9d2d51e5346eb95eb4f28ab4ddcc30f022f6 100644 (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;