重构项目,方便开发
This commit is contained in:
51
frontend-vue/src/styles/main.css
Normal file
51
frontend-vue/src/styles/main.css
Normal file
@@ -0,0 +1,51 @@
|
||||
@import './tokens.css';
|
||||
@import './reset.css';
|
||||
|
||||
body {
|
||||
background: var(--color-bg-light);
|
||||
}
|
||||
|
||||
html {
|
||||
scrollbar-color: rgba(123, 135, 148, 0.7) rgba(255, 255, 255, 0.04);
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-track {
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-thumb {
|
||||
background: rgba(123, 135, 148, 0.7);
|
||||
border: 2px solid transparent;
|
||||
border-radius: 999px;
|
||||
background-clip: padding-box;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-thumb:hover {
|
||||
background: rgba(148, 163, 184, 0.9);
|
||||
border: 2px solid transparent;
|
||||
background-clip: padding-box;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-corner {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.page-shell {
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.theme-light {
|
||||
background: var(--color-bg-light);
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.theme-dark {
|
||||
background: var(--color-bg-dark);
|
||||
color: var(--color-text-dark);
|
||||
}
|
||||
Reference in New Issue
Block a user