mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 17:56:30 -05:00
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:
parent
417a5dc798
commit
02ae83ba5e
7 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
}, [])
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
.markdown-body {
|
||||
position: relative;
|
||||
font-family: 'Source Sans Pro', "twemoji", sans-serif;
|
||||
font-family: 'Source Sans Pro', "Twemoji Mozilla", sans-serif;
|
||||
word-break: break-word;
|
||||
|
||||
.alert > p, .alert > ul {
|
||||
|
|
|
@ -24,7 +24,7 @@ export const FlowChart: React.FC<FlowChartProps> = ({ code }) => {
|
|||
'line-width': 2,
|
||||
fill: 'none',
|
||||
'font-size': '16px',
|
||||
'font-family': 'Source Code Pro, twemoji, monospace'
|
||||
'font-family': 'Source Code Pro, "Twemoji Mozilla", monospace'
|
||||
})
|
||||
setError(false)
|
||||
} catch (error) {
|
||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
|||
@font-face {
|
||||
font-family: "twemoji";
|
||||
font-family: "Twemoji Mozilla";
|
||||
src: url("TwemojiMozilla.ttf") format("truetype");
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ html {
|
|||
|
||||
body {
|
||||
min-height: 100%;
|
||||
font-family: "Source Sans Pro", Helvetica, Arial, twemoji, sans-serif;
|
||||
font-family: "Source Sans Pro", Helvetica, Arial, "Twemoji Mozilla", sans-serif;
|
||||
}
|
||||
|
||||
*:focus {
|
||||
|
|
Loading…
Reference in a new issue