diff --git a/extensions/odoo_theme/static/fonts/Inter-italic.var.woff2 b/extensions/odoo_theme/static/fonts/Inter-italic.var.woff2 new file mode 100644 index 000000000..fe6faaa58 Binary files /dev/null and b/extensions/odoo_theme/static/fonts/Inter-italic.var.woff2 differ diff --git a/extensions/odoo_theme/static/fonts/Inter-roman.var.woff2 b/extensions/odoo_theme/static/fonts/Inter-roman.var.woff2 new file mode 100644 index 000000000..dbcd4ce78 Binary files /dev/null and b/extensions/odoo_theme/static/fonts/Inter-roman.var.woff2 differ diff --git a/extensions/odoo_theme/static/scss/_typography.scss b/extensions/odoo_theme/static/scss/_typography.scss index 0c3e389dc..be839388f 100644 --- a/extensions/odoo_theme/static/scss/_typography.scss +++ b/extensions/odoo_theme/static/scss/_typography.scss @@ -20,9 +20,21 @@ } @font-face { - font-family: Inter; - src: url('fonts/Inter-VariableFont_slnt,wght.ttf') format("truetype-variations"); - font-weight: 1 999; + font-family: 'Inter'; + font-weight: 100 900; + font-display: swap; + font-style: normal; + font-named-instance: 'Regular'; + src: url("Inter-roman.var.woff2?v=3.15") format("woff2"); +} + +@font-face { + font-family: 'Inter'; + font-weight: 100 900; + font-display: swap; + font-style: italic; + font-named-instance: 'Italic'; + src: url("Inter-italic.var.woff2?v=3.15") format("woff2"); } //------------------------------------------------------------------------------