[IMP] theme_paptic: theme improvement

Revamp of `theme_paptic`

task-4178088

closes odoo/design-themes#934

Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
Antoine (anso)
2024-09-25 09:02:17 +02:00
parent fa220d0170
commit 971b323f58
19 changed files with 1125 additions and 1209 deletions
+19 -14
View File
@@ -8,29 +8,34 @@ const snippets = [
name: 'Cover',
groupName: "Intro",
},
{
id: 's_image_text',
name: 'Image - Text',
groupName: "Content",
},
{
id: 's_references',
name: 'References',
groupName: "People",
},
{
id: 's_three_columns',
name: 'Columns',
groupName: "Columns",
},
{
id: 's_comparisons',
name: 'Comparisons',
id: 's_image_text',
name: 'Image - Text',
groupName: "Content",
},
{
id: 's_call_to_action',
name: 'Call to Action',
id: 's_text_image',
name: 'Text - Image',
groupName: "Content",
},
{
id: 's_masonry_block',
name: 'Masonry',
groupName: "Images",
},
{
id: 's_faq_list',
name: 'FAQ List',
groupName: "Text",
},
{
id: 's_cta_box',
name: 'CTA Box',
groupName: "Content",
},
];
+1 -6
View File
@@ -1,8 +1,3 @@
// Headings
$headings-font-weight: 600 !default;
// Buttons
$btn-font-weight: 700;
$headings-font-weight: 700 !default;
@@ -2,25 +2,24 @@
// Fonts
//------------------------------------------------------------------------------
$o-theme-h1-font-size-multiplier: (48 / 14);
$o-theme-h2-font-size-multiplier: (38 / 14);
$o-theme-h4-font-size-multiplier: (24 / 14);
$o-theme-h5-font-size-multiplier: (21 / 14);
$o-theme-h6-font-size-multiplier: (18 / 14);
$o-theme-font-configs: (
'Inter': (
'family': ('Inter', serif),
'family': ('Inter', sans-serif),
'url': 'Inter:400,400i,600,600i,800,800i',
),
'Inter Tight': (
'family': ('Inter Tight', sans-serif),
'url': 'Inter+Tight:400,400i,600,600i,700,700i',
),
'Nunito': (
'family': ('Nunito', serif),
'url': 'Nunito:300,300i,400,400i,700,700i',
),
'Abril Fatface': (
'family': ('Nunito', serif),
'family': ('Abril Fatface', serif),
'url': 'Abril+Fatface:300,300i,400,400i,700,700i',
),
);
@@ -32,29 +31,19 @@ $o-theme-font-configs: (
$o-website-values-palettes: (
(
'color-palettes-name': 'paptic-1',
'color-palettes-name': 'base-2',
'font': 'Inter',
'headings-font': 'Nunito',
'navbar-font': 'Nunito',
'buttons-font': 'Nunito',
'headings-font': 'Inter Tight',
'font-size-base': (14 / 16) * 1rem,
'header-font-size': (14 / 16) * 1rem,
'headings-line-height': 1.1,
'footer-template': 'headline',
'btn-ripple': true,
'btn-font-size': (14 / 16) * 1rem,
'btn-border-radius': 2px,
'btn-font-size-lg': (14 / 16) * 1rem,
'btn-padding-x-lg': (28 / 16) * 1rem,
'btn-border-radius-lg': .5rem,
'btn-padding-y-lg': .75rem,
'btn-padding-x-lg': 1.5rem,
),
);
$o-selected-color-palettes-names: append($o-selected-color-palettes-names, 'paptic-1');
$o-color-palettes-compatibility-indexes: (
1: 'paptic-1',
2: 'generic-1',