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 | 35 |
1 files changed, 16 insertions, 19 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 ecfda70dd87..3be0284d254 100644 --- a/addons/web_editor/static/src/scss/web_editor.variables.scss +++ b/addons/web_editor/static/src/scss/web_editor.variables.scss @@ -371,46 +371,43 @@ $o-gray-color-palettes: ( $o-gray-color-palette-number: 1 !default; // Color combinations +$o-base-color-combination: ( + 'bg': 'white', + 'text': null, // Default to better contrast with the 'bg' + 'headings': null, // Default to 'text' + 'h2': null, // Default to 'h(x-1)' + 'h3': null, + 'h4': null, + 'h5': null, + 'h6': null, + 'link': null, // Default to BS 'primary' (= first odoo color) + 'btn-primary': null, // Default to BS 'primary' (= first odoo color) + 'btn-primary-border': null, // Default to 'btn-primary' + 'btn-secondary': null, // Default to BS 'secondary' (= second odoo color) + 'btn-secondary-border': null, // Default to 'btn-secondary' +); $o-color-combinations-presets: ( ( ( - 'bg': #FFFFFF, - 'text': null, - 'headings': null, - 'link': null, - 'btn-primary': null, - 'btn-secondary': null, + // See $o-base-color-combination ), ( 'bg': 'gamma', - 'text': null, 'headings': 'alpha', - 'link': null, - 'btn-primary': null, - 'btn-secondary': null, ), ( 'bg': 'beta', - 'text': null, - 'headings': null, - 'link': null, - 'btn-primary': null, 'btn-secondary': 'gamma', ), ( 'bg': 'alpha', - 'text': null, - 'headings': null, 'link': 'epsilon', 'btn-primary': 'epsilon', 'btn-secondary': 'gamma', ), ( 'bg': 'epsilon', - 'text': null, 'headings': 'delta', - 'link': null, - 'btn-primary': null, 'btn-secondary': 'gamma', ), ), |
