Skip to content

Commit 2014d8f

Browse files
authored
chore(opencode): add systematic theme configuration to opencode.json (#44)
1 parent 5d892f3 commit 2014d8f

2 files changed

Lines changed: 240 additions & 1 deletion

File tree

.opencode/themes/systematic.json

Lines changed: 238 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,238 @@
1+
{
2+
"$schema": "https://opencode.ai/theme.json",
3+
"defs": {
4+
"bgDeep": "#0b0b1a",
5+
"bgMid": "#121b33",
6+
"bgLight": "#1a1a2e",
7+
"bgPanel": "#16162D",
8+
"bgElement": "#2d2d52",
9+
"cyan": "#4FD1C5",
10+
"cyanMuted": "#3BA89E",
11+
"cyanLight": "#81E6D9",
12+
"magenta": "#E91E8C",
13+
"magentaMuted": "#C41875",
14+
"orange": "#F5A623",
15+
"orangeMuted": "#D4901F",
16+
"textPrimary": "#FFFFFF",
17+
"textSecondary": "#81E6D9",
18+
"textMuted": "#8AA0C2",
19+
"textDim": "#55637C",
20+
"borderDefault": "#2d2d52",
21+
"borderActive": "#4FD1C5",
22+
"borderSubtle": "#1a1a2e",
23+
"success": "#63E2A0",
24+
"error": "#FF9595",
25+
"warning": "#F5A623",
26+
"lightBg": "#F7FAFC",
27+
"lightBgPanel": "#EDF2F7",
28+
"lightBgElement": "#E2E8F0",
29+
"lightText": "#1A202C",
30+
"lightTextSecondary": "#2D3748",
31+
"lightTextMuted": "#718096",
32+
"lightBorder": "#CBD5E0",
33+
"lightBorderActive": "#3BA89E",
34+
"lightBorderSubtle": "#E2E8F0"
35+
},
36+
"theme": {
37+
"primary": {
38+
"dark": "cyan",
39+
"light": "cyanMuted"
40+
},
41+
"secondary": {
42+
"dark": "magenta",
43+
"light": "magentaMuted"
44+
},
45+
"accent": {
46+
"dark": "orange",
47+
"light": "orangeMuted"
48+
},
49+
"error": {
50+
"dark": "error",
51+
"light": "#E53E3E"
52+
},
53+
"warning": {
54+
"dark": "warning",
55+
"light": "orangeMuted"
56+
},
57+
"success": {
58+
"dark": "success",
59+
"light": "#38A169"
60+
},
61+
"info": {
62+
"dark": "cyan",
63+
"light": "cyanMuted"
64+
},
65+
"text": {
66+
"dark": "textPrimary",
67+
"light": "lightText"
68+
},
69+
"textMuted": {
70+
"dark": "textMuted",
71+
"light": "lightTextMuted"
72+
},
73+
"background": {
74+
"dark": "bgDeep",
75+
"light": "lightBg"
76+
},
77+
"backgroundPanel": {
78+
"dark": "bgPanel",
79+
"light": "lightBgPanel"
80+
},
81+
"backgroundElement": {
82+
"dark": "bgElement",
83+
"light": "lightBgElement"
84+
},
85+
"border": {
86+
"dark": "borderDefault",
87+
"light": "lightBorder"
88+
},
89+
"borderActive": {
90+
"dark": "borderActive",
91+
"light": "lightBorderActive"
92+
},
93+
"borderSubtle": {
94+
"dark": "borderSubtle",
95+
"light": "lightBorderSubtle"
96+
},
97+
"diffAdded": {
98+
"dark": "success",
99+
"light": "#38A169"
100+
},
101+
"diffRemoved": {
102+
"dark": "error",
103+
"light": "#E53E3E"
104+
},
105+
"diffContext": {
106+
"dark": "textMuted",
107+
"light": "lightTextMuted"
108+
},
109+
"diffHunkHeader": {
110+
"dark": "textDim",
111+
"light": "lightTextMuted"
112+
},
113+
"diffHighlightAdded": {
114+
"dark": "success",
115+
"light": "#38A169"
116+
},
117+
"diffHighlightRemoved": {
118+
"dark": "error",
119+
"light": "#E53E3E"
120+
},
121+
"diffAddedBg": {
122+
"dark": "#1B3923",
123+
"light": "#C6F6D5"
124+
},
125+
"diffRemovedBg": {
126+
"dark": "#3D1B1B",
127+
"light": "#FED7D7"
128+
},
129+
"diffContextBg": {
130+
"dark": "bgPanel",
131+
"light": "lightBgPanel"
132+
},
133+
"diffLineNumber": {
134+
"dark": "textDim",
135+
"light": "lightTextMuted"
136+
},
137+
"diffAddedLineNumberBg": {
138+
"dark": "#1B3923",
139+
"light": "#C6F6D5"
140+
},
141+
"diffRemovedLineNumberBg": {
142+
"dark": "#3D1B1B",
143+
"light": "#FED7D7"
144+
},
145+
"markdownText": {
146+
"dark": "textPrimary",
147+
"light": "lightText"
148+
},
149+
"markdownHeading": {
150+
"dark": "cyan",
151+
"light": "cyanMuted"
152+
},
153+
"markdownLink": {
154+
"dark": "magenta",
155+
"light": "magentaMuted"
156+
},
157+
"markdownLinkText": {
158+
"dark": "cyanLight",
159+
"light": "cyanMuted"
160+
},
161+
"markdownCode": {
162+
"dark": "orange",
163+
"light": "orangeMuted"
164+
},
165+
"markdownBlockQuote": {
166+
"dark": "textMuted",
167+
"light": "lightTextMuted"
168+
},
169+
"markdownEmph": {
170+
"dark": "cyanLight",
171+
"light": "cyanMuted"
172+
},
173+
"markdownStrong": {
174+
"dark": "orange",
175+
"light": "orangeMuted"
176+
},
177+
"markdownHorizontalRule": {
178+
"dark": "borderDefault",
179+
"light": "lightBorder"
180+
},
181+
"markdownListItem": {
182+
"dark": "cyan",
183+
"light": "cyanMuted"
184+
},
185+
"markdownListEnumeration": {
186+
"dark": "magenta",
187+
"light": "magentaMuted"
188+
},
189+
"markdownImage": {
190+
"dark": "magenta",
191+
"light": "magentaMuted"
192+
},
193+
"markdownImageText": {
194+
"dark": "cyanLight",
195+
"light": "cyanMuted"
196+
},
197+
"markdownCodeBlock": {
198+
"dark": "textPrimary",
199+
"light": "lightText"
200+
},
201+
"syntaxComment": {
202+
"dark": "textMuted",
203+
"light": "lightTextMuted"
204+
},
205+
"syntaxKeyword": {
206+
"dark": "magenta",
207+
"light": "magentaMuted"
208+
},
209+
"syntaxFunction": {
210+
"dark": "cyan",
211+
"light": "cyanMuted"
212+
},
213+
"syntaxVariable": {
214+
"dark": "cyanLight",
215+
"light": "lightTextSecondary"
216+
},
217+
"syntaxString": {
218+
"dark": "orange",
219+
"light": "orangeMuted"
220+
},
221+
"syntaxNumber": {
222+
"dark": "magenta",
223+
"light": "magentaMuted"
224+
},
225+
"syntaxType": {
226+
"dark": "cyan",
227+
"light": "cyanMuted"
228+
},
229+
"syntaxOperator": {
230+
"dark": "textSecondary",
231+
"light": "lightTextSecondary"
232+
},
233+
"syntaxPunctuation": {
234+
"dark": "textMuted",
235+
"light": "lightTextMuted"
236+
}
237+
}
238+
}

opencode.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"command": ["markdownlint", "--dot", "--fix", "$FILE"],
77
"extensions": [".md"]
88
}
9-
}
9+
},
10+
"theme": "systematic"
1011
}

0 commit comments

Comments
 (0)