Add more themes and styles

This commit is contained in:
2025-04-18 11:59:55 +08:00
parent e73adf408e
commit db271eedf7
16 changed files with 332 additions and 1 deletions

View File

@@ -484,6 +484,24 @@ var defaultThemeSet = map[style.StyleType]Theme{
"top": {"#00fffd", "none", "none", "none", "none"},
},
},
// 添加NeonStyle主题
style.NeonStyle: NeonTheme,
// 添加PixelStyle主题
style.PixelStyle: PixelTheme,
// 添加WatercolorStyle主题
style.WatercolorStyle: WatercolorTheme,
// 添加MechStyle主题
style.MechStyle: MechTheme,
// 添加CosmicStyle主题
style.CosmicStyle: CosmicTheme,
// 添加GhostStyle主题
style.GhostStyle: GhostTheme,
}
// initThemes 初始化主题数据
@@ -507,6 +525,12 @@ func (m *Manager) initThemes() {
style.RastaStyle,
style.MetaStyle,
style.SquareStyle,
style.NeonStyle, // 霓虹风格主题
style.PixelStyle, // 像素风格主题
style.WatercolorStyle, // 水彩风格主题
style.MechStyle, // 机械风格主题
style.CosmicStyle, // 宇宙风格主题
style.GhostStyle, // 幽灵风格主题
} {
if themeSet, exists := defaultThemeSet[theme]; exists {
m.AddTheme(themeSet)