Skip to content

Commit

Permalink
fix: fix emoji display on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Aug 6, 2021
1 parent 721a914 commit 0b3665d
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions src/_fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,13 @@

// SIL Open Font License 1.1 (OFL) for Source Sans Fonts
// https://github.com/adobe-fonts/source-sans/blob/release/LICENSE.md
@import url("https://cdn.jsdelivr.net/gh/adobe-fonts/source-sans@3.046R/source-sans-3VF.css");

// Custom Source Han Sans VF fonts for Simplified Chinese
@font-face {
font-family: "Source Han Sans VF";
font-weight: 200 900;
font-style: normal;
font-stretch: normal;
// The following is 8MB even after compression
src: url("https://cdn.jsdelivr.net/gh/adobe-fonts/source-han-sans@release/Variable/WOFF2/OTF/Subset/SourceHanSansCN-VF.otf.woff2");
}
@import url("https://cdn.jsdelivr.net/gh/pengx17/source-fonts@0.0.3/fonts.css");

:root {
--ct-text-size: 16px;
--ct-line-height: 1.6;
--ls-font-family: "Source Sans 3 VF", "Source Han Sans VF", sans-serif;
--ls-font-family: "Apple Color Emoji", "Segoe UI Emoji", "Source Sans 3 VF",
"Source Han Sans VF", sans-serif;
--ct-page-title-font-family: var(--ls-font-family);
--ct-code-font-family: "Fira Code", monospace;
}
Expand Down

0 comments on commit 0b3665d

Please sign in to comment.