enhance(style):调整PostCSS插件载入顺序。
This commit is contained in:
parent
bd9d801ef5
commit
15037988ff
|
@ -2,16 +2,16 @@
|
||||||
export default {
|
export default {
|
||||||
syntax: "postcss-scss",
|
syntax: "postcss-scss",
|
||||||
plugins: {
|
plugins: {
|
||||||
|
"postcss-import": {},
|
||||||
"postcss-advanced-variables": {},
|
"postcss-advanced-variables": {},
|
||||||
"postcss-custom-properties": {},
|
"postcss-custom-properties": {},
|
||||||
"postcss-import": {},
|
|
||||||
"postcss-preset-env": {
|
|
||||||
stage: 2,
|
|
||||||
},
|
|
||||||
"postcss-color-mod-function": {},
|
"postcss-color-mod-function": {},
|
||||||
"postcss-utilities": {},
|
"postcss-utilities": {},
|
||||||
lost: {},
|
lost: {},
|
||||||
precss: {},
|
precss: {},
|
||||||
|
"postcss-preset-env": {
|
||||||
|
stage: 2,
|
||||||
|
},
|
||||||
cssnano: {},
|
cssnano: {},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
@import "./mixins.css";
|
@import "./mixins.css";
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
|
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
|
|
||||||
|
@ -38,7 +38,6 @@ body {
|
||||||
|
|
||||||
body,
|
body,
|
||||||
#root {
|
#root {
|
||||||
background-color: var(--palette-bright-blue-5);
|
|
||||||
@util size(100vw, 100vh);
|
@util size(100vw, 100vh);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user