Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: country flag missing in windows #16698

Merged
merged 2 commits into from Dec 23, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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');
}
shanpriyan marked this conversation as resolved.
Show resolved Hide resolved
</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