mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[ADD] theme saas-14.3
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
'author': 'Odoo S.A.',
|
||||
'depends': ['theme_common', 'website_animate'],
|
||||
'data': [
|
||||
'views/assets.xml',
|
||||
'data/ir_asset.xml',
|
||||
'views/images.xml',
|
||||
|
||||
'views/snippets/s_cover.xml',
|
||||
@@ -24,4 +24,9 @@
|
||||
],
|
||||
'license': 'LGPL-3',
|
||||
'live_test_url': 'https://theme-orchid.odoo.com',
|
||||
'assets': {
|
||||
'website.assets_editor': [
|
||||
'theme_orchid/static/src/js/tour.js',
|
||||
],
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
|
||||
<record id="theme_orchid.primary_variables_scss" model="theme.ir.asset">
|
||||
<field name="key">theme_orchid.primary_variables_scss</field>
|
||||
<field name="name">Primary variables SCSS</field>
|
||||
<field name="bundle">web._assets_primary_variables</field>
|
||||
<field name="glob">theme_orchid/static/src/scss/primary_variables.scss</field>
|
||||
</record>
|
||||
|
||||
<record id="theme_orchid.compatibility_saas_11_4_variables_scss" model="theme.ir.asset">
|
||||
<field name="key">theme_orchid.compatibility_saas_11_4_variables_scss</field>
|
||||
<field name="name">Compatibility saas 11 4 variables SCSS</field>
|
||||
<field name="bundle">web._assets_primary_variables</field>
|
||||
<field name="glob">/theme_orchid/static/src/scss/compatibility-saas-11.4-variables.scss</field>
|
||||
<field name="active" eval="False"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
@@ -1,68 +1,3 @@
|
||||
// Colors
|
||||
$o-color-palettes: (
|
||||
(
|
||||
'o-color-1': #a1a52f,
|
||||
'o-color-2': #66555c,
|
||||
'o-color-3': #f7f7f7,
|
||||
'o-color-4': #ffffff,
|
||||
'o-color-5': #242327,
|
||||
|
||||
'footer': 4,
|
||||
'copyright': 4,
|
||||
),
|
||||
(
|
||||
'o-color-1': #679b96,
|
||||
'o-color-2': #345552,
|
||||
'o-color-3': #e9e9e9,
|
||||
'o-color-4': #ffffff,
|
||||
'o-color-5': #1e222f,
|
||||
|
||||
'footer': 1,
|
||||
'copyright': 4,
|
||||
),
|
||||
(
|
||||
'o-color-1': #df699c,
|
||||
'o-color-2': #590046,
|
||||
'o-color-3': #dbe8ed,
|
||||
'o-color-4': #ffffff,
|
||||
'o-color-5': #222222,
|
||||
|
||||
'footer': 1,
|
||||
'copyright': 4,
|
||||
),
|
||||
(
|
||||
'o-color-1': #b29964,
|
||||
'o-color-2': #62624c,
|
||||
'o-color-3': #f5f4f4,
|
||||
'o-color-4': #ffffff,
|
||||
'o-color-5': #333333,
|
||||
|
||||
'footer': 1,
|
||||
'copyright': 4,
|
||||
),
|
||||
(
|
||||
'o-color-1': #1ad68f,
|
||||
'o-color-2': #2e2e2e,
|
||||
'o-color-3': #f7f7f7,
|
||||
'o-color-4': #ffffff,
|
||||
'o-color-5': #000000,
|
||||
|
||||
'footer': 1,
|
||||
'copyright': 4,
|
||||
),
|
||||
(
|
||||
'o-color-1': #cfd744,
|
||||
'o-color-2': #3d504a,
|
||||
'o-color-3': #f0f1f1,
|
||||
'o-color-4': #ffffff,
|
||||
'o-color-5': #112625,
|
||||
|
||||
'menu': 4,
|
||||
'footer': 4,
|
||||
'copyright': 5,
|
||||
),
|
||||
);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Fonts
|
||||
//------------------------------------------------------------------------------
|
||||
@@ -119,6 +54,7 @@ $o-theme-font-configs: (
|
||||
|
||||
$o-website-values-palettes: (
|
||||
(
|
||||
'color-palettes-name': 'orchid-1',
|
||||
'font': 'Questrial',
|
||||
'headings-font': 'Questrial',
|
||||
'navbar-font': 'Questrial',
|
||||
@@ -127,3 +63,31 @@ $o-website-values-palettes: (
|
||||
'footer-template': 'descriptive',
|
||||
),
|
||||
);
|
||||
|
||||
$o-palette-priority-prefix: 'orchid';
|
||||
|
||||
$o-color-palettes-compatibility-indexes: (
|
||||
1: 'orchid-1',
|
||||
2: 'orchid-2',
|
||||
3: 'orchid-3',
|
||||
4: 'orchid-4',
|
||||
5: 'orchid-5',
|
||||
6: 'orchid-6',
|
||||
7: 'generic-1',
|
||||
8: 'generic-2',
|
||||
9: 'generic-3',
|
||||
10: 'generic-4',
|
||||
11: 'generic-5',
|
||||
12: 'generic-6',
|
||||
13: 'generic-7',
|
||||
14: 'generic-8',
|
||||
15: 'generic-9',
|
||||
16: 'generic-10',
|
||||
17: 'generic-11',
|
||||
18: 'generic-12',
|
||||
19: 'generic-13',
|
||||
20: 'generic-14',
|
||||
21: 'generic-15',
|
||||
22: 'generic-16',
|
||||
23: 'generic-17',
|
||||
);
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="_assets_primary_variables" inherit_id="website._assets_primary_variables" priority="1">
|
||||
<xpath expr="//link[last()]" position="after">
|
||||
<link rel="stylesheet" type="text/scss" href="/theme_orchid/static/src/scss/primary_variables.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
<template id="compatibility-saas-11-4-variables" name="Compatibility for saas-11.4 (variables)" inherit_id="theme_common.compatibility-saas-11-4-variables">
|
||||
<xpath expr="//link[last()]" position="before">
|
||||
<link rel="stylesheet" type="text/scss" href="/theme_orchid/static/src/scss/compatibility-saas-11.4-variables.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
<template id="assets_editor" inherit_id="website.assets_editor">
|
||||
<xpath expr="//script[last()]" position="after">
|
||||
<script type="text/javascript" src="/theme_orchid/static/src/js/tour.js"/>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user