mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_buzzy: revamp the theme
task-4178061 Part of task-4177975 closes odoo/design-themes#907 Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
@@ -9,34 +9,34 @@ const snippets = [
|
||||
groupName: "Intro",
|
||||
},
|
||||
{
|
||||
id: 's_text_image',
|
||||
name: 'Text - Image',
|
||||
id: 's_discovery',
|
||||
name: 'Discovery',
|
||||
groupName: "Intro",
|
||||
},
|
||||
{
|
||||
id: 's_showcase',
|
||||
name: 'Showcase',
|
||||
groupName: "Content",
|
||||
},
|
||||
{
|
||||
id: 's_three_columns',
|
||||
name: 'Columns',
|
||||
id: 's_key_benefits',
|
||||
name: 'Key benefits',
|
||||
groupName: "Columns",
|
||||
},
|
||||
{
|
||||
id: 's_image_text',
|
||||
name: 'Image - Text',
|
||||
id: 's_accordion_image',
|
||||
name: 'Accordion Image',
|
||||
groupName: "Content",
|
||||
},
|
||||
{
|
||||
id: 's_numbers',
|
||||
name: 'Numbers',
|
||||
groupName: "Content",
|
||||
},
|
||||
{
|
||||
id: 's_call_to_action',
|
||||
name: 'Call to Action',
|
||||
id: 's_cta_box',
|
||||
name: 'Box Call to Action',
|
||||
groupName: "Content",
|
||||
},
|
||||
];
|
||||
|
||||
wTourUtils.registerThemeHomepageTour("buzzy_tour", () => [
|
||||
wTourUtils.assertCssVariable('--color-palettes-name', '"kiddo-2"'),
|
||||
wTourUtils.assertCssVariable('--color-palettes-name', '"default-24"'),
|
||||
...wTourUtils.dragNDrop(snippets[0]),
|
||||
...wTourUtils.clickOnText(snippets[0], 'h1', 'top'),
|
||||
wTourUtils.goBackToBlocks(),
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
$o-website-values-palettes: (
|
||||
(
|
||||
'color-palettes-name': 'kiddo-2',
|
||||
'color-palettes-name': 'default-24',
|
||||
|
||||
// Header
|
||||
'logo-height': 2.75rem,
|
||||
@@ -12,25 +12,21 @@ $o-website-values-palettes: (
|
||||
|
||||
// Font
|
||||
'font': 'Montserrat',
|
||||
'headings-font': 'Quicksand',
|
||||
|
||||
// Buttons
|
||||
'btn-padding-y': .45rem,
|
||||
'btn-padding-x': 1.35rem,
|
||||
'btn-padding-x': 1rem,
|
||||
'btn-padding-y-sm': .3rem,
|
||||
'btn-padding-x-sm': .9rem,
|
||||
'btn-padding-y-lg': .6rem,
|
||||
'btn-padding-x-lg': 1.8rem,
|
||||
'btn-padding-x-sm': .75rem,
|
||||
'btn-padding-y-lg': 1.25rem,
|
||||
'btn-padding-x-lg': 2.5rem,
|
||||
'btn-border-radius': 10rem,
|
||||
'btn-border-radius-sm': 10rem,
|
||||
'btn-border-radius-lg': 10rem,
|
||||
'btn-ripple': true,
|
||||
|
||||
'input-padding-y': .45rem,
|
||||
'input-padding-y-sm': .3rem,
|
||||
'input-padding-y-lg': .6rem,
|
||||
|
||||
// Footer
|
||||
'footer-template': 'minimalist',
|
||||
'footer-template': 'headline',
|
||||
'footer-effect': 'slideout_slide_hover',
|
||||
'footer-scrolltop': true,
|
||||
),
|
||||
@@ -40,7 +36,7 @@ $o-website-values-palettes: (
|
||||
// Palettes
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
$o-selected-color-palettes-names: append($o-selected-color-palettes-names, 'kiddo-2');
|
||||
$o-selected-color-palettes-names: append($o-selected-color-palettes-names, 'default-24');
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Fonts
|
||||
@@ -98,6 +94,15 @@ $o-theme-font-configs: (
|
||||
'Montserrat': (
|
||||
'family': ('Montserrat', serif),
|
||||
'url': 'Montserrat:300,300i,400,400i,600,600i',
|
||||
'properties': (
|
||||
'base': (
|
||||
'font-size-base': (14 / 16) * 1rem,
|
||||
),
|
||||
)
|
||||
),
|
||||
'Quicksand': (
|
||||
'family': ('Quicksand', sans-serif),
|
||||
'url': 'Quicksand:300,400,600',
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user