[IMP] theme_graphene: update the theme

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

task-2612003

X-original-commit: c801cdb133
Part-of: odoo/design-themes#501
This commit is contained in:
xlu-odoo
2021-07-28 08:01:42 +00:00
committed by qsm-odoo
parent 12876f586e
commit d5919018f2
15 changed files with 467 additions and 369 deletions
@@ -0,0 +1,3 @@
// Headings font weight
$headings-font-weight: 700 !default;
@@ -56,17 +56,17 @@ $o-theme-color-palettes: map-merge($o-theme-color-palettes,
// Fonts
//------------------------------------------------------------------------------
$o-theme-h1-font-size-multiplier: (48.83 / 16);
$o-theme-h2-font-size-multiplier: (39.06 / 16);
$o-theme-h3-font-size-multiplier: (31.25 / 16);
$o-theme-h4-font-size-multiplier: (25.00 / 16);
$o-theme-h5-font-size-multiplier: (20.00 / 16);
$o-theme-h6-font-size-multiplier: 1.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: (28 / 16);
$o-theme-h5-font-size-multiplier: (24 / 16);
$o-theme-h6-font-size-multiplier: (20 / 16);
$o-theme-font-configs: (
'Heebo': (
'family': ('Heebo', sans-serif),
'url': 'Heebo:300,300i,400,400i,700,700i',
'Assistant': (
'family': ('Assistant', sans-serif),
'url': 'Assistant:300,300i,400,400i,700,700i',
),
'Abel': (
'family': ('Abel', sans-serif),
@@ -96,11 +96,15 @@ $o-website-values-palettes: (
'color-palettes-name': 'graphene-1',
'font-size-base': 1rem,
'headings-font': 'Source Sans Pro',
'font': 'Source Sans Pro',
'headings-font': 'Assistant',
'navbar-font': 'Source Sans Pro',
'buttons-font': 'Source Sans Pro',
'btn-ripple': true,
'layout': 'postcard',
'hamburger-type': 'off-canvas',
'header-template': 'centered_logo',
'layout': 'boxed',
'header-template': 'contact',
'footer-template': 'centered',
'btn-font-size-lg': 1rem,
@@ -142,3 +146,6 @@ $o-color-palettes-compatibility-indexes: (
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Origins/02_001', (4: 2, 5: rgba(0, 0, 0, 0)));
$o-bg-shapes: add-extra-shape-colors-mapping('web_editor', 'Origins/02_001', 'second', (4: 2, 5: rgba(0, 0, 0, 0)));
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Origins/06_001', (3: 2));
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Zigs/01_001', (2: 4));