[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>
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 146 KiB After Width: | Height: | Size: 97 KiB |
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 79 KiB |
|
After Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 149 KiB After Width: | Height: | Size: 95 KiB |
|
After Width: | Height: | Size: 93 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 65 KiB |
@@ -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(),
|
||||
|
||||
@@ -58,15 +58,14 @@ $o-theme-font-configs: (
|
||||
|
||||
$o-website-values-palettes: (
|
||||
(
|
||||
'color-palettes-name': 'beauty-1',
|
||||
'color-palettes-name': 'default-light-3',
|
||||
|
||||
'header-font-size': (18 / 16) * 1rem,
|
||||
|
||||
'font': 'Questrial',
|
||||
'headings-font': 'DM Serif Display',
|
||||
|
||||
'header-template': 'sales_one',
|
||||
'header-links-style': 'outline',
|
||||
'header-template': 'default',
|
||||
|
||||
// Buttons
|
||||
'btn-padding-y': .45rem,
|
||||
@@ -81,8 +80,6 @@ $o-website-values-palettes: (
|
||||
),
|
||||
);
|
||||
|
||||
$o-selected-color-palettes-names: append($o-selected-color-palettes-names, 'beauty-1');
|
||||
|
||||
$o-color-palettes-compatibility-indexes: (
|
||||
1: 'beauty-1',
|
||||
2: 'beauty-2',
|
||||
|
||||