diff options
| author | qsm-odoo <qsm@odoo.com> | 2019-09-23 13:17:35 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2019-09-24 08:44:28 +0000 |
| commit | cf60a783fc6ecc3c9d1fc1966ba7434eb84afd0d (patch) | |
| tree | 6ffc35af0db50946dbfc8c9846437b79e560bec1 /addons/web | |
| parent | c667e95224b8d32acf6569f99261f986be47e96d (diff) | |
[REF] website: make the google font "Roboto" the default website font
Before this commit, the default font for the website was the bootstrap
one, which is a series of many fonts which should at least contain one
which is present on every user system.
The problem is that commit https://github.com/odoo/odoo/commit/ed18095127b20da516fa5ada943b2dd6d5c84652
added the definition of a Roboto font, available in all assets... and
Roboto is part of the bootstrap font. This added a new font loading on
page load and that loading is not optimized at the moment. This thus
broke our work to improve google pagespeed ratings.
This commit replaces the bootstrap font with a forced Roboto font whose
loading is handled by an optimized loading of the related google font.
This also improves the very default font of the website by making it
more stable accross different browser (we will always use the loaded
Roboto font instead of relying on the user system fonts).
Part of https://github.com/odoo/odoo/pull/37293
Diffstat (limited to 'addons/web')
0 files changed, 0 insertions, 0 deletions
