mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_vehicule: improve theme
task-4178091 Part of task-4177975 closes odoo/design-themes#924 Signed-off-by: Outagant Mehdi (mou) <mou@odoo.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 33 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 239 KiB After Width: | Height: | Size: 228 KiB |
@@ -9,14 +9,14 @@ const snippets = [
|
||||
groupName: "Intro",
|
||||
},
|
||||
{
|
||||
id: 's_text_image',
|
||||
name: 'Text - Image',
|
||||
groupName: "Content",
|
||||
id: 's_title',
|
||||
name: 'Title',
|
||||
groupName: "Text",
|
||||
},
|
||||
{
|
||||
id: 's_image_text',
|
||||
name: 'Image - Text',
|
||||
groupName: "Content",
|
||||
id: 's_three_columns',
|
||||
name: 'Columns',
|
||||
groupName: "Columns",
|
||||
},
|
||||
{
|
||||
id: 's_picture',
|
||||
@@ -24,28 +24,29 @@ const snippets = [
|
||||
groupName: "Images",
|
||||
},
|
||||
{
|
||||
id: 's_masonry_block',
|
||||
name: 'Masonry',
|
||||
groupName: "Images",
|
||||
id: 's_key_images',
|
||||
name: 'Key Images',
|
||||
groupName: "Columns",
|
||||
},
|
||||
{
|
||||
id: 's_call_to_action',
|
||||
name: 'Call to Action',
|
||||
id: 's_numbers_charts',
|
||||
name: 'Numbers Charts',
|
||||
groupName: "Content",
|
||||
},
|
||||
{
|
||||
id: 's_media_list',
|
||||
name: 'Media List',
|
||||
groupName: "Content",
|
||||
},
|
||||
];
|
||||
|
||||
wTourUtils.registerThemeHomepageTour("vehicle_tour", () => [
|
||||
wTourUtils.assertCssVariable('--color-palettes-name', '"vehicle-1"'),
|
||||
...wTourUtils.dragNDrop(snippets[0], 'top'),
|
||||
...wTourUtils.clickOnText(snippets[0], 'h1', 'top'),
|
||||
wTourUtils.goBackToBlocks(),
|
||||
...wTourUtils.dragNDrop(snippets[1], 'top'),
|
||||
...wTourUtils.dragNDrop(snippets[2], 'top'),
|
||||
...wTourUtils.dragNDrop(snippets[3], 'top'),
|
||||
...wTourUtils.dragNDrop(snippets[4], 'top'),
|
||||
...wTourUtils.dragNDrop(snippets[5], 'top'),
|
||||
...wTourUtils.clickOnSnippet(snippets[5]),
|
||||
wTourUtils.changeBackgroundColor(),
|
||||
wTourUtils.selectColorPalette(),
|
||||
...wTourUtils.dragNDrop(snippets[0]),
|
||||
...wTourUtils.dragNDrop(snippets[1]),
|
||||
...wTourUtils.dragNDrop(snippets[2]),
|
||||
...wTourUtils.dragNDrop(snippets[3]),
|
||||
...wTourUtils.dragNDrop(snippets[4]),
|
||||
...wTourUtils.dragNDrop(snippets[5]),
|
||||
...wTourUtils.dragNDrop(snippets[6]),
|
||||
]);
|
||||
|
||||
@@ -59,13 +59,13 @@ $o-theme-h5-font-size-multiplier: (18 / 16);
|
||||
$o-theme-headings-font-weight: 600;
|
||||
|
||||
$o-theme-font-configs: (
|
||||
'Fira Code': (
|
||||
'family': ('Fira Code', mono),
|
||||
'url': 'Fira+Code:300,300i,400,400i,700,700i',
|
||||
'Oswald': (
|
||||
'family': ('Oswald', sans-serif),
|
||||
'url': 'Oswald:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Fira Sans': (
|
||||
'family': ('Fira Sans', sans-serif),
|
||||
'url': 'Fira Sans:300,300i,400,400i,700,700i',
|
||||
'Inter': (
|
||||
'family': ('Inter', sans-serif),
|
||||
'url': 'Inter:300,300i,,400,400i,700,700i',
|
||||
),
|
||||
'Droid Sans': (
|
||||
'family': ('Droid Sans', sans-serif),
|
||||
@@ -86,10 +86,6 @@ $o-theme-font-configs: (
|
||||
'family': ('Open Sans Condensed', sans-serif),
|
||||
'url': 'Open+Sans+Condensed:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Oswald': (
|
||||
'family': ('Oswald', sans-serif),
|
||||
'url': 'Oswald:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Roboto': (
|
||||
'family': ('Roboto', sans-serif),
|
||||
'url': 'Roboto:300,300i,400,400i,700,700i',
|
||||
@@ -104,11 +100,11 @@ $o-website-values-palettes: (
|
||||
(
|
||||
'color-palettes-name': 'vehicle-1',
|
||||
|
||||
'font': 'Fira Code',
|
||||
'headings-font': 'Fira Sans',
|
||||
'navbar-font': 'Fira Sans',
|
||||
'font': 'Inter',
|
||||
'headings-font': 'Oswald',
|
||||
'navbar-font': 'Inter',
|
||||
|
||||
'buttons-font': 'Fira Sans',
|
||||
'buttons-font': 'Inter',
|
||||
'btn-secondary-outline': true,
|
||||
|
||||
'btn-border-width': 2px,
|
||||
|
||||
Reference in New Issue
Block a user