[IMP] theme_anelusia: revamp the theme

task-4177978
Part of task-4177975

closes odoo/design-themes#911

Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
This commit is contained in:
Brieuc-brd
2024-09-13 13:05:55 +02:00
parent 2e1f5eeef7
commit dbfbe10d70
13 changed files with 314 additions and 345 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

+6 -6
View File
@@ -29,9 +29,9 @@ const snippets = [
groupName: "Content",
},
{
id: 's_company_team',
name: 'Team',
groupName: "People",
id: 's_key_images',
name: 'Key Images',
groupName: "Columns",
},
{
id: 's_call_to_action',
@@ -41,18 +41,18 @@ const snippets = [
];
wTourUtils.registerThemeHomepageTour("anelusia_tour", () => [
wTourUtils.assertCssVariable('--color-palettes-name', '"generic-17"'),
wTourUtils.assertCssVariable('--color-palettes-name', '"default-25"'),
...wTourUtils.dragNDrop(snippets[0]),
...wTourUtils.clickOnText(snippets[0], 'h1', 'top'),
wTourUtils.goBackToBlocks(),
...wTourUtils.dragNDrop(snippets[1]),
...wTourUtils.dragNDrop(snippets[2], 'top'),
...wTourUtils.dragNDrop(snippets[3]),
...wTourUtils.clickOnSnippet(snippets[3], 'top'),
...wTourUtils.dragNDrop(snippets[4]),
...wTourUtils.clickOnSnippet(snippets[4], 'top'),
wTourUtils.changeBackgroundColor(),
wTourUtils.selectColorPalette(),
wTourUtils.goBackToBlocks(),
...wTourUtils.dragNDrop(snippets[4]),
...wTourUtils.dragNDrop(snippets[5]),
...wTourUtils.dragNDrop(snippets[6]),
]);
@@ -4,7 +4,7 @@
$o-website-values-palettes: (
(
'color-palettes-name': 'generic-17',
'color-palettes-name': 'default-25',
// Header
'header-font-size': 1rem,
@@ -131,7 +131,7 @@ $o-theme-color-palettes: map-merge($o-theme-color-palettes,
)
);
$o-selected-color-palettes-names: append($o-selected-color-palettes-names, 'generic-17');
$o-selected-color-palettes-names: append($o-selected-color-palettes-names, 'default-25');
$o-color-palettes-compatibility-indexes: (
1: 'anelusia-1',