Skip to content

Commit b963d02

Browse files
authored
Merge pull request #1 from gkamradt/codex/add-more-color-templates
Add Dracula and Solarized themes
2 parents 0970892 + 6164e85 commit b963d02

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

src/data/colorThemes.ts

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,37 @@ export const terminalThemes: Record<string, TerminalTheme> = {
7676
secondary: 'text-green-500',
7777
command: 'text-green-600'
7878
}
79+
},
80+
dracula: {
81+
name: 'Dracula',
82+
background: 'bg-gray-900',
83+
colors: {
84+
muted: 'text-gray-400',
85+
success: 'text-green-400',
86+
warning: 'text-yellow-500',
87+
error: 'text-red-500',
88+
info: 'text-cyan-400',
89+
accent: 'text-purple-400',
90+
primary: 'text-pink-300',
91+
secondary: 'text-gray-300',
92+
command: 'text-purple-500'
93+
}
94+
},
95+
solarized: {
96+
name: 'Solarized Dark',
97+
background: 'bg-[#002b36]',
98+
colors: {
99+
muted: 'text-[#839496]',
100+
success: 'text-[#859900]',
101+
warning: 'text-[#b58900]',
102+
error: 'text-[#dc322f]',
103+
info: 'text-[#268bd2]',
104+
accent: 'text-[#2aa198]',
105+
primary: 'text-[#eee8d5]',
106+
secondary: 'text-[#839496]',
107+
command: 'text-[#586e75]'
108+
}
79109
}
80110
};
81111

82-
export const defaultTheme = 'dark';
112+
export const defaultTheme = 'dark';

src/data/terminalOutputs.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,13 @@ export const troubleshootingOutput: TerminalLine[] = [
195195
{ text: "", delay: 100 },
196196
{ text: " 🎨 Theme System Features:", colorRole: "accent", bold: true, delay: 200 },
197197
{ text: "", delay: 100 },
198-
{ text: " 1. 4 Different Themes:", colorRole: "primary", delay: 150 },
198+
{ text: " 1. 6 Different Themes:", colorRole: "primary", delay: 150 },
199199
{ text: " - Dark - Classic terminal with green text on black background", colorRole: "secondary", delay: 100 },
200200
{ text: " - Light - Clean white background with dark text", colorRole: "secondary", delay: 100 },
201201
{ text: " - Minimal - Minimal grayscale theme", colorRole: "secondary", delay: 100 },
202202
{ text: " - Retro Green - Classic monochrome green terminal look", colorRole: "secondary", delay: 100 },
203+
{ text: " - Dracula - Bold colors on dark background", colorRole: "secondary", delay: 100 },
204+
{ text: " - Solarized Dark - Muted earth tones on deep blue", colorRole: "secondary", delay: 100 },
203205
{ text: " 2. Theme Toggle Button - Added to the controls panel to cycle through themes", colorRole: "primary", delay: 150 },
204206
{ text: " 3. Semantic Color Roles - Instead of hardcoded colors, terminal content now uses semantic roles:", colorRole: "primary", delay: 150 },
205207
{ text: " - muted - Gray, secondary text", colorRole: "secondary", delay: 100 },

0 commit comments

Comments
 (0)