diff options
Diffstat (limited to 'addons/web_editor/static/src/scss/bootstrap_overridden.scss')
| -rw-r--r-- | addons/web_editor/static/src/scss/bootstrap_overridden.scss | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/scss/bootstrap_overridden.scss b/addons/web_editor/static/src/scss/bootstrap_overridden.scss new file mode 100644 index 00000000000..edd79516154 --- /dev/null +++ b/addons/web_editor/static/src/scss/bootstrap_overridden.scss @@ -0,0 +1,19 @@ + +// Automatically extend bootstrap to create theme background/text/button classes +$theme-colors: () !default; +$theme-colors: map-merge(( + 'alpha': $color-alpha, + 'beta': $color-beta, + 'gamma': $color-gamma, + 'delta': $color-delta, + 'epsilon': $color-epsilon, +), $theme-colors); + +// Extend grays with transparent ones (for some reason, BS4 create black-50 and +// white-50 but does not allow overridding that with variables). Also add black +// and white ones too as they were also not added by BS4... +$grays: () !default; +$grays: map-merge(map-merge($o-transparent-grays, ( + black: $black, // Note: those two needs to be redefined before bootstrap, + white: $white, // otherwise they do not exist yet +)), $grays); |
