From 77862c812a5175b57e7c5a59e4fd1af456dd7b2e Mon Sep 17 00:00:00 2001 From: Yoshie Muranaka Date: Mon, 10 Aug 2020 08:04:16 -0700 Subject: Remove Sass color maps Sass maps are not needed to create color or theme tokens. With Bootstrap's use of the !default flag, only unassigned variables will default to Bootstrap defined colors. Sass variable assignements are sufficient for overriding colors. https://sass-lang.com/documentation/variables#default-values Signed-off-by: Yoshie Muranaka Change-Id: If69f712602d3c46747a68fd70319a20ef8002bd6 --- src/assets/styles/bmc/helpers/_colors.scss | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'src/assets/styles/bmc') diff --git a/src/assets/styles/bmc/helpers/_colors.scss b/src/assets/styles/bmc/helpers/_colors.scss index 61f1559b..6e090fbc 100644 --- a/src/assets/styles/bmc/helpers/_colors.scss +++ b/src/assets/styles/bmc/helpers/_colors.scss @@ -30,16 +30,6 @@ $green: $green-500; $red: $red-500; $yellow: $yellow-500; -// Bootstrap will generate CSS variables for -// all of the colors in this map. -// https://getbootstrap.com/docs/4.0/getting-started/theming/#css-variables -$colors: ( - "blue": $blue, - "green": $green, - "red": $red, - "yellow": $yellow, -); - // Sass Theme Color Variables // Can be used as variants $danger: $red; @@ -59,16 +49,3 @@ $info-light: $blue-100; $warning-light: $yellow-100; $success-light: $green-100; -// Bootstrap will generate CSS variables for -// all of the colors in this map. -// https://getbootstrap.com/docs/4.0/getting-started/theming/#css-variables -$theme-colors: ( - "primary": $primary, - "secondary": $secondary, - "dark": $dark, - "light": $light, - "danger": $danger, - "info": $info, - "success": $success, - "warning": $warning -); -- cgit v1.2.3