!!!!!!!!!!

fixed selecting themes - it now actually remembers!!
fix all themes having no names
fix remembering selected themes
added toTheme to return a theme from a themecodable
removed themeNames - its not needed as the names are saved in the ThemeCodable itself
extracted colorcodable and themecodable into their own files
removed all the debug prints
This commit is contained in:
neon443
2025-06-29 10:43:47 +01:00
parent 834fb266e9
commit a4d245caec
20 changed files with 231 additions and 138 deletions

View File

@@ -2,6 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>id</key>
<string>0x96f</string>
<key>name</key>
<string>0x96f</string>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>

View File

@@ -2,6 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>id</key>
<string>catppuccinFrappe</string>
<key>name</key>
<string>catppuccinFrappe</string>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>

View File

@@ -2,6 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>id</key>
<string>catppuccinMocha</string>
<key>name</key>
<string>catppuccinMocha</string>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>

View File

@@ -2,6 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>id</key>
<string>defaultTheme</string>
<key>name</key>
<string>defaultTheme</string>
<key>Ansi 0 Color</key>
<dict>
<key>Red Component</key>

View File

@@ -2,6 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>id</key>
<string>dracula</string>
<key>name</key>
<string>dracula</string>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>

View File

@@ -2,6 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>id</key>
<string>gruvboxDark</string>
<key>name</key>
<string>gruvboxDark</string>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>

View File

@@ -2,6 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>id</key>
<string>iTerm2SolarizedDark</string>
<key>name</key>
<string>iTerm2SolarizedDark</string>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>

View File

@@ -2,6 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>id</key>
<string>iTerm2SolarizedLight</string>
<key>name</key>
<string>iTerm2SolarizedLight</string>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>

View File

@@ -2,6 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>id</key>
<string>tomorrowNight</string>
<key>name</key>
<string>tomorrowNight</string>
<key>Ansi 0 Color</key>
<dict>
<key>Blue Component</key>

View File

@@ -2,6 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>id</key>
<string>ubuntu</string>
<key>name</key>
<string>ubuntu</string>
<key>Ansi 0 Color</key>
<dict>
<key>Blue Component</key>

View File

@@ -2,6 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>id</key>
<string>xcodedark</string>
<key>name</key>
<string>xcodedark</string>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>

View File

@@ -2,6 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>id</key>
<string>xcodedarkhc</string>
<key>name</key>
<string>xcodedarkhc</string>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>

View File

@@ -2,6 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>id</key>
<string>xcodewwdc</string>
<key>name</key>
<string>xcodewwdc</string>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>