[IMP] theme_orchid: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.
task-2619127
X-original-commit: 40e8281717
Part-of: odoo/design-themes#501
@@ -7,7 +7,7 @@
|
||||
first projects on the web. Just drag & drop the new building blocks
|
||||
you need to easily build your layout. All layouts are made of sections,
|
||||
that you can easily combine to fit your specific project.</p>
|
||||
<img src="orchid_description.png" class="img-fluid d-block mx-auto"/>
|
||||
<img src="orchid_description.jpg" class="img-fluid d-block mx-auto"/>
|
||||
<hr/>
|
||||
|
||||
<h2 class="text-muted">Orchid Customization Tool</h2>
|
||||
|
||||
|
After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 366 KiB |
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 149 KiB |
|
After Width: | Height: | Size: 128 KiB |
|
After Width: | Height: | Size: 121 KiB |
|
After Width: | Height: | Size: 132 KiB |
|
After Width: | Height: | Size: 124 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
Before Width: | Height: | Size: 191 KiB After Width: | Height: | Size: 100 KiB |
|
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 91 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 195 KiB After Width: | Height: | Size: 137 KiB |
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 187 KiB After Width: | Height: | Size: 101 KiB |
|
After Width: | Height: | Size: 88 KiB |
@@ -1,10 +1,9 @@
|
||||
odoo.define("theme_orchid.tour.orchid", function (require) {
|
||||
"use strict";
|
||||
/** @odoo-module */
|
||||
|
||||
import wTourUtils from 'website.tour_utils';
|
||||
|
||||
const core = require("web.core");
|
||||
const _t = core._t;
|
||||
const wTourUtils = require("website.tour_utils");
|
||||
var tour = require("web_tour.tour");
|
||||
|
||||
const snippets = [
|
||||
{
|
||||
@@ -45,8 +44,5 @@ wTourUtils.registerThemeHomepageTour("orchid_tour", [
|
||||
wTourUtils.goBackToBlocks(),
|
||||
wTourUtils.dragNDrop(snippets[4]),
|
||||
wTourUtils.dragNDrop(snippets[5]),
|
||||
wTourUtils.clickOnSnippet(snippets[5]),
|
||||
wTourUtils.changeBackgroundColor(),
|
||||
wTourUtils.selectColorPalette(),
|
||||
wTourUtils.clickOnText(snippets[5], 'h3'),
|
||||
]);
|
||||
});
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
// Headings font weight
|
||||
|
||||
$headings-font-weight: $o-theme-headings-font-weight !default;
|
||||
@@ -2,12 +2,14 @@
|
||||
// Fonts
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
$o-theme-h1-font-size-multiplier: (25 / 12);
|
||||
$o-theme-h2-font-size-multiplier: (18 / 12);
|
||||
$o-theme-h3-font-size-multiplier: (16 / 12);
|
||||
$o-theme-h4-font-size-multiplier: (14 / 12);
|
||||
$o-theme-h5-font-size-multiplier: 1;
|
||||
$o-theme-h6-font-size-multiplier: 1;
|
||||
$o-theme-h1-font-size-multiplier: (62 / 16);
|
||||
$o-theme-h2-font-size-multiplier: (48 / 16);
|
||||
$o-theme-h3-font-size-multiplier: (36 / 16);
|
||||
$o-theme-h4-font-size-multiplier: (24 / 16);
|
||||
$o-theme-h5-font-size-multiplier: (21 / 16);
|
||||
$o-theme-h6-font-size-multiplier: (18 / 16);
|
||||
|
||||
$o-theme-headings-font-weight: 600;
|
||||
|
||||
$o-theme-font-configs: (
|
||||
'Heebo': (
|
||||
@@ -46,6 +48,10 @@ $o-theme-font-configs: (
|
||||
'family': ('Muli', sans-serif),
|
||||
'url': 'Muli:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Cormorant Garamond': (
|
||||
'family': ('Cormorant Garamond', serif),
|
||||
'url': 'Cormorant+Garamond:300,300i,400,400i,700,700i',
|
||||
),
|
||||
);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
@@ -54,9 +60,9 @@ $o-theme-font-configs: (
|
||||
|
||||
$o-website-values-palettes: (
|
||||
(
|
||||
'color-palettes-name': 'orchid-1',
|
||||
'color-palettes-name': 'orchid-7',
|
||||
'font': 'Questrial',
|
||||
'headings-font': 'Questrial',
|
||||
'headings-font': 'Cormorant Garamond',
|
||||
'navbar-font': 'Questrial',
|
||||
'buttons-font': 'Questrial',
|
||||
'header-template': 'default',
|
||||
@@ -97,6 +103,9 @@ $o-color-palettes-compatibility-indexes: (
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Wavy/05', (1: 4, 5: 4));
|
||||
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Wavy/04', (5: 4));
|
||||
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Wavy/07', (3: 4));
|
||||
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Wavy/22', (3: 3));
|
||||
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Wavy/23', (3: 1));
|
||||
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Wavy/01_001', (3: 1));
|
||||
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Wavy/01_001', (3: 2));
|
||||
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Floats/12', (2: 2, 5: 4));
|
||||
|
||||