[IMP] theme_beauty: revamp the theme

task-4178019
Part of task-4177975

Part-of: odoo/design-themes#919
Related: odoo/odoo#180736
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Brieuc-brd
2024-09-19 16:46:31 +02:00
committed by qsm-odoo
parent fa78b350cc
commit f0e216f031
21 changed files with 300 additions and 329 deletions
+16 -16
View File
@@ -4,29 +4,29 @@ import * as wTourUtils from '@website/js/tours/tour_utils';
const snippets = [
{
id: 's_cover',
name: 'Cover',
id: 's_intro_pill',
name: 'Intro Pill',
groupName: "Intro",
},
{
id: 's_text_image',
name: 'Text - Image',
id: 's_masonry_block',
name: 'Masonry',
groupName: "Images",
},
{
id: 's_pricelist_boxed',
name: 'Pricelist Boxed',
groupName: "Content",
},
{
id: 's_title',
name: 'Title',
groupName: "Text",
id: 's_features_wall',
name: 'Features Wall',
groupName: "Columns",
},
{
id: 's_product_list',
name: 'Items',
groupName: "Content",
},
{
id: 's_company_team',
name: 'Team',
groupName: "People",
id: 's_image_frame',
name: 'Image Frame',
groupName: "Images",
},
{
id: 's_call_to_action',
@@ -36,7 +36,7 @@ const snippets = [
];
wTourUtils.registerThemeHomepageTour("beauty_tour", () => [
wTourUtils.assertCssVariable('--color-palettes-name', '"beauty-1"'),
wTourUtils.assertCssVariable('--color-palettes-name', '"default-light-3"'),
...wTourUtils.dragNDrop(snippets[0]),
...wTourUtils.clickOnText(snippets[0], 'h1'),
wTourUtils.goBackToBlocks(),