[IMP] theme_enark: update the theme

This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2601581

X-original-commit: 3f75d0377b
Part-of: odoo/design-themes#501
This commit is contained in:
xlu-odoo
2021-07-22 14:33:03 +00:00
committed by qsm-odoo
parent fd5bf71d8b
commit 25b03a32a9
26 changed files with 493 additions and 333 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 584 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 754 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 KiB

After

Width:  |  Height:  |  Size: 143 KiB

+7 -4
View File
@@ -15,13 +15,17 @@ const snippets = [
id: 's_picture',
name: 'Picture',
},
{
id: 's_numbers',
name: 'Numbers',
},
{
id: 's_text_image',
name: 'Text - Image',
},
{
id: 's_media_list',
name: 'Media List',
id: 's_image_wall',
name: 'Images Wall',
},
{
id: 's_call_to_action',
@@ -37,7 +41,6 @@ wTourUtils.registerThemeHomepageTour("enark_tour", [
wTourUtils.dragNDrop(snippets[2]),
wTourUtils.dragNDrop(snippets[3]),
wTourUtils.dragNDrop(snippets[4]),
wTourUtils.clickOnSnippet(snippets[4]),
wTourUtils.changeOption('ScrollButton', 'we-button-group.o_we_user_value_widget', _t('height')),
wTourUtils.dragNDrop(snippets[5]),
]);
});
@@ -78,12 +78,12 @@ $o-theme-color-palettes: map-merge($o-theme-color-palettes,
// Fonts
//------------------------------------------------------------------------------
$o-theme-h1-font-size-multiplier: (54 / 16);
$o-theme-h1-font-size-multiplier: (62 / 16);
$o-theme-h2-font-size-multiplier: (48 / 16);
$o-theme-h3-font-size-multiplier: (44 / 16);
$o-theme-h4-font-size-multiplier: (31 / 16);
$o-theme-h5-font-size-multiplier: (27 / 16);
$o-theme-h6-font-size-multiplier: (20 / 16);
$o-theme-h3-font-size-multiplier: (32 / 16);
$o-theme-h4-font-size-multiplier: (24 / 16);
$o-theme-h5-font-size-multiplier: (20 / 16);
$o-theme-h6-font-size-multiplier: (18 / 16);
$o-theme-font-configs: (
'Ubuntu': (
@@ -139,15 +139,14 @@ $o-theme-font-configs: (
$o-website-values-palettes: (
(
'color-palettes-name': 'enark-1',
'header-font-size': 1.3rem,
'font': 'Raleway',
'headings-font': 'Abel',
'navbar-font': 'Abel',
'buttons-font': 'Abel',
'header-template': 'hamburger',
'footer-template': 'descriptive',
'header-links-style': 'outline',
'btn-primary-outline': 'true',
'header-font-size': 1rem,
'font': 'Open Sans',
'headings-font': 'Bitter',
'navbar-font': 'Bitter',
'buttons-font': 'Bitter',
'footer-template': 'descriptive',
'header-links-style': 'outline',
'btn-primary-outline': 'true',
),
);