Skip to content

Commit 55ddb9f

Browse files
committed
[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@bb0cdec) 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 #1090 X-original-commit: ef39cae Signed-off-by: Quentin Smetz (qsm) <[email protected]> Signed-off-by: Nicolas Lempereur (nle) <[email protected]>
1 parent 5bf893b commit 55ddb9f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

theme_cobalt/static/src/scss/primary_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ $o-theme-h6-font-size-multiplier: 1.1;
99
$o-theme-font-configs: (
1010
'Inter': (
1111
'family': ('Inter', serif),
12-
'url': 'Inter:400,400i,600,600i,800,800i',
12+
'url': 'Inter:300,300i,400,400i,600,600i,800,800i',
1313
),
1414

1515
'Abril Fatface': (

theme_paptic/static/src/scss/primary_variables.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
$o-theme-font-configs: (
66
'Inter': (
77
'family': ('Inter', sans-serif),
8-
'url': 'Inter:400,400i,600,600i,800,800i',
8+
'url': 'Inter:300,300i,400,400i,600,600i,800,800i',
99
),
1010

1111
'Inter Tight': (
1212
'family': ('Inter Tight', sans-serif),
13-
'url': 'Inter+Tight:400,400i,600,600i,700,700i',
13+
'url': 'Inter+Tight:300,300i,400,400i,600,600i,700,700i',
1414
),
1515

1616
'Nunito': (

0 commit comments

Comments
 (0)