bootstrap5: report variables v4+chill changes in variables v5

--- indigo, purple, teal, cyan
+++ green-dark, beige
This commit is contained in:
Mathieu Jaumotte 2021-05-24 14:58:27 +02:00
parent a236873919
commit e44342ab87
2 changed files with 65 additions and 1237 deletions

View File

@ -7,59 +7,60 @@
// scss-docs-start gray-color-variables
$white: #fff !default;
$gray-100: #f8f9fa !default;
$gray-200: #e9ecef !default;
$gray-100: #f3f3f3 !default;
$gray-200: #e6e6e6 !default;
$gray-300: #dee2e6 !default;
$gray-400: #ced4da !default;
$gray-500: #adb5bd !default;
$gray-500: #b2b2b2 !default;
$gray-600: #6c757d !default;
$gray-700: #495057 !default;
$gray-800: #343a40 !default;
$gray-800: #333333 !default;
$gray-900: #212529 !default;
$black: #000 !default;
$black: #111 !default;
// scss-docs-end gray-color-variables
// fusv-disable
// scss-docs-start gray-colors-map
$grays: (
"100": $gray-100,
"200": $gray-200,
"200": $gray-200, /* = $chill-llight-gray, $chill-gray */
"300": $gray-300,
"400": $gray-400,
"500": $gray-500,
"500": $gray-500, /* = $chill-light-gray */
"600": $gray-600,
"700": $gray-700,
"800": $gray-800,
"800": $gray-800, /* = $chill-dark-gray */
"900": $gray-900
) !default;
// scss-docs-end gray-colors-map
// fusv-enable
/*
* CHILL Theme colors
* (apply chill colors, add missing colors, trust in bootstrap grey scale)
*/
// scss-docs-start color-variables
$blue: #0d6efd !default;
$indigo: #6610f2 !default;
$purple: #6f42c1 !default;
$pink: #d63384 !default;
$red: #dc3545 !default;
$orange: #fd7e14 !default;
$yellow: #ffc107 !default;
$green: #198754 !default;
$teal: #20c997 !default;
$cyan: #0dcaf0 !default;
$blue: #334d5c !default;
$green: #43b29d !default;
$yellow: #eec84a !default;
$orange: #e2793d !default;
$red: #df4949 !default;
$pink: #dd506d !default;
$green-dark: #328474 !default;
$beige: #cabb9f !default;
// scss-docs-end color-variables
// scss-docs-start colors-map
$colors: (
"blue": $blue,
"indigo": $indigo,
"purple": $purple,
"pink": $pink,
"red": $red,
"orange": $orange,
"yellow": $yellow,
"green": $green,
"teal": $teal,
"cyan": $cyan,
"yellow": $yellow,
"orange": $orange,
"red": $red,
"pink": $pink,
"green-dark": $green-dark,
"beige": $beige,
"white": $white,
"gray": $gray-600,
"gray-dark": $gray-800
@ -67,14 +68,14 @@ $colors: (
// scss-docs-end colors-map
// scss-docs-start theme-color-variables
$primary: $blue !default;
$secondary: $gray-600 !default;
$success: $green !default;
$info: $cyan !default;
$warning: $yellow !default;
$danger: $red !default;
$light: $gray-100 !default;
$dark: $gray-900 !default;
$primary: $blue;
$secondary: $gray-200;
$success: $green;
$info: $yellow;
$warning: $orange;
$danger: $red;
$light: $gray-100;
$dark: $gray-800;
// scss-docs-end theme-color-variables
// scss-docs-start theme-colors-map
@ -109,25 +110,25 @@ $blue-700: shade-color($blue, 40%) !default;
$blue-800: shade-color($blue, 60%) !default;
$blue-900: shade-color($blue, 80%) !default;
$indigo-100: tint-color($indigo, 80%) !default;
$indigo-200: tint-color($indigo, 60%) !default;
$indigo-300: tint-color($indigo, 40%) !default;
$indigo-400: tint-color($indigo, 20%) !default;
$indigo-500: $indigo !default;
$indigo-600: shade-color($indigo, 20%) !default;
$indigo-700: shade-color($indigo, 40%) !default;
$indigo-800: shade-color($indigo, 60%) !default;
$indigo-900: shade-color($indigo, 80%) !default;
$green-dark-100: tint-color($green-dark, 80%) !default;
$green-dark-200: tint-color($green-dark, 60%) !default;
$green-dark-300: tint-color($green-dark, 40%) !default;
$green-dark-400: tint-color($green-dark, 20%) !default;
$green-dark-500: $green-dark !default;
$green-dark-600: shade-color($green-dark, 20%) !default;
$green-dark-700: shade-color($green-dark, 40%) !default;
$green-dark-800: shade-color($green-dark, 60%) !default;
$green-dark-900: shade-color($green-dark, 80%) !default;
$purple-100: tint-color($purple, 80%) !default;
$purple-200: tint-color($purple, 60%) !default;
$purple-300: tint-color($purple, 40%) !default;
$purple-400: tint-color($purple, 20%) !default;
$purple-500: $purple !default;
$purple-600: shade-color($purple, 20%) !default;
$purple-700: shade-color($purple, 40%) !default;
$purple-800: shade-color($purple, 60%) !default;
$purple-900: shade-color($purple, 80%) !default;
$beige-100: tint-color($beige, 80%) !default;
$beige-200: tint-color($beige, 60%) !default;
$beige-300: tint-color($beige, 40%) !default;
$beige-400: tint-color($beige, 20%) !default;
$beige-500: $beige !default;
$beige-600: shade-color($beige, 20%) !default;
$beige-700: shade-color($beige, 40%) !default;
$beige-800: shade-color($beige, 60%) !default;
$beige-900: shade-color($beige, 80%) !default;
$pink-100: tint-color($pink, 80%) !default;
$pink-200: tint-color($pink, 60%) !default;
@ -178,26 +179,6 @@ $green-600: shade-color($green, 20%) !default;
$green-700: shade-color($green, 40%) !default;
$green-800: shade-color($green, 60%) !default;
$green-900: shade-color($green, 80%) !default;
$teal-100: tint-color($teal, 80%) !default;
$teal-200: tint-color($teal, 60%) !default;
$teal-300: tint-color($teal, 40%) !default;
$teal-400: tint-color($teal, 20%) !default;
$teal-500: $teal !default;
$teal-600: shade-color($teal, 20%) !default;
$teal-700: shade-color($teal, 40%) !default;
$teal-800: shade-color($teal, 60%) !default;
$teal-900: shade-color($teal, 80%) !default;
$cyan-100: tint-color($cyan, 80%) !default;
$cyan-200: tint-color($cyan, 60%) !default;
$cyan-300: tint-color($cyan, 40%) !default;
$cyan-400: tint-color($cyan, 20%) !default;
$cyan-500: $cyan !default;
$cyan-600: shade-color($cyan, 20%) !default;
$cyan-700: shade-color($cyan, 40%) !default;
$cyan-800: shade-color($cyan, 60%) !default;
$cyan-900: shade-color($cyan, 80%) !default;
// fusv-enable
// Characters which are escaped by the escape-svg function
@ -371,7 +352,7 @@ $border-color: $gray-300 !default;
// scss-docs-end border-variables
// scss-docs-start border-radius-variables
$border-radius: .25rem !default;
$border-radius: .25rem !default; // <==
$border-radius-sm: .2rem !default;
$border-radius-lg: .3rem !default;
$border-radius-pill: 50rem !default;
@ -416,7 +397,7 @@ $aspect-ratios: (
// scss-docs-start font-variables
// stylelint-disable value-keyword-case
$font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
$font-family-sans-serif: 'Open Sans';
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
// stylelint-enable value-keyword-case
$font-family-base: var(--#{$variable-prefix}font-sans-serif) !default;
@ -441,11 +422,11 @@ $line-height-base: 1.5 !default;
$line-height-sm: 1.25 !default;
$line-height-lg: 2 !default;
$h1-font-size: $font-size-base * 2.5 !default;
$h2-font-size: $font-size-base * 2 !default;
$h3-font-size: $font-size-base * 1.75 !default;
$h4-font-size: $font-size-base * 1.5 !default;
$h5-font-size: $font-size-base * 1.25 !default;
$h1-font-size: $font-size-base * 2.0 !default;
$h2-font-size: $font-size-base * 1.5 !default;
$h3-font-size: $font-size-base * 1.25 !default;
$h4-font-size: $font-size-base * 1.15 !default;
$h5-font-size: $font-size-base * 1.05 !default;
$h6-font-size: $font-size-base !default;
// scss-docs-end font-variables
@ -640,9 +621,9 @@ $btn-link-hover-color: $link-hover-color !default;
$btn-link-disabled-color: $gray-600 !default;
// Allows for customizing button radius independently from global border radius
$btn-border-radius: $border-radius !default;
$btn-border-radius-sm: $border-radius-sm !default;
$btn-border-radius-lg: $border-radius-lg !default;
$btn-border-radius: 0 !default; // $border-radius !default; (only disabled for button)
$btn-border-radius-sm: 0 !default; // $border-radius-sm !default;
$btn-border-radius-lg: 0 !default; // $border-radius-lg !default;
$btn-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
@ -1273,9 +1254,9 @@ $modal-scale-transform: scale(1.02) !default;
$alert-padding-y: $spacer !default;
$alert-padding-x: $spacer !default;
$alert-margin-bottom: 1rem !default;
$alert-border-radius: $border-radius !default;
$alert-border-radius: 0 !default; //$border-radius !default;
$alert-link-font-weight: $font-weight-bold !default;
$alert-border-width: $border-width !default;
$alert-border-width: 0 !default; //$border-width !default;
$alert-bg-scale: -80% !default;
$alert-border-scale: -70% !default;
$alert-color-scale: 40% !default;