fix: fix default contrast ratio for button (#978)

this gets us up to 100% accessibility score on lighthouse
This commit is contained in:
Nolan Lawson 2019-02-13 18:38:19 -08:00 committed by GitHub
parent 290401903d
commit 4074f09f65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -1,11 +1,11 @@
:root {
$deemphasized-color: #666;
--button-primary-bg: #{lighten($main-theme-color, 7%)};
--button-primary-bg: #{$main-theme-color};
--button-primary-text: #{$secondary-text-color};
--button-primary-border: #{darken($main-theme-color, 30%)};
--button-primary-bg-active: #{lighten($main-theme-color, 1%)};
--button-primary-bg-hover: #{lighten($main-theme-color, 9%)};
--button-primary-bg-active: #{lighten($main-theme-color, 9%)};
--button-primary-bg-hover: #{lighten($main-theme-color, 5%)};
--button-bg: #{darken($main-bg-color, 10%)};
--button-text: #{$main-text-color};