Skip to content

Commit

Permalink
docs: country flag missing in windows (#16698)
Browse files Browse the repository at this point in the history
* fix: country flag in windows

* fix: stylelint
  • Loading branch information
shanpriyan committed Dec 23, 2022
1 parent 4d27ec6 commit f62b722
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/src/_includes/layouts/base.html
Expand Up @@ -116,6 +116,13 @@
font-weight: 400;
font-display: swap;
}

/* Country Flags for Windows */
@font-face {
font-family: "Twemoji Country Flags";
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;
src: url("https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1/dist/TwemojiCountryFlags.woff2") format("woff2");
}
</style>
<script>
if ("fonts" in document) {
Expand Down
1 change: 1 addition & 0 deletions docs/src/assets/scss/tokens/typography.scss
Expand Up @@ -64,6 +64,7 @@
Arial,
sans-serif,
"Apple Color Emoji",
"Twemoji Country Flags",
"Segoe UI Emoji",
"Segoe UI Symbol";
--display-font:
Expand Down

0 comments on commit f62b722

Please sign in to comment.