[IMP] theme_anelusia: update the theme

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

task-2573284

X-original-commit: c3bc687a76
Part-of: odoo/design-themes#501
This commit is contained in:
Brieuc-brd
2021-08-04 14:38:09 +00:00
committed by qsm-odoo
parent 4d313a89cd
commit 2c264af33e
68 changed files with 1006 additions and 409 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ $box-shadow-lg: 0 0 .3125rem rgba(0,0,0,.25) !defaul
$font-weight-normal: if(o-website-value('font-number') == 4, 300, 500) !default;
$headings-font-weight: 700 !default;
$headings-font-weight: $o-theme-headings-font-weight !default;
// Dropdowns
//
@@ -4,20 +4,32 @@
$o-website-values-palettes: (
(
'color-palettes-name': 'anelusia-1',
'color-palettes-name': 'generic-17',
// Header
'header-font-size': (20 / 16) * 1rem,
'header-template': 'hamburger-full',
'header-font-size': 1rem,
'header-template': 'template_header_default',
// Font
'font': 'Source Sans Pro',
'headings-font': 'Source Sans Pro',
'headings-font': 'Spartan',
'navbar-font': 'Source Sans Pro',
'buttons-font': 'Source Sans Pro',
// Links
'link-underline': 'never',
// Buttons
'btn-padding-y': .45rem,
'btn-padding-x': 1.35rem,
'btn-padding-y-sm': .3rem,
'btn-padding-x-sm': .9rem,
'btn-padding-y-lg': .6rem,
'btn-padding-x-lg': 1.8rem,
'btn-border-radius': 10rem,
'btn-border-radius-sm': 10rem,
'btn-border-radius-lg': 10rem,
// Footer
'footer-template': 'headline',
),
@@ -27,6 +39,15 @@ $o-website-values-palettes: (
// Fonts
//------------------------------------------------------------------------------//
$o-theme-h1-font-size-multiplier: (62 / 16);
$o-theme-h2-font-size-multiplier: (32 / 16);
$o-theme-h3-font-size-multiplier: (28 / 16);
$o-theme-h4-font-size-multiplier: (24 / 16);
$o-theme-h5-font-size-multiplier: (21 / 16);
$o-theme-h6-font-size-multiplier: 1;
$o-theme-headings-font-weight: 700;
$o-theme-font-configs: (
'Source Sans Pro': (
'family': ('Source Sans Pro', sans-serif),
@@ -56,6 +77,10 @@ $o-theme-font-configs: (
'family': ('EB Garamond', serif),
'url': 'EB+Garamond:300,300i,400,400i,700,700i',
),
'Spartan': (
'family': ('Spartan', sans-serif),
'url': 'Spartan:300,300i,400,400i,700,700i',
),
);
//------------------------------------------------------------------------------
@@ -137,3 +162,10 @@ $o-color-palettes-compatibility-indexes: (
22: 'generic-16',
23: 'generic-17',
);
//------------------------------------------------------------------------------
// Shapes
//------------------------------------------------------------------------------
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Floats/02', (1: 3, 3: 5));
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Origins/17', (3: 5));