diff options
Diffstat (limited to 'addons/web_editor/static/src/scss/web_editor.variables.scss')
| -rw-r--r-- | addons/web_editor/static/src/scss/web_editor.variables.scss | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web_editor/static/src/scss/web_editor.variables.scss b/addons/web_editor/static/src/scss/web_editor.variables.scss index add424313c0..d777752fe06 100644 --- a/addons/web_editor/static/src/scss/web_editor.variables.scss +++ b/addons/web_editor/static/src/scss/web_editor.variables.scss @@ -565,14 +565,14 @@ $o-color-extras-nesting-selector: '&, .o_colored_level &'; // Apply colors according to the given identifier. Can either be a preset // number, a color name or a css color. -@mixin o-apply-colors($identifier, $background: $body-bg) { +@mixin o-apply-colors($identifier, $with-extras: true, $background: $body-bg) { $-related-color: o-related-color($identifier, $max-recursions: 10); @if type-of($-related-color) == 'number' { // This is a preset to be applied, just extend it. This should probably // be avoided and use the class in XML if possible. @extend .o_cc#{$-related-color}; } @else { - @include o-bg-color(o-color($-related-color), $background: $background, $important: false); + @include o-bg-color(o-color($-related-color), $with-extras: $with-extras, $background: $background, $important: false); } } |
