[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
Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 KiB

After

Width:  |  Height:  |  Size: 97 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 KiB

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 65 KiB

+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(),
@@ -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',