Skip to content

Commit

Permalink
[IMP] theme_*: POC website design in db
Browse files Browse the repository at this point in the history
This PR is a walking skeleton of the website design in db.

task-2463604
  • Loading branch information
Guillaume-gdi committed Feb 9, 2024
1 parent e50cc50 commit c57449e
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 4 deletions.
1 change: 0 additions & 1 deletion theme_avantgarde/static/src/scss/primary_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ $o-theme-font-configs: (
$o-website-values-palettes: (
(
'color-palettes-name': 'avantgarde-3',
'layout': 'full',

'font-size-base': 1rem,
'font': 'Syne',
Expand Down
1 change: 0 additions & 1 deletion theme_bewise/static/src/scss/primary_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ $o-website-values-palettes: (
'font': 'Darker Grotesque',
'headings-font': 'Raleway',

'layout': 'full',
'header-template': 'default',
'menu-box-shadow': false,
'footer-template': 'headline',
Expand Down
1 change: 1 addition & 0 deletions theme_graphene/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
'data': [
'data/generate_primary_template.xml',
'data/ir_asset.xml',
'data/theme_website_design.xml',
'views/images_library.xml',
'views/customizations.xml',
'views/new_page_template.xml',
Expand Down
9 changes: 9 additions & 0 deletions theme_graphene/data/theme_website_design.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<record id="theme_graphene.design" model="theme.website.design">
<field name="layout">'boxed'</field>
<field name="theme_id" ref="base.module_theme_graphene"/>
</record>

</odoo>
1 change: 0 additions & 1 deletion theme_graphene/static/src/scss/primary_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ $o-website-values-palettes: (
'headings-font': 'Assistant',

'btn-ripple': true,
'layout': 'boxed',
'header-template': 'sales_three',
'footer-template': 'centered',

Expand Down
1 change: 1 addition & 0 deletions theme_nano/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
'data': [
'data/generate_primary_template.xml',
'data/ir_asset.xml',
'data/theme_website_design.xml',
'views/images_library.xml',

'views/snippets/s_banner.xml',
Expand Down
9 changes: 9 additions & 0 deletions theme_nano/data/theme_website_design.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<record id="theme_nano.design" model="theme.website.design">
<field name="layout">'postcard'</field>
<field name="theme_id" ref="base.module_theme_nano"/>
</record>

</odoo>
1 change: 0 additions & 1 deletion theme_nano/static/src/scss/primary_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ $o-website-values-palettes: (
'buttons-font': 'Nunito',

// Body
'layout': 'postcard',
'btn-ripple': true,

// Footer
Expand Down

0 comments on commit c57449e

Please sign in to comment.