mirror of
https://git.meshkee.com/cssd/cssd-front.git
synced 2026-10-13 15:23:17 +03:30
fix(fonts): localize fonts and icons to remove CDN dependencies
- install @mdi/font and @fortawesome/fontawesome-free - move required font files to public/fonts (roboto, mdi, fontawesome) - load fonts via public/index.html instead of CDN - remove font imports from main.js
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
@font-face {
|
||||
font-family: "Roboto";
|
||||
src: url("/fonts/roboto/Roboto-Regular.woff2") format("woff2");
|
||||
font-weight: 400;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Roboto";
|
||||
src: url("/fonts/roboto/Roboto-Medium.woff2") format("woff2");
|
||||
font-weight: 500;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Roboto";
|
||||
src: url("/fonts/roboto/Roboto-Bold.woff2") format("woff2");
|
||||
font-weight: 700;
|
||||
}
|
||||
Reference in New Issue
Block a user