cc9af0525f
Before this commit:
- The assets were not enabled or disabled when installing themes because
we searched for assets with the "key" field instead of the "name" field.
- The "Ripple Effect" was not correctly installed on several themes.
Because the variable and the assets were not both activated. Even if the
variable is not used, it is still necessary for the proper functioning
of the option (e.g. _computeWidgetState).
task-2686370
closes odoo/design-themes#545
X-original-commit: 77b2b97f3d
Related: odoo/odoo#81829
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
139 lines
4.0 KiB
SCSS
139 lines
4.0 KiB
SCSS
//------------------------------------------------------------------------------
|
|
// Fonts
|
|
//------------------------------------------------------------------------------
|
|
|
|
$o-theme-font-configs: (
|
|
'Handlee': (
|
|
'family': ('Handlee', cursive),
|
|
'url': 'Handlee:300,300i,400,400i,700,700i',
|
|
),
|
|
'Gruppo': (
|
|
'family': ('Gruppo', cursive),
|
|
'url': 'Gruppo:300,300i,400,400i,700,700i',
|
|
),
|
|
'Droid Sans': (
|
|
'family': ('Droid Sans', sans-serif),
|
|
),
|
|
'Bowlby One SC': (
|
|
'family': ('Bowlby One SC', cursive),
|
|
'url': 'Bowlby+One+SC:300,300i,400,400i,700,700i',
|
|
),
|
|
'Lobster': (
|
|
'family': ('Lobster', cursive),
|
|
'url': 'Lobster:300,300i,400,400i,700,700i',
|
|
),
|
|
'Nunito': (
|
|
'family': ('Nunito', sans-serif),
|
|
'url': 'Nunito:300,300i,400,400i,700,700i',
|
|
),
|
|
'Raleway': (
|
|
'family': ('Raleway', sans-serif),
|
|
'url': 'Raleway:300,300i,400,400i,700,700i',
|
|
),
|
|
'Source Sans Pro': (
|
|
'family': ('Source Sans Pro', sans-serif),
|
|
'url': 'Source+Sans+Pro:300,300i,400,400i,700,700i',
|
|
),
|
|
'Amatic SC': (
|
|
'family': ('Amatic SC', cursive),
|
|
'url': 'Amatic+SC:300,300i,400,400i,700,700i',
|
|
),
|
|
'Open Sans Condensed': (
|
|
'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',
|
|
),
|
|
'Permanent Marker': (
|
|
'family': ('Permanent Marker', cursive),
|
|
'url': 'Permanent+Marker:300,300i,400,400i,700,700i',
|
|
),
|
|
'Pacifico': (
|
|
'family': ('Pacifico', cursive),
|
|
'url': 'Pacifico:300,300i,400,400i,700,700i',
|
|
),
|
|
'Playfair Display': (
|
|
'family': ('Playfair Display', serif),
|
|
'url': 'Playfair+Display:300,300i,400,400i,700,700i',
|
|
),
|
|
'Playfair Display SC': (
|
|
'family': ('Playfair Display SC', serif),
|
|
'url': 'Playfair+Display+SC:300,300i,400,400i,700,700i',
|
|
),
|
|
);
|
|
|
|
$o-theme-h1-font-size-multiplier: (62 / 16);
|
|
$o-theme-h2-font-size-multiplier: (36 / 16);
|
|
$o-theme-h3-font-size-multiplier: (24 / 16);
|
|
$o-theme-h4-font-size-multiplier: (20 / 16);
|
|
$o-theme-h5-font-size-multiplier: (18 / 16);
|
|
$o-theme-h6-font-size-multiplier: (16 / 16);
|
|
|
|
//------------------------------------------------------------------------------
|
|
// Website customizations
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
$btn-font-weight: 500;
|
|
|
|
$o-website-values-palettes: (
|
|
(
|
|
'color-palettes-name': 'real-estate-4',
|
|
// Header
|
|
'header-template': 'default',
|
|
|
|
// Font
|
|
'font': 'Roboto',
|
|
'headings-font': 'Roboto',
|
|
'navbar-font': 'Roboto',
|
|
'buttons-font': 'Roboto',
|
|
|
|
// Buttons
|
|
'btn-border-radius': 0px,
|
|
'btn-border-radius-sm': 0px,
|
|
'btn-border-radius-lg': 0px,
|
|
'btn-ripple': true,
|
|
),
|
|
);
|
|
|
|
$o-selected-color-palettes-names: append($o-selected-color-palettes-names, 'real-estate-4');
|
|
|
|
$o-color-palettes-compatibility-indexes: (
|
|
1: 'real-estate-1',
|
|
2: 'real-estate-2',
|
|
3: 'real-estate-3',
|
|
4: 'real-estate-4',
|
|
5: 'generic-1',
|
|
6: 'generic-2',
|
|
7: 'generic-3',
|
|
8: 'generic-4',
|
|
9: 'generic-5',
|
|
10: 'generic-6',
|
|
11: 'generic-7',
|
|
12: 'generic-8',
|
|
13: 'generic-9',
|
|
14: 'generic-10',
|
|
15: 'generic-11',
|
|
16: 'generic-12',
|
|
17: 'generic-13',
|
|
18: 'generic-14',
|
|
19: 'generic-15',
|
|
20: 'generic-16',
|
|
21: 'generic-17',
|
|
);
|
|
|
|
//------------------------------------------------------------------------------
|
|
// Shapes
|
|
//------------------------------------------------------------------------------
|
|
|
|
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Origins/18', (1: 3));
|
|
|
|
/* Keep for compatibility */
|
|
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Origins/14', (4: 4));
|