⚡️ improve: delete google fonts
This commit is contained in:
parent
4212ed6fc2
commit
6c1e592a01
@ -11,12 +11,6 @@
|
||||
name="description"
|
||||
content="OpenAI 接口聚合管理,支持多种渠道包括 Azure,可用于二次分发管理 key,仅单可执行文件,已打包好 Docker 镜像,一键部署,开箱即用"
|
||||
/>
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap"
|
||||
rel="stylesheet"
|
||||
media="print" onload="this.media='all'"
|
||||
/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
BIN
web/src/assets/fonts/roboto-500.woff2
Normal file
BIN
web/src/assets/fonts/roboto-500.woff2
Normal file
Binary file not shown.
BIN
web/src/assets/fonts/roboto-700.woff2
Normal file
BIN
web/src/assets/fonts/roboto-700.woff2
Normal file
Binary file not shown.
BIN
web/src/assets/fonts/roboto-regular.woff2
Normal file
BIN
web/src/assets/fonts/roboto-regular.woff2
Normal file
Binary file not shown.
32
web/src/assets/scss/fonts.scss
Normal file
32
web/src/assets/scss/fonts.scss
Normal file
@ -0,0 +1,32 @@
|
||||
|
||||
/* roboto-regular */
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: local('Roboto'), url('../fonts/roboto-regular.woff2') format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
/* roboto-500 */
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-display: swap;
|
||||
src: local('Roboto'), url('../fonts/roboto-500.woff2') format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
|
||||
/* roboto-700 */
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
src: local('Roboto'), url('../fonts/roboto-700.woff2') format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
@ -1,3 +1,4 @@
|
||||
@import 'fonts.scss';
|
||||
// color variants
|
||||
@import 'themes-vars.module.scss';
|
||||
|
||||
|
@ -3,7 +3,7 @@ const config = {
|
||||
// like '/berry-material-react/react/default'
|
||||
basename: '/',
|
||||
defaultPath: '/panel/dashboard',
|
||||
fontFamily: `'Roboto', sans-serif, Helvetica, Arial, sans-serif`,
|
||||
fontFamily: `'Roboto', Helvetica, sans-serif`,
|
||||
borderRadius: 12,
|
||||
siteInfo: {
|
||||
chat_link: '',
|
||||
|
Loading…
Reference in New Issue
Block a user