mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-09 20:55:25 +03:00
use webfonts instead of ttf
This commit is contained in:
parent
45a318dfed
commit
5b3194577f
BIN
web/public/fonts/Inter-Black.woff2
Normal file
BIN
web/public/fonts/Inter-Black.woff2
Normal file
Binary file not shown.
BIN
web/public/fonts/Inter-BlackItalic.woff2
Normal file
BIN
web/public/fonts/Inter-BlackItalic.woff2
Normal file
Binary file not shown.
BIN
web/public/fonts/Inter-Bold.woff2
Normal file
BIN
web/public/fonts/Inter-Bold.woff2
Normal file
Binary file not shown.
BIN
web/public/fonts/Inter-BoldItalic.woff2
Normal file
BIN
web/public/fonts/Inter-BoldItalic.woff2
Normal file
Binary file not shown.
BIN
web/public/fonts/Inter-ExtraBold.woff2
Normal file
BIN
web/public/fonts/Inter-ExtraBold.woff2
Normal file
Binary file not shown.
BIN
web/public/fonts/Inter-ExtraBoldItalic.woff2
Normal file
BIN
web/public/fonts/Inter-ExtraBoldItalic.woff2
Normal file
Binary file not shown.
BIN
web/public/fonts/Inter-ExtraLight.woff2
Normal file
BIN
web/public/fonts/Inter-ExtraLight.woff2
Normal file
Binary file not shown.
BIN
web/public/fonts/Inter-ExtraLightItalic.woff2
Normal file
BIN
web/public/fonts/Inter-ExtraLightItalic.woff2
Normal file
Binary file not shown.
BIN
web/public/fonts/Inter-Italic.woff2
Normal file
BIN
web/public/fonts/Inter-Italic.woff2
Normal file
Binary file not shown.
BIN
web/public/fonts/Inter-Light.woff2
Normal file
BIN
web/public/fonts/Inter-Light.woff2
Normal file
Binary file not shown.
BIN
web/public/fonts/Inter-LightItalic.woff2
Normal file
BIN
web/public/fonts/Inter-LightItalic.woff2
Normal file
Binary file not shown.
BIN
web/public/fonts/Inter-Medium.woff2
Normal file
BIN
web/public/fonts/Inter-Medium.woff2
Normal file
Binary file not shown.
BIN
web/public/fonts/Inter-MediumItalic.woff2
Normal file
BIN
web/public/fonts/Inter-MediumItalic.woff2
Normal file
Binary file not shown.
BIN
web/public/fonts/Inter-Regular.woff2
Normal file
BIN
web/public/fonts/Inter-Regular.woff2
Normal file
Binary file not shown.
BIN
web/public/fonts/Inter-SemiBold.woff2
Normal file
BIN
web/public/fonts/Inter-SemiBold.woff2
Normal file
Binary file not shown.
BIN
web/public/fonts/Inter-SemiBoldItalic.woff2
Normal file
BIN
web/public/fonts/Inter-SemiBoldItalic.woff2
Normal file
Binary file not shown.
BIN
web/public/fonts/Inter-Thin.woff2
Normal file
BIN
web/public/fonts/Inter-Thin.woff2
Normal file
Binary file not shown.
BIN
web/public/fonts/Inter-ThinItalic.woff2
Normal file
BIN
web/public/fonts/Inter-ThinItalic.woff2
Normal file
Binary file not shown.
Binary file not shown.
@ -24,11 +24,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: "Inter";
|
|
||||||
src: url("../fonts/Inter-VariableFont_slnt,wght.ttf");
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Hide scrollbar for Chrome, Safari and Opera */
|
/* Hide scrollbar for Chrome, Safari and Opera */
|
||||||
.no-scrollbar::-webkit-scrollbar {
|
.no-scrollbar::-webkit-scrollbar {
|
||||||
display: none;
|
display: none;
|
||||||
@ -39,3 +34,131 @@
|
|||||||
-ms-overflow-style: none; /* IE and Edge */
|
-ms-overflow-style: none; /* IE and Edge */
|
||||||
scrollbar-width: none; /* Firefox */
|
scrollbar-width: none; /* Firefox */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* static fonts */
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inter";
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 100;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("../fonts/Inter-Thin.woff2") format("woff2");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inter";
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 100;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("../fonts/Inter-ThinItalic.woff2") format("woff2");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inter";
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 200;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("../fonts/Inter-ExtraLight.woff2") format("woff2");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inter";
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 200;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("../fonts/Inter-ExtraLightItalic.woff2") format("woff2");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inter";
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 300;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("../fonts/Inter-Light.woff2") format("woff2");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inter";
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 300;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("../fonts/Inter-LightItalic.woff2") format("woff2");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inter";
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("../fonts/Inter-Regular.woff2") format("woff2");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inter";
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("../fonts/Inter-Italic.woff2") format("woff2");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inter";
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 500;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("../fonts/Inter-Medium.woff2") format("woff2");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inter";
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 500;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("../fonts/Inter-MediumItalic.woff2") format("woff2");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inter";
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("../fonts/Inter-SemiBold.woff2") format("woff2");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inter";
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("../fonts/Inter-SemiBoldItalic.woff2") format("woff2");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inter";
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("../fonts/Inter-Bold.woff2") format("woff2");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inter";
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 700;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("../fonts/Inter-BoldItalic.woff2") format("woff2");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inter";
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 800;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("../fonts/Inter-ExtraBold.woff2") format("woff2");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inter";
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 800;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("../fonts/Inter-ExtraBoldItalic.woff2") format("woff2");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inter";
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 900;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("../fonts/Inter-Black.woff2") format("woff2");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inter";
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 900;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("../fonts/Inter-BlackItalic.woff2") format("woff2");
|
||||||
|
}
|
||||||
|
|||||||
@ -12,24 +12,24 @@ export default defineConfig({
|
|||||||
server: {
|
server: {
|
||||||
proxy: {
|
proxy: {
|
||||||
"/api": {
|
"/api": {
|
||||||
target: "http://localhost:5000",
|
target: "http://192.168.5.4:5000",
|
||||||
ws: true,
|
ws: true,
|
||||||
},
|
},
|
||||||
"/vod": {
|
"/vod": {
|
||||||
target: "http://localhost:5000",
|
target: "http://192.168.5.4:5000",
|
||||||
},
|
},
|
||||||
"/clips": {
|
"/clips": {
|
||||||
target: "http://localhost:5000",
|
target: "http://192.168.5.4:5000",
|
||||||
},
|
},
|
||||||
"/exports": {
|
"/exports": {
|
||||||
target: "http://localhost:5000",
|
target: "http://192.168.5.4:5000",
|
||||||
},
|
},
|
||||||
"/ws": {
|
"/ws": {
|
||||||
target: "ws://localhost:5000",
|
target: "ws://192.168.5.4:5000",
|
||||||
ws: true,
|
ws: true,
|
||||||
},
|
},
|
||||||
"/live": {
|
"/live": {
|
||||||
target: "ws://localhost:5000",
|
target: "ws://192.168.5.4:5000",
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
ws: true,
|
ws: true,
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user