mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 12:15:25 +03:00
Use Inter font
This commit is contained in:
parent
474bdbca65
commit
2106ca7724
BIN
web/public/fonts/Inter-VariableFont_slnt,wght.ttf
Normal file
BIN
web/public/fonts/Inter-VariableFont_slnt,wght.ttf
Normal file
Binary file not shown.
@ -22,3 +22,8 @@
|
|||||||
@apply bg-background text-foreground;
|
@apply bg-background text-foreground;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inter";
|
||||||
|
src: url("../fonts/Inter-VariableFont_slnt,wght.ttf");
|
||||||
|
}
|
||||||
|
|||||||
@ -2,10 +2,10 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
darkMode: ["class"],
|
darkMode: ["class"],
|
||||||
content: [
|
content: [
|
||||||
'./pages/**/*.{ts,tsx}',
|
"./pages/**/*.{ts,tsx}",
|
||||||
'./components/**/*.{ts,tsx}',
|
"./components/**/*.{ts,tsx}",
|
||||||
'./app/**/*.{ts,tsx}',
|
"./app/**/*.{ts,tsx}",
|
||||||
'./src/**/*.{ts,tsx}',
|
"./src/**/*.{ts,tsx}",
|
||||||
],
|
],
|
||||||
theme: {
|
theme: {
|
||||||
container: {
|
container: {
|
||||||
@ -15,6 +15,9 @@ module.exports = {
|
|||||||
"2xl": "1400px",
|
"2xl": "1400px",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
fontFamily: {
|
||||||
|
sans: ['"Inter"', "sans-serif"],
|
||||||
|
},
|
||||||
extend: {
|
extend: {
|
||||||
colors: {
|
colors: {
|
||||||
border: "hsl(var(--border))",
|
border: "hsl(var(--border))",
|
||||||
@ -77,7 +80,7 @@ module.exports = {
|
|||||||
"accordion-up": "accordion-up 0.2s ease-out",
|
"accordion-up": "accordion-up 0.2s ease-out",
|
||||||
},
|
},
|
||||||
screens: {
|
screens: {
|
||||||
"xs": "480px",
|
xs: "480px",
|
||||||
"2xl": "1440px",
|
"2xl": "1440px",
|
||||||
"3xl": "1920px",
|
"3xl": "1920px",
|
||||||
"4xl": "2560px",
|
"4xl": "2560px",
|
||||||
@ -85,4 +88,4 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [require("tailwindcss-animate")],
|
plugins: [require("tailwindcss-animate")],
|
||||||
}
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user