【新增】插件git同步模块,用于同步项目内容,加速项目开发

【调整】前端暗色问题
This commit is contained in:
chudong
2025-05-14 16:50:56 +08:00
parent dc43da936b
commit e6947ec5c4
215 changed files with 19918 additions and 9710 deletions

View File

@@ -39,7 +39,11 @@ export const useTheme = (name?: ThemeName) => {
const themeActiveOverrides = ref<ThemeTemplate | null>(null)
// 是否暗黑
const isDark = useDark()
// const isDark = useDark()
// 禁用自动切换暗色模式避免错误
const isDark = ref(false)
// 主题
const theme = computed(() => {

View File

@@ -16,6 +16,10 @@ const defaultLight: ThemeTemplate = {
themeOverrides: {
common: {
borderRadius: '0.6rem', // 圆角
primaryColor: '#4caf50', // 主色
primaryColorHover: '#20a53a', // 主色悬停
primaryColorPressed: '#157f3a', // 主色按下
primaryColorSuppl: '#4caf50', // 主色补充
},
}, // 主题变量
presetsOverrides: presets, // 预设变量