[IMP] web_editor: preserve backend's black and white colors
Add 'black' and 'white' color in the list of backend's $theme-colors to preserve during website's customization. This commit is preparatory to the introduction of dark-mode. task-2710677 Part-of: odoo/odoo#102868
This commit is contained in:
committed by
Pierre Paridans
parent
74e6de03be
commit
9c923d68b8
@@ -35,7 +35,7 @@ $grays: () !default;
|
||||
// prevent-backend-colors-alteration for more information)
|
||||
@if variable-exists('prevent-backend-colors-alteration') and $prevent-backend-colors-alteration {
|
||||
$theme-colors: map-remove($theme-colors, 'primary', 'secondary', 'success', 'info', 'warning', 'danger', 'light', 'dark');
|
||||
$grays: map-remove($grays, '100', '200', '300', '400', '500', '600', '700', '800', '900');
|
||||
$grays: map-remove($grays, '100', '200', '300', '400', '500', '600', '700', '800', '900', 'black', 'white');
|
||||
}
|
||||
|
||||
// Bootstrap use standard variables to define individual colors which are then
|
||||
|
||||
Reference in New Issue
Block a user