enhance(style):调整PostCSS插件载入顺序。

This commit is contained in:
徐涛 2023-12-24 11:16:58 +08:00
parent bd9d801ef5
commit 15037988ff
2 changed files with 5 additions and 6 deletions

View File

@ -2,16 +2,16 @@
export default {
syntax: "postcss-scss",
plugins: {
"postcss-import": {},
"postcss-advanced-variables": {},
"postcss-custom-properties": {},
"postcss-import": {},
"postcss-preset-env": {
stage: 2,
},
"postcss-color-mod-function": {},
"postcss-utilities": {},
lost: {},
precss: {},
"postcss-preset-env": {
stage: 2,
},
cssnano: {},
},
};

View File

@ -3,7 +3,7 @@
@import "./mixins.css";
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 1.5;
@ -38,7 +38,6 @@ body {
body,
#root {
background-color: var(--palette-bright-blue-5);
@util size(100vw, 100vh);
overflow: hidden;
user-select: none;