Updates twemoji.ttf with a new version that is built for twemoji 13 (#664)

* Updates twemoji.ttf with a new version that is built for twemoji 13
* Rename font
This commit is contained in:
mrdrogdrog 2020-10-11 12:57:19 +02:00 committed by GitHub
parent 417a5dc798
commit 02ae83ba5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 6 additions and 6 deletions

View file

@ -7,7 +7,7 @@
@import 'hints';
.CodeMirror {
font-family: "Source Code Pro", "twemoji", Consolas, monaco, monospace;
font-family: "Source Code Pro", "Twemoji Mozilla", Consolas, monaco, monospace;
letter-spacing: 0.025em;
line-height: 1.25;
font-size: 18px;

View file

@ -36,7 +36,7 @@ export const EmojiPicker: React.FC<EmojiPickerProps> = ({ show, onEmojiSelected,
const twemojiStyle = useMemo(() => {
const style = document.createElement('style')
style.textContent = 'section.picker { --font-family: "twemoji" !important; }'
style.textContent = 'section.picker { --font-family: "Twemoji Mozilla" !important; }'
return style
}, [])