go-stock/frontend/src/style.css
ArvinLovegood c8178a6c5f feat(settings):设置界面添加主题切换功能
- 在 Settings 模型中添加 darkTheme 字段
- 在前端 App.vue 中实现暗黑主题切换
- 更新设置界面,增加暗黑主题开关
- 调整股票卡片样式,支持暗黑主题
- 优化 HTML 和 CSS 样式以适应暗黑主题
2025-03-26 15:29:08 +08:00

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;
}