mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-23 02:06:29 -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';
|
@import 'hints';
|
||||||
|
|
||||||
.CodeMirror {
|
.CodeMirror {
|
||||||
font-family: "Source Code Pro", "twemoji", Consolas, monaco, monospace;
|
font-family: "Source Code Pro", "Twemoji Mozilla", Consolas, monaco, monospace;
|
||||||
letter-spacing: 0.025em;
|
letter-spacing: 0.025em;
|
||||||
line-height: 1.25;
|
line-height: 1.25;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
|
|
|
@ -36,7 +36,7 @@ export const EmojiPicker: React.FC<EmojiPickerProps> = ({ show, onEmojiSelected,
|
||||||
|
|
||||||
const twemojiStyle = useMemo(() => {
|
const twemojiStyle = useMemo(() => {
|
||||||
const style = document.createElement('style')
|
const style = document.createElement('style')
|
||||||
style.textContent = 'section.picker { --font-family: "twemoji" !important; }'
|
style.textContent = 'section.picker { --font-family: "Twemoji Mozilla" !important; }'
|
||||||
return style
|
return style
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
.markdown-body {
|
.markdown-body {
|
||||||
position: relative;
|
position: relative;
|
||||||
font-family: 'Source Sans Pro', "twemoji", sans-serif;
|
font-family: 'Source Sans Pro', "Twemoji Mozilla", sans-serif;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
|
|
||||||
.alert > p, .alert > ul {
|
.alert > p, .alert > ul {
|
||||||
|
|
|
@ -24,7 +24,7 @@ export const FlowChart: React.FC<FlowChartProps> = ({ code }) => {
|
||||||
'line-width': 2,
|
'line-width': 2,
|
||||||
fill: 'none',
|
fill: 'none',
|
||||||
'font-size': '16px',
|
'font-size': '16px',
|
||||||
'font-family': 'Source Code Pro, twemoji, monospace'
|
'font-family': 'Source Code Pro, "Twemoji Mozilla", monospace'
|
||||||
})
|
})
|
||||||
setError(false)
|
setError(false)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "twemoji";
|
font-family: "Twemoji Mozilla";
|
||||||
src: url("TwemojiMozilla.ttf") format("truetype");
|
src: url("TwemojiMozilla.ttf") format("truetype");
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,7 @@ html {
|
||||||
|
|
||||||
body {
|
body {
|
||||||
min-height: 100%;
|
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 {
|
*:focus {
|
||||||
|
|
Loading…
Reference in a new issue