Skip to content

Commit 02c7582

Browse files
committed
feat(app): AMOLED theme
1 parent 3ba9ab2 commit 02c7582

2 files changed

Lines changed: 52 additions & 0 deletions

File tree

packages/ui/src/theme/default-themes.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import vesperThemeJson from "./themes/vesper.json"
1414
import carbonfoxThemeJson from "./themes/carbonfox.json"
1515
import gruvboxThemeJson from "./themes/gruvbox.json"
1616
import auraThemeJson from "./themes/aura.json"
17+
import amoledThemeJson from "./themes/amoled.json"
1718

1819
export const oc2Theme = oc2ThemeJson as DesktopTheme
1920
export const tokyonightTheme = tokyoThemeJson as DesktopTheme
@@ -30,9 +31,11 @@ export const vesperTheme = vesperThemeJson as DesktopTheme
3031
export const carbonfoxTheme = carbonfoxThemeJson as DesktopTheme
3132
export const gruvboxTheme = gruvboxThemeJson as DesktopTheme
3233
export const auraTheme = auraThemeJson as DesktopTheme
34+
export const amoledTheme = amoledThemeJson as DesktopTheme
3335

3436
export const DEFAULT_THEMES: Record<string, DesktopTheme> = {
3537
"oc-2": oc2Theme,
38+
amoled: amoledTheme,
3639
aura: auraTheme,
3740
ayu: ayuTheme,
3841
carbonfox: carbonfoxTheme,
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"$schema": "https://opencode.ai/desktop-theme.json",
3+
"name": "AMOLED",
4+
"id": "amoled",
5+
"light": {
6+
"palette": {
7+
"neutral": "#f0f0f0",
8+
"ink": "#0a0a0a",
9+
"primary": "#6200ff",
10+
"accent": "#ff0080",
11+
"success": "#00e676",
12+
"warning": "#ffab00",
13+
"error": "#ff1744",
14+
"info": "#00b0ff",
15+
"diffAdd": "#00e676",
16+
"diffDelete": "#ff1744"
17+
},
18+
"overrides": {
19+
"syntax-comment": "#757575",
20+
"syntax-keyword": "#d500f9",
21+
"syntax-string": "#00e676",
22+
"syntax-primitive": "#00b0ff",
23+
"syntax-property": "#ff9100",
24+
"syntax-constant": "#6200ff"
25+
}
26+
},
27+
"dark": {
28+
"palette": {
29+
"neutral": "#000000",
30+
"ink": "#ffffff",
31+
"primary": "#b388ff",
32+
"accent": "#ff4081",
33+
"success": "#00ff88",
34+
"warning": "#ffea00",
35+
"error": "#ff1744",
36+
"info": "#18ffff",
37+
"diffAdd": "#00ff88",
38+
"diffDelete": "#ff1744"
39+
},
40+
"overrides": {
41+
"syntax-comment": "#555555",
42+
"syntax-keyword": "#ff00ff",
43+
"syntax-string": "#00ff88",
44+
"syntax-primitive": "#18ffff",
45+
"syntax-property": "#ffea00",
46+
"syntax-constant": "#b388ff"
47+
}
48+
}
49+
}

0 commit comments

Comments
 (0)