Skip to content

Commit

Permalink
Remove gigantic emoji font (foundryvtt#2404)
Browse files Browse the repository at this point in the history
  • Loading branch information
stwlam authored Jun 10, 2022
1 parent 8aac8aa commit 72926fb
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 25 deletions.
24 changes: 0 additions & 24 deletions src/styles/_fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -213,29 +213,6 @@
src: local(""), url("../fonts/vollkorn-v13-latin-900.woff2") format("woff2");
}

/* noto-emoji-regular - emoji */
@font-face {
font-family: "Noto Emoji";
font-style: normal;
font-weight: 400;
src: local(""), url("../fonts/noto-emoji-v24-emoji-regular.woff2") format("woff2");

}
/* noto-emoji-500 - emoji */
@font-face {
font-family: "Noto Emoji";
font-style: normal;
font-weight: 500;
src: local(""), url("../fonts/noto-emoji-v24-emoji-400.woff2") format("woff2");
}
/* noto-emoji-700 - emoji */
@font-face {
font-family: "Noto Emoji";
font-style: normal;
font-weight: 700;
src: local(""), url("../fonts/noto-emoji-v24-emoji-700.woff2") format("woff2");
}

:root {
/** Font-size variables not defined by Foundry */
--font-size-8: 0.5rem;
Expand All @@ -254,7 +231,6 @@

/** Font families */
--body-serif: Gelasio, Georgia, serif;
--emoji: "Noto Emoji", serif;
--sans-serif: Roboto, sans-serif;
--sans-serif-condensed: "Roboto Condensed", var(--sans-serif);
--sans-serif-monospace: "Roboto Mono", monospace;
Expand Down
1 change: 0 additions & 1 deletion src/styles/ui/_icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ $icons: (
}

.icon {
font-family: var(--emoji);
font-style: normal;

@each $name, $icon in $icons {
Expand Down
Binary file removed static/fonts/noto-emoji-v24-emoji-500.woff2
Binary file not shown.
Binary file removed static/fonts/noto-emoji-v24-emoji-700.woff2
Binary file not shown.
Binary file removed static/fonts/noto-emoji-v24-emoji-regular.woff2
Binary file not shown.

0 comments on commit 72926fb

Please sign in to comment.