aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2020-07-13 11:23:38 -0700
committerGitHub <[email protected]>2020-07-13 21:23:38 +0300
commit6914efe8dd73ce403a9e04a43a05fe4642ad87f9 (patch)
treef3916056782c406ed17dfb7828dede0a8aa30754 /scss
parentb345746bb6d9ac4fe4f32ebd37b15fe52ec13ca0 (diff)
downloadbootstrap-6914efe8dd73ce403a9e04a43a05fe4642ad87f9.tar.xz
bootstrap-6914efe8dd73ce403a9e04a43a05fe4642ad87f9.zip
v5: Tweak some colors (#31276)
* Tweak green and cyan colors, bump min contrast ratio to 4.5 Co-authored-by: XhmikosR <[email protected]>
Diffstat (limited to 'scss')
-rw-r--r--scss/_variables.scss8
1 files changed, 4 insertions, 4 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss
index cac9febec..76394c225 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -38,9 +38,9 @@ $pink: #d63384 !default;
$red: #dc3545 !default;
$orange: #fd7e14 !default;
$yellow: #ffc107 !default;
-$green: #28a745 !default;
+$green: #198754 !default;
$teal: #20c997 !default;
-$cyan: #17a2b8 !default;
+$cyan: #0dcaf0 !default;
// scss-docs-start colors-map
$colors: (
@@ -87,10 +87,10 @@ $theme-color-interval: 8% !default;
// The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.0 are 3, 4.5 and 7.
// See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
-$min-contrast-ratio: 3 !default;
+$min-contrast-ratio: 4.5 !default;
// Customize the light and dark text colors for use in our color contrast function.
-$color-contrast-dark: $gray-900 !default;
+$color-contrast-dark: $black !default;
$color-contrast-light: $white !default;
// fusv-disable