feat: 更新 README 和样式文件,调整依赖安装路径,重构基础样式并添加重置样式
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
@ -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';
|
||||
|
@ -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); /* 背景模糊 */
|
||||
}
|
||||
}
|
||||
|
3
src/styles/reset-vant.css
Normal file
3
src/styles/reset-vant.css
Normal file
@ -0,0 +1,3 @@
|
||||
:root:root {
|
||||
--van-base-font: var(--h-base-font);
|
||||
}
|
Reference in New Issue
Block a user