✨ Add more themes and styles
This commit is contained in:
32
theme/cosmic_theme.go
Normal file
32
theme/cosmic_theme.go
Normal file
@@ -0,0 +1,32 @@
|
||||
package theme
|
||||
|
||||
// CosmicTheme 宇宙风格主题
|
||||
var CosmicTheme = Theme{
|
||||
// 第一部分 - 星空风格
|
||||
ThemePart{
|
||||
"env": {"000033"},
|
||||
"clo": {"000000", "8426c7"},
|
||||
"head": {"000000"},
|
||||
"mouth": {"ae00ff"},
|
||||
"eyes": {"5500ff", "00ffff"},
|
||||
"top": {"000000", "8426c7"},
|
||||
},
|
||||
// 第二部分 - 银河风格
|
||||
ThemePart{
|
||||
"env": {"0a001a"},
|
||||
"clo": {"000000", "00ffaa"},
|
||||
"head": {"000000"},
|
||||
"mouth": {"00ffaa"},
|
||||
"eyes": {"00aaff", "ffffff"},
|
||||
"top": {"000000", "00ffaa"},
|
||||
},
|
||||
// 第三部分 - 星云风格
|
||||
ThemePart{
|
||||
"env": {"330033"},
|
||||
"clo": {"000000", "ff00ff"},
|
||||
"head": {"000000"},
|
||||
"mouth": {"ff00ff"},
|
||||
"eyes": {"ff00aa", "ffffff"},
|
||||
"top": {"000000", "ff00ff"},
|
||||
},
|
||||
}
|
32
theme/ghost_theme.go
Normal file
32
theme/ghost_theme.go
Normal file
@@ -0,0 +1,32 @@
|
||||
package theme
|
||||
|
||||
// GhostTheme 幽灵风格主题
|
||||
var GhostTheme = Theme{
|
||||
// 第一部分 - 经典幽灵风格
|
||||
ThemePart{
|
||||
"env": {"1a1a1a"},
|
||||
"clo": {"ffffff", "ffffff"},
|
||||
"head": {"ffffff"},
|
||||
"mouth": {"000000"},
|
||||
"eyes": {"000000"},
|
||||
"top": {"ffffff"},
|
||||
},
|
||||
// 第二部分 - 蓝色幽灵风格
|
||||
ThemePart{
|
||||
"env": {"000033"},
|
||||
"clo": {"aaddff", "aaddff"},
|
||||
"head": {"aaddff"},
|
||||
"mouth": {"000000"},
|
||||
"eyes": {"000000"},
|
||||
"top": {"aaddff"},
|
||||
},
|
||||
// 第三部分 - 绿色幽灵风格
|
||||
ThemePart{
|
||||
"env": {"002211"},
|
||||
"clo": {"aaeecc", "aaeecc"},
|
||||
"head": {"aaeecc"},
|
||||
"mouth": {"000000"},
|
||||
"eyes": {"000000"},
|
||||
"top": {"aaeecc"},
|
||||
},
|
||||
}
|
@@ -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)
|
||||
|
32
theme/mech_theme.go
Normal file
32
theme/mech_theme.go
Normal file
@@ -0,0 +1,32 @@
|
||||
package theme
|
||||
|
||||
// MechTheme 机械风格主题
|
||||
var MechTheme = Theme{
|
||||
// 第一部分 - 钢铁机械风格
|
||||
ThemePart{
|
||||
"env": {"333333"},
|
||||
"clo": {"555555", "777777", "333333"},
|
||||
"head": {"888888"},
|
||||
"mouth": {"222222", "555555"},
|
||||
"eyes": {"333333", "73e8ff"},
|
||||
"top": {"444444", "777777", "222222", "555555"},
|
||||
},
|
||||
// 第二部分 - 铜色机械风格
|
||||
ThemePart{
|
||||
"env": {"251607"},
|
||||
"clo": {"805723", "ab752f", "553211"},
|
||||
"head": {"a87e45"},
|
||||
"mouth": {"302013", "604020"},
|
||||
"eyes": {"553211", "73e8ff"},
|
||||
"top": {"805723", "ab752f", "302013", "604020"},
|
||||
},
|
||||
// 第三部分 - 未来机械风格
|
||||
ThemePart{
|
||||
"env": {"002244"},
|
||||
"clo": {"1a1a1a", "333333", "007acc"},
|
||||
"head": {"444444"},
|
||||
"mouth": {"1a1a1a", "007acc"},
|
||||
"eyes": {"1a1a1a", "00ffff"},
|
||||
"top": {"1a1a1a", "333333", "007acc", "00aaff"},
|
||||
},
|
||||
}
|
32
theme/neon_theme.go
Normal file
32
theme/neon_theme.go
Normal file
@@ -0,0 +1,32 @@
|
||||
package theme
|
||||
|
||||
// NeonTheme 霓虹风格主题
|
||||
var NeonTheme = Theme{
|
||||
// 第一部分 - 赛博朋克风格
|
||||
ThemePart{
|
||||
"env": {"000000"},
|
||||
"clo": {"1e1e1e", "5c5c5c", "00f2ff"},
|
||||
"head": {"000000"},
|
||||
"mouth": {"ff00d4", "00f2ff"},
|
||||
"eyes": {"ff00d4", "00f2ff", "ffffff", "ffffff"},
|
||||
"top": {"1e1e1e", "00f2ff", "ff00d4"},
|
||||
},
|
||||
// 第二部分 - 霓虹黄风格
|
||||
ThemePart{
|
||||
"env": {"0d0030"},
|
||||
"clo": {"1e1e1e", "5c5c5c", "ffdd00"},
|
||||
"head": {"000000"},
|
||||
"mouth": {"ffdd00", "00f2ff"},
|
||||
"eyes": {"ffdd00", "00f2ff", "ffffff", "ffffff"},
|
||||
"top": {"1e1e1e", "00f2ff", "ffdd00"},
|
||||
},
|
||||
// 第三部分 - 霓虹绿风格
|
||||
ThemePart{
|
||||
"env": {"100a00"},
|
||||
"clo": {"1e1e1e", "5c5c5c", "0cff6f"},
|
||||
"head": {"000000"},
|
||||
"mouth": {"0cff6f", "ff00d4"},
|
||||
"eyes": {"0cff6f", "ff00d4", "ffffff", "ffffff"},
|
||||
"top": {"1e1e1e", "ff00d4", "0cff6f"},
|
||||
},
|
||||
}
|
32
theme/pixel_theme.go
Normal file
32
theme/pixel_theme.go
Normal file
@@ -0,0 +1,32 @@
|
||||
package theme
|
||||
|
||||
// PixelTheme 像素风格主题
|
||||
var PixelTheme = Theme{
|
||||
// 第一部分 - 经典像素风格
|
||||
ThemePart{
|
||||
"env": {"333333"},
|
||||
"clo": {"3F51B5"},
|
||||
"head": {"ffcc99"},
|
||||
"mouth": {"cc0000"},
|
||||
"eyes": {"000000"},
|
||||
"top": {"663300"},
|
||||
},
|
||||
// 第二部分 - 像素游戏风格
|
||||
ThemePart{
|
||||
"env": {"4CAF50"},
|
||||
"clo": {"607D8B"},
|
||||
"head": {"ffbb77"},
|
||||
"mouth": {"333333"},
|
||||
"eyes": {"333333"},
|
||||
"top": {"ff9900"},
|
||||
},
|
||||
// 第三部分 - 复古像素风格
|
||||
ThemePart{
|
||||
"env": {"C62828"},
|
||||
"clo": {"9C27B0"},
|
||||
"head": {"CDDC39"},
|
||||
"mouth": {"000000"},
|
||||
"eyes": {"000000"},
|
||||
"top": {"FF5722"},
|
||||
},
|
||||
}
|
32
theme/watercolor_theme.go
Normal file
32
theme/watercolor_theme.go
Normal file
@@ -0,0 +1,32 @@
|
||||
package theme
|
||||
|
||||
// WatercolorTheme 水彩风格主题
|
||||
var WatercolorTheme = Theme{
|
||||
// 第一部分 - 粉色水彩风格
|
||||
ThemePart{
|
||||
"env": {"ffeeff"},
|
||||
"clo": {"f7f7f7", "dddddd"},
|
||||
"head": {"fff0e8"},
|
||||
"mouth": {"ff5599", "ff5599"},
|
||||
"eyes": {"5544aa", "5544aa"},
|
||||
"top": {"dddddd", "cccccc"},
|
||||
},
|
||||
// 第二部分 - 蓝色水彩风格
|
||||
ThemePart{
|
||||
"env": {"eeffff"},
|
||||
"clo": {"f7f7f7", "dddddd"},
|
||||
"head": {"fff0f0"},
|
||||
"mouth": {"00aabb", "00aabb"},
|
||||
"eyes": {"3355dd", "3355dd"},
|
||||
"top": {"ccddff", "bbccee"},
|
||||
},
|
||||
// 第三部分 - 绿色水彩风格
|
||||
ThemePart{
|
||||
"env": {"eeffee"},
|
||||
"clo": {"f7f7f7", "dddddd"},
|
||||
"head": {"fffcf0"},
|
||||
"mouth": {"66aa66", "66aa66"},
|
||||
"eyes": {"006600", "006600"},
|
||||
"top": {"ddffdd", "cceecc"},
|
||||
},
|
||||
}
|
Reference in New Issue
Block a user