Merge pull request #20853 from nextcloud/design/accessibility-maxcontrast

Fix color-text-maxcontrast not passing WCAG AA
This commit is contained in:
Roeland Jago Douma 2020-05-07 16:38:26 +02:00 committed by GitHub
commit 0643801d9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ $color-yellow: #FC0;
// rgb(118, 118, 118) / #767676 // rgb(118, 118, 118) / #767676
// min. color contrast for normal text on white background according to WCAG AA // min. color contrast for normal text on white background according to WCAG AA
// (Works as well: color: #000; opacity: 0.57;) // (Works as well: color: #000; opacity: 0.57;)
$color-text-maxcontrast: nc-lighten($color-main-text, 46.2%) !default; $color-text-maxcontrast: nc-lighten($color-main-text, 33%) !default;
$color-text-light: nc-lighten($color-main-text, 15%) !default; $color-text-light: nc-lighten($color-main-text, 15%) !default;
$color-text-lighter: nc-lighten($color-main-text, 30%) !default; $color-text-lighter: nc-lighten($color-main-text, 30%) !default;