[REF] theme_*: inject theme's preferred palette into ui

This commit injects for each theme a "preferred" palette into the
website's UI palette list ("Theme" tab).
It also removes '$o-palette-priority-prefix' overrides, letting website
handling the palettes order.

task-2656337

closes odoo/design-themes#504

Related: odoo/odoo#77236
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
stefanorigano (SRI)
2021-09-27 09:01:13 +00:00
committed by qsm-odoo
parent 285d413a44
commit 0539787e23
26 changed files with 34 additions and 24 deletions
@@ -165,7 +165,7 @@ $o-theme-color-palettes: map-merge($o-theme-color-palettes,
)
);
$o-palette-priority-prefix: 'nano';
$o-selected-color-palettes-names: append($o-selected-color-palettes-names, 'nano-1');
$o-color-palettes-compatibility-indexes: (
1: 'nano-1',