0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

Merge pull request #4910 from penpot/ladybenko-8394-fix-sourcesans

🐛 Fix font declarations for Source Sans
This commit is contained in:
Andrey Antukh 2024-07-23 16:04:36 +02:00 committed by GitHub
commit c51778f391
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,18 +37,18 @@ $_latin-unicode-list: "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+
@include font-face-variable("vazirmatn", "Vazirmatn-VariableFont", $_arabic-unicode-list);
// Source Sans Pro
@include font-face("sourcesanspro", "sourcesanspro-extralight", "200");
@include font-face("sourcesanspro", "sourcesanspro-extralightitalic", "200", italic);
@include font-face("sourcesanspro", "sourcesanspro-light", "300");
@include font-face("sourcesanspro", "sourcesanspro-lightitalic", "300", italic);
@include font-face("sourcesanspro", "sourcesanspro-regular", normal);
@include font-face("sourcesanspro", "sourcesanspro-italic", normal, italic);
@include font-face("sourcesanspro", "sourcesanspro-semibold", "600");
@include font-face("sourcesanspro", "sourcesanspro-semibolditalic", "600", italic);
@include font-face("sourcesanspro", "sourcesanspro-bold", bold);
@include font-face("sourcesanspro", "sourcesanspro-bolditalic", bold, italic);
@include font-face("sourcesanspro", "sourcesanspro-black", "900");
@include font-face("sourcesanspro", "sourcesanspro-blackitalic", "900", italic);
@include font-face("sourcesanspro", "sourcesanspro-extralight", null, "200");
@include font-face("sourcesanspro", "sourcesanspro-extralightitalic", null, "200", italic);
@include font-face("sourcesanspro", "sourcesanspro-light", null, "300");
@include font-face("sourcesanspro", "sourcesanspro-lightitalic", null, "300", italic);
@include font-face("sourcesanspro", "sourcesanspro-regular", null, normal);
@include font-face("sourcesanspro", "sourcesanspro-italic", null, normal, italic);
@include font-face("sourcesanspro", "sourcesanspro-semibold", null, "600");
@include font-face("sourcesanspro", "sourcesanspro-semibolditalic", null, "600", italic);
@include font-face("sourcesanspro", "sourcesanspro-bold", null, bold);
@include font-face("sourcesanspro", "sourcesanspro-bolditalic", null, bold, italic);
@include font-face("sourcesanspro", "sourcesanspro-black", null, "900");
@include font-face("sourcesanspro", "sourcesanspro-blackitalic", null, "900", italic);
// Roboto mono
@include font-face("robotomono", "RobotoMono-Regular", $_latin-unicode-list, normal);