mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-24 20:14:35 -04:00
Replace twemoji files with twemoji npm package
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
154cb4c739
commit
8b78154075
11 changed files with 12 additions and 19 deletions
|
@ -14,7 +14,7 @@
|
|||
@import '../../../../node_modules/firacode/distr/fira_code.css';
|
||||
|
||||
.CodeMirror {
|
||||
font-family: "Fira Code", "Twemoji Mozilla", Consolas, monaco, monospace;
|
||||
font-family: "Fira Code", "Twemoji", Consolas, monaco, monospace;
|
||||
letter-spacing: 0.025em;
|
||||
line-height: 1.25;
|
||||
font-size: 18px;
|
||||
|
|
|
@ -36,7 +36,7 @@ export const emojiPickerConfig = {
|
|||
|
||||
const twemojiStyle = (): HTMLStyleElement => {
|
||||
const style = document.createElement('style')
|
||||
style.textContent = 'section.picker { --font-family: "Twemoji Mozilla" !important; }'
|
||||
style.textContent = 'section.picker { --font-family: "Twemoji" !important; }'
|
||||
return style
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue