mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
committed by
qsm-odoo
parent
285d413a44
commit
0539787e23
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user