feat: use Noto Emoji Color

This commit is contained in:
vinceh121 2024-07-31 02:10:55 +02:00
parent 697f82c6dd
commit b713a1ae47
No known key found for this signature in database
GPG Key ID: 780725DCACF96F16
4 changed files with 22 additions and 2 deletions

View File

@ -1,3 +1,15 @@
body {
margin: 0;
@font-face {
font-family: "Noto Color Emoji";
font-style: normal;
font-display: swap;
font-weight: 400;
src: url(@fontsource/noto-color-emoji/files/noto-color-emoji-emoji-400-normal.woff2)
format("woff2"),
url(@fontsource/noto-color-emoji/files/noto-color-emoji-emoji-400-normal.woff)
format("woff");
}
body {
margin: 0;
font-family: "Noto Color Emoji", sans-serif;
}

View File

@ -6,6 +6,8 @@ import {HashRouter} from "react-router-dom";
import 'antd/dist/reset.css';
import './i18n'
import './index.css'
const root = ReactDOM.createRoot(document.getElementById("root") as HTMLElement)

View File

@ -18,6 +18,7 @@
"@babel/core": "^7.17.0",
"@babel/preset-env": "^7.16.0",
"@babel/preset-react": "^7.24.7",
"@fontsource/noto-color-emoji": "^5.0.27",
"@symfony/webpack-encore": "^4.0.0",
"@types/axios": "^0.14.0",
"@types/jsonld": "^1.5.15",

View File

@ -1499,6 +1499,11 @@
resolved "https://registry.yarnpkg.com/@fastify/busboy/-/busboy-2.1.1.tgz#b9da6a878a371829a0502c9b6c1c143ef6663f4d"
integrity sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==
"@fontsource/noto-color-emoji@^5.0.27":
version "5.0.27"
resolved "https://registry.yarnpkg.com/@fontsource/noto-color-emoji/-/noto-color-emoji-5.0.27.tgz#61e40657bea980553bde8fd2d566104bd2859ad6"
integrity sha512-gsIMN5o8qoRLrA+XyDNKKnMNpTbwpNbINisJqirLOLXl83arOV2sHRnNOkVht2gzUcImUxEUBGektp56G3Vj9w==
"@jest/schemas@^29.6.3":
version "29.6.3"
resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.6.3.tgz#430b5ce8a4e0044a7e3819663305a7b3091c8e03"