mirror of
https://github.com/ArvinLovegood/go-stock.git
synced 2025-07-19 00:00:09 +08:00
- 在 Settings 模型中添加 darkTheme 字段 - 在前端 App.vue 中实现暗黑主题切换 - 更新设置界面,增加暗黑主题开关 - 调整股票卡片样式,支持暗黑主题 - 优化 HTML 和 CSS 样式以适应暗黑主题
27 lines
565 B
CSS
27 lines
565 B
CSS
html {
|
|
/*background-color: rgba(27, 38, 54, 1);*/
|
|
text-align: center;
|
|
/*color: white;*/
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
/*color: white;*/
|
|
font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
|
|
"Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
|
|
sans-serif;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Nunito";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: local(""),
|
|
url("assets/fonts/nunito-v16-latin-regular.woff2") format("woff2");
|
|
}
|
|
|
|
#app {
|
|
height: 100vh;
|
|
text-align: center;
|
|
}
|