Issue
-
When creating a custom theme using an imported URL and with the CSS Fast Load property enabled, the URL content is not rendered.
@import url("https://fonts.googleapis.com/css2?family=Heebo:wght@100;200;300;400;500;600;700;800;900&display=swap");
Environment
- Liferay DXP.
Resolution
- Please contact support and request a hotfix with the LPS-137750.
Additional Information
- The current workaround is to download the font manually and add it to the theme source code and reference the relative path of the font using the
$font-import-url
variable in_clay_variables.scss
. - How to call custom CSS?