mirror of
https://github.com/fankes/beszel.git
synced 2025-10-19 17:59:28 +08:00
remove external fonts
This commit is contained in:
@@ -5,12 +5,6 @@
|
|||||||
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg" />
|
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Beszel</title>
|
<title>Beszel</title>
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
||||||
<link
|
|
||||||
href="https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap"
|
|
||||||
rel="stylesheet"
|
|
||||||
/>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
BIN
beszel/site/public/static/InterVariable.woff2
Normal file
BIN
beszel/site/public/static/InterVariable.woff2
Normal file
Binary file not shown.
@@ -57,6 +57,20 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Fonts */
|
||||||
|
@supports (font-variation-settings: normal) {
|
||||||
|
:root {
|
||||||
|
font-family: Inter, InterVariable, sans-serif;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: InterVariable;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 100 900;
|
||||||
|
font-display: swap;
|
||||||
|
src: url('/static/InterVariable.woff2?v=4.0') format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
@layer base {
|
@layer base {
|
||||||
* {
|
* {
|
||||||
@apply border-border;
|
@apply border-border;
|
||||||
|
@@ -17,7 +17,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
fontFamily: {
|
fontFamily: {
|
||||||
sans: ['Inter', 'sans-serif'],
|
sans: 'Inter, sans-serif',
|
||||||
// body: ['Inter', 'sans-serif'],
|
// body: ['Inter', 'sans-serif'],
|
||||||
// display: ['Inter', 'sans-serif'],
|
// display: ['Inter', 'sans-serif'],
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user