[IMP] theme_cobalt: revamp the theme
task-4178067 Part of task-4177978 Part-of: odoo/design-themes#969 Related: odoo/odoo#182029 Signed-off-by: Louis (loco) <loco@odoo.com> Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -9,9 +9,14 @@ const snippets = [
|
||||
groupName: "Intro",
|
||||
},
|
||||
{
|
||||
id: 's_references',
|
||||
name: 'References',
|
||||
groupName: "People",
|
||||
id: 's_image_text',
|
||||
name: 'Image - Text',
|
||||
groupName: "Content",
|
||||
},
|
||||
{
|
||||
id: 's_key_images',
|
||||
name: 'Key Images',
|
||||
groupName: "Columns",
|
||||
},
|
||||
{
|
||||
id: 's_text_image',
|
||||
@@ -19,33 +24,26 @@ const snippets = [
|
||||
groupName: "Content",
|
||||
},
|
||||
{
|
||||
id: 's_color_blocks_2',
|
||||
name: 'Big Boxes',
|
||||
groupName: "Content",
|
||||
id: 's_company_team_detail',
|
||||
name: 'Team Detail',
|
||||
groupName: "People",
|
||||
},
|
||||
{
|
||||
id: 's_title',
|
||||
name: 'Title',
|
||||
groupName: "Text",
|
||||
},
|
||||
{
|
||||
id: 's_image_gallery',
|
||||
name: 'Images Wall',
|
||||
groupName: "Images",
|
||||
id: 's_references_grid',
|
||||
name: 'References Grid',
|
||||
groupName: "People",
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
wTourUtils.registerThemeHomepageTour("cobalt_tour", () => [
|
||||
wTourUtils.assertCssVariable('--color-palettes-name', '"cobalt-1"'),
|
||||
wTourUtils.assertCssVariable('--color-palettes-name', '"default-8"'),
|
||||
...wTourUtils.insertSnippet(snippets[0]),
|
||||
...wTourUtils.clickOnText(snippets[0], 'h1', 'top'),
|
||||
wTourUtils.goBackToBlocks(),
|
||||
|
||||
...wTourUtils.insertSnippet(snippets[1]),
|
||||
...wTourUtils.insertSnippet(snippets[2]),
|
||||
...wTourUtils.insertSnippet(snippets[3]),
|
||||
|
||||
...wTourUtils.insertSnippet(snippets[4]),
|
||||
...wTourUtils.insertSnippet(snippets[5]),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user