Yuki Takei 2 лет назад
Родитель
Сommit
7a73e9e83e
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      packages/core/scss/bootstrap/theming/_variables.scss

+ 4 - 0
packages/core/scss/bootstrap/theming/_variables.scss

@@ -14,3 +14,7 @@ $gray-600: #6c757d !default;
 $gray-700: #495057 !default;
 $gray-800: #343a40 !default;
 $gray-900: #212529 !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;