diff options
author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-08-10 18:04:16 +0300 |
---|---|---|
committer | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-08-10 20:16:47 +0300 |
commit | 77862c812a5175b57e7c5a59e4fd1af456dd7b2e (patch) | |
tree | 313e0023d1a5b11af6624d3b48663b7d85463add /src | |
parent | 5a705962a8d3e972e0dd3c837f6177cf8f3a5f97 (diff) | |
download | webui-vue-77862c812a5175b57e7c5a59e4fd1af456dd7b2e.tar.xz |
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 <yoshiemuranaka@gmail.com>
Change-Id: If69f712602d3c46747a68fd70319a20ef8002bd6
Diffstat (limited to 'src')
-rw-r--r-- | src/assets/styles/bmc/helpers/_colors.scss | 23 |
1 files changed, 0 insertions, 23 deletions
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 -); |