mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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@bb0cdec459) 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#1090
X-original-commit: ef39caee22
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
This commit is contained in:
@@ -9,7 +9,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': (
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
$o-theme-font-configs: (
|
||||
'Inter': (
|
||||
'family': ('Inter', sans-serif),
|
||||
'url': 'Inter:400,400i,600,600i,800,800i',
|
||||
'url': 'Inter:300,300i,400,400i,600,600i,800,800i',
|
||||
),
|
||||
|
||||
'Inter Tight': (
|
||||
'family': ('Inter Tight', sans-serif),
|
||||
'url': 'Inter+Tight:400,400i,600,600i,700,700i',
|
||||
'url': 'Inter+Tight:300,300i,400,400i,600,600i,700,700i',
|
||||
),
|
||||
|
||||
'Nunito': (
|
||||
|
||||
Reference in New Issue
Block a user