feat: 更新 README 和样式文件,调整依赖安装路径,重构基础样式并添加重置样式
All checks were successful
/ depcheck (push) Successful in 1m10s
/ build-and-deploy-to-vercel (push) Successful in 1m9s
/ playwright (push) Successful in 2m23s

This commit is contained in:
严浩
2024-12-25 09:49:29 +08:00
parent ea2eddb4c3
commit 03d22e09a0
5 changed files with 6 additions and 23 deletions

View File

@ -1,24 +1,5 @@
:root {
--h-base-font: lxgw-wenkai-mono-tc, alibaba-puhuiti, Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}
:root:root {
--van-base-font: var(--h-base-font);
}
body {
/* min-height: 100vh; */
color: var(--color-text);
background: var(--color-background);
transition:
color 0.5s,
background-color 0.5s;
line-height: 1.6;
font-family: var(--h-base-font);
font-weight: 400;
font-style: normal;
font-size: 15px;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

View File

@ -2,6 +2,7 @@ import 'nprogress/nprogress.css'; // <link rel="stylesheet" href="https://testin
import '@unocss/reset/tailwind-compat.css'; // https://unocss.dev/guide/style-reset#tailwind-compat // <link rel="stylesheet" href="https://testingcf.jsdelivr.net/npm/@unocss/reset/tailwind.min.css" />
import './base.css';
import './main.less';
import 'primeicons/primeicons.css';

View File

@ -15,7 +15,6 @@
background-color: hsla(160, 100%, 37%, 0.2);
}
.layout-tip {
position: fixed;
top: 1rem;
@ -31,4 +30,4 @@
opacity: 0.8;
background: rgba(255, 255, 255, 0.5); /* 半透明白色背景 */
backdrop-filter: blur(5px); /* 背景模糊 */
}
}

View File

@ -0,0 +1,3 @@
:root:root {
--van-base-font: var(--h-base-font);
}