diff options
author | Mark Otto <markd.otto@gmail.com> | 2021-11-15 14:03:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-15 14:03:48 +0300 |
commit | 9f099d3e4f6fe5b0c5454d2462cc22d06b6f4a1b (patch) | |
tree | f566d8bd5af6185fc2167931a5c7afb8e93d7001 /scss/_variables.scss | |
parent | 96dcc150d5d61d0dddae678c3f28830206c338b4 (diff) |
Move reassigned Sass maps for colors to another stylesheet (#34942)
Diffstat (limited to 'scss/_variables.scss')
-rw-r--r-- | scss/_variables.scss | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss index 244a15c215..f6a37b764c 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -90,10 +90,6 @@ $theme-colors: ( ) !default; // scss-docs-end theme-colors-map -// scss-docs-start theme-colors-rgb -$theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value") !default; -// scss-docs-end theme-colors-rgb - // 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: 4.5 !default; @@ -382,8 +378,6 @@ $spacers: ( 4: $spacer * 1.5, 5: $spacer * 3, ) !default; - -$negative-spacers: if($enable-negative-margins, negativify-map($spacers), null) !default; // scss-docs-end spacer-variables-maps // Position @@ -406,39 +400,6 @@ $body-bg: $white !default; $body-color: $gray-900 !default; $body-text-align: null !default; -// Utilities maps -// -// Extends the default `$theme-colors` maps to help create our utilities. - -// Come v6, we'll de-dupe these variables. Until then, for backward compatibility, we keep them to reassign. -// scss-docs-start utilities-colors -$utilities-colors: $theme-colors-rgb !default; -// scss-docs-end utilities-colors - -// scss-docs-start utilities-text-colors -$utilities-text: map-merge( - $utilities-colors, - ( - "black": to-rgb($black), - "white": to-rgb($white), - "body": to-rgb($body-color) - ) -) !default; -$utilities-text-colors: map-loop($utilities-text, rgba-css-var, "$key", "text") !default; -// scss-docs-end utilities-text-colors - -// scss-docs-start utilities-bg-colors -$utilities-bg: map-merge( - $utilities-colors, - ( - "black": to-rgb($black), - "white": to-rgb($white), - "body": to-rgb($body-bg) - ) -) !default; -$utilities-bg-colors: map-loop($utilities-bg, rgba-css-var, "$key", "bg") !default; -// scss-docs-end utilities-bg-colors - // Links // // Style anchor elements. @@ -504,8 +465,6 @@ $grid-columns: 12 !default; $grid-gutter-width: 1.5rem !default; $grid-row-columns: 6 !default; -$gutters: $spacers !default; - // Container padding $container-padding-x: $grid-gutter-width * .5 !default; |