chore: 更新主题样式和 CSS 变量

This commit is contained in:
2024-08-31 14:07:33 +08:00
parent 0518905615
commit 97e7f6201a
2 changed files with 16 additions and 10 deletions

View File

@@ -13,6 +13,9 @@
'--color-info': themeCommon.infoColor,
'--color-primary': themeCommon.primaryColor,
'--color-success': themeCommon.successColor,
'--color-text-1': themeVars.textColor1,
'--color-text-2': themeVars.textColor2,
'--color-text-3': themeVars.textColor3,
'--color-warning': themeCommon.warningColor,
}"
:theme-overrides="themeOverrides"
@@ -58,10 +61,10 @@ const themeVars = useThemeVars();
// 全局 CSS 变量
:root {
// 基础颜色
--color-black: #252525;
--color-black: rgb(51, 54, 57);
--color-gray: #E0E0E0;
// 分类颜色
--color-bg-dark: #252525;
--color-bg-dark: rgb(51, 54, 57);
--color-bg-light: #F8F8F8;
// 滚动条大小
--scrollbar-size: 8px;