ebike-plus-ui/src/style/index.scss

34 lines
561 B
SCSS
Raw Normal View History

2024-04-29 16:02:59 +08:00
@import "./global-theme.scss";
@import "./global-transition.scss";
@import "./global-style.scss";
@import "./loading-page.scss";
* {
margin: 0;
padding: 0;
}
html,
body,
#app {
margin: 0;
padding: 0;
height: 100%;
}
html {
font-size: 14px;
}
#app {
width: 100vw;
height: 100vh;
overflow: hidden;
}
2024-05-01 23:56:53 +08:00
// 设置全局颜色-关联黑暗模式
body {
background-color: var(--color-bg-1);
color: var(--color-text-1);
// color-scheme: dark; // 这个属性设置后,滚动条也能表现为暗色模式
}