From ef39caee223d102aa0673b8792218d8d6ee4a483 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Tue, 27 May 2025 10:47:22 +0200 Subject: [PATCH] [FIX] theme_cobalt,theme_paptic: enable blog Inter bolder Scenario: - install theme_cobalt or theme_paptic - go to a website blog post - put a word in bold Result: the bold is not shown bolder than the text Issue: Inter font in theme_cobalt and theme_paptic loads weights 400, 600 and 800. The blog post normal font weight is 300 since 2019 (in odoo/odoo@bb0cdec4594fab8c22265ed8af0c2d431a263b72) and so both normal font-weight and bold inside it are shown with weight 400 which make bold not differentiated. Fix: add 300 weight to Inter font. Note: in 18.0, Inter font already has weight 300 in theme_odoo_experts, theme_enark, theme_vehicle, theme_bookstore, theme_nano, theme_clean and website but it is still missing for cobalt and paptic themes. opw-4818737 closes odoo/design-themes#1088 Signed-off-by: Quentin Smetz (qsm) --- theme_cobalt/static/src/scss/primary_variables.scss | 2 +- theme_paptic/static/src/scss/primary_variables.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/theme_cobalt/static/src/scss/primary_variables.scss b/theme_cobalt/static/src/scss/primary_variables.scss index e3b75dc71..477ae1c37 100644 --- a/theme_cobalt/static/src/scss/primary_variables.scss +++ b/theme_cobalt/static/src/scss/primary_variables.scss @@ -12,7 +12,7 @@ $o-theme-h6-font-size-multiplier: 1.1; $o-theme-font-configs: ( 'Inter': ( 'family': ('Inter', serif), - 'url': 'Inter:400,400i,600,600i,800,800i', + 'url': 'Inter:300,300i,400,400i,600,600i,800,800i', ), 'Abril Fatface': ( diff --git a/theme_paptic/static/src/scss/primary_variables.scss b/theme_paptic/static/src/scss/primary_variables.scss index 2943a018a..bdd035f5c 100644 --- a/theme_paptic/static/src/scss/primary_variables.scss +++ b/theme_paptic/static/src/scss/primary_variables.scss @@ -12,7 +12,7 @@ $o-theme-h6-font-size-multiplier: (18 / 14); $o-theme-font-configs: ( 'Inter': ( 'family': ('Inter', serif), - 'url': 'Inter:400,400i,600,600i,800,800i', + 'url': 'Inter:300,300i,400,400i,600,600i,800,800i', ), 'Nunito': (