Skip to content

Commit f62b722

Browse files
authored
docs: country flag missing in windows (#16698)
* fix: country flag in windows * fix: stylelint
1 parent 4d27ec6 commit f62b722

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

docs/src/_includes/layouts/base.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,13 @@
116116
font-weight: 400;
117117
font-display: swap;
118118
}
119+
120+
/* Country Flags for Windows */
121+
@font-face {
122+
font-family: "Twemoji Country Flags";
123+
unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067, U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F;
124+
src: url("https://cdn.jsdelivr.net/npm/[email protected]/dist/TwemojiCountryFlags.woff2") format("woff2");
125+
}
119126
</style>
120127
<script>
121128
if ("fonts" in document) {

docs/src/assets/scss/tokens/typography.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
Arial,
6565
sans-serif,
6666
"Apple Color Emoji",
67+
"Twemoji Country Flags",
6768
"Segoe UI Emoji",
6869
"Segoe UI Symbol";
6970
--display-font:

0 commit comments

Comments
 (0)