@opencode/ui 0.0.0-dev-19729 → 0.0.0-dev-19740
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/theme/default-themes.d.ts +0 -1
- package/dist/theme/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/theme/context.tsx +1 -2
- package/src/theme/default-themes.ts +0 -3
- package/src/theme/index.ts +0 -1
- package/src/theme/themes/oc-2.json +1 -1
- package/src/theme/themes/opencode.json +0 -89
|
@@ -24,7 +24,6 @@ export declare const nightowlTheme: DesktopTheme;
|
|
|
24
24
|
export declare const nordTheme: DesktopTheme;
|
|
25
25
|
export declare const oneDarkTheme: DesktopTheme;
|
|
26
26
|
export declare const oneDarkProTheme: DesktopTheme;
|
|
27
|
-
export declare const opencodeTheme: DesktopTheme;
|
|
28
27
|
export declare const orngTheme: DesktopTheme;
|
|
29
28
|
export declare const osakaJadeTheme: DesktopTheme;
|
|
30
29
|
export declare const palenightTheme: DesktopTheme;
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ export { resolveThemeVariant, resolveTheme, themeToCss } from "./resolve";
|
|
|
4
4
|
export { resolveThemeVariantV2, resolveThemeV2, themeV2ToCss, generateV2Primitives } from "./v2/resolve";
|
|
5
5
|
export { applyTheme, loadThemeFromUrl, getActiveTheme, removeTheme, setColorScheme } from "./loader";
|
|
6
6
|
export { ThemeProvider, useTheme, type ColorScheme } from "./context";
|
|
7
|
-
export { DEFAULT_THEMES, oc2Theme, amoledTheme, auraTheme, ayuTheme, carbonfoxTheme, catppuccinTheme, catppuccinFrappeTheme, catppuccinMacchiatoTheme, cobalt2Theme, cursorTheme, draculaTheme, everforestTheme, flexokiTheme, githubTheme, gruvboxTheme, kanagawaTheme, lucentOrngTheme, materialTheme, matrixTheme, mercuryTheme, monokaiTheme, nightowlTheme, nordTheme, oneDarkTheme, oneDarkProTheme,
|
|
7
|
+
export { DEFAULT_THEMES, oc2Theme, amoledTheme, auraTheme, ayuTheme, carbonfoxTheme, catppuccinTheme, catppuccinFrappeTheme, catppuccinMacchiatoTheme, cobalt2Theme, cursorTheme, draculaTheme, everforestTheme, flexokiTheme, githubTheme, gruvboxTheme, kanagawaTheme, lucentOrngTheme, materialTheme, matrixTheme, mercuryTheme, monokaiTheme, nightowlTheme, nordTheme, oneDarkTheme, oneDarkProTheme, orngTheme, osakaJadeTheme, palenightTheme, rosepineTheme, shadesOfPurpleTheme, solarizedTheme, synthwave84Theme, tokyonightTheme, vercelTheme, vesperTheme, zenburnTheme, } from "./default-themes";
|
package/package.json
CHANGED
package/src/theme/context.tsx
CHANGED
|
@@ -44,7 +44,7 @@ function knownThemes() {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
const names: Record<string, string> = {
|
|
47
|
-
"oc-2": "
|
|
47
|
+
"oc-2": "OpenCode",
|
|
48
48
|
amoled: "AMOLED",
|
|
49
49
|
aura: "Aura",
|
|
50
50
|
ayu: "Ayu",
|
|
@@ -69,7 +69,6 @@ const names: Record<string, string> = {
|
|
|
69
69
|
nord: "Nord",
|
|
70
70
|
"one-dark": "One Dark",
|
|
71
71
|
onedarkpro: "One Dark Pro",
|
|
72
|
-
opencode: "OpenCode",
|
|
73
72
|
orng: "Orng",
|
|
74
73
|
"osaka-jade": "Osaka Jade",
|
|
75
74
|
palenight: "Palenight",
|
|
@@ -24,7 +24,6 @@ import nightowlThemeJson from "./themes/nightowl.json"
|
|
|
24
24
|
import nordThemeJson from "./themes/nord.json"
|
|
25
25
|
import oneDarkThemeJson from "./themes/one-dark.json"
|
|
26
26
|
import oneDarkProThemeJson from "./themes/onedarkpro.json"
|
|
27
|
-
import opencodeThemeJson from "./themes/opencode.json"
|
|
28
27
|
import orngThemeJson from "./themes/orng.json"
|
|
29
28
|
import osakaJadeThemeJson from "./themes/osaka-jade.json"
|
|
30
29
|
import palenightThemeJson from "./themes/palenight.json"
|
|
@@ -62,7 +61,6 @@ export const nightowlTheme = nightowlThemeJson as DesktopTheme
|
|
|
62
61
|
export const nordTheme = nordThemeJson as DesktopTheme
|
|
63
62
|
export const oneDarkTheme = oneDarkThemeJson as DesktopTheme
|
|
64
63
|
export const oneDarkProTheme = oneDarkProThemeJson as DesktopTheme
|
|
65
|
-
export const opencodeTheme = opencodeThemeJson as DesktopTheme
|
|
66
64
|
export const orngTheme = orngThemeJson as DesktopTheme
|
|
67
65
|
export const osakaJadeTheme = osakaJadeThemeJson as DesktopTheme
|
|
68
66
|
export const palenightTheme = palenightThemeJson as DesktopTheme
|
|
@@ -101,7 +99,6 @@ export const DEFAULT_THEMES: Record<string, DesktopTheme> = {
|
|
|
101
99
|
nord: nordTheme,
|
|
102
100
|
"one-dark": oneDarkTheme,
|
|
103
101
|
onedarkpro: oneDarkProTheme,
|
|
104
|
-
opencode: opencodeTheme,
|
|
105
102
|
orng: orngTheme,
|
|
106
103
|
"osaka-jade": osakaJadeTheme,
|
|
107
104
|
palenight: palenightTheme,
|
package/src/theme/index.ts
CHANGED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://opencode.ai/desktop-theme.json",
|
|
3
|
-
"name": "OpenCode",
|
|
4
|
-
"id": "opencode",
|
|
5
|
-
"light": {
|
|
6
|
-
"palette": {
|
|
7
|
-
"neutral": "#ffffff",
|
|
8
|
-
"ink": "#1a1a1a",
|
|
9
|
-
"primary": "#3b7dd8",
|
|
10
|
-
"accent": "#d68c27",
|
|
11
|
-
"success": "#3d9a57",
|
|
12
|
-
"warning": "#d68c27",
|
|
13
|
-
"error": "#d1383d",
|
|
14
|
-
"info": "#318795",
|
|
15
|
-
"diffAdd": "#4db380",
|
|
16
|
-
"diffDelete": "#f52a65"
|
|
17
|
-
},
|
|
18
|
-
"overrides": {
|
|
19
|
-
"text-weak": "#8a8a8a",
|
|
20
|
-
"syntax-comment": "#8a8a8a",
|
|
21
|
-
"syntax-keyword": "#d68c27",
|
|
22
|
-
"syntax-string": "#3d9a57",
|
|
23
|
-
"syntax-primitive": "#3b7dd8",
|
|
24
|
-
"syntax-variable": "#d1383d",
|
|
25
|
-
"syntax-property": "#318795",
|
|
26
|
-
"syntax-type": "#b0851f",
|
|
27
|
-
"syntax-constant": "#d68c27",
|
|
28
|
-
"syntax-operator": "#318795",
|
|
29
|
-
"syntax-punctuation": "#1a1a1a",
|
|
30
|
-
"syntax-object": "#d1383d",
|
|
31
|
-
"markdown-heading": "#d68c27",
|
|
32
|
-
"markdown-text": "#1a1a1a",
|
|
33
|
-
"markdown-link": "#3b7dd8",
|
|
34
|
-
"markdown-link-text": "#318795",
|
|
35
|
-
"markdown-code": "#3d9a57",
|
|
36
|
-
"markdown-block-quote": "#b0851f",
|
|
37
|
-
"markdown-emph": "#b0851f",
|
|
38
|
-
"markdown-strong": "#d68c27",
|
|
39
|
-
"markdown-horizontal-rule": "#8a8a8a",
|
|
40
|
-
"markdown-list-item": "#3b7dd8",
|
|
41
|
-
"markdown-list-enumeration": "#318795",
|
|
42
|
-
"markdown-image": "#3b7dd8",
|
|
43
|
-
"markdown-image-text": "#318795",
|
|
44
|
-
"markdown-code-block": "#1a1a1a"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"dark": {
|
|
48
|
-
"palette": {
|
|
49
|
-
"neutral": "#0a0a0a",
|
|
50
|
-
"ink": "#eeeeee",
|
|
51
|
-
"primary": "#fab283",
|
|
52
|
-
"accent": "#9d7cd8",
|
|
53
|
-
"success": "#7fd88f",
|
|
54
|
-
"warning": "#f5a742",
|
|
55
|
-
"error": "#e06c75",
|
|
56
|
-
"info": "#56b6c2",
|
|
57
|
-
"diffAdd": "#b8db87",
|
|
58
|
-
"diffDelete": "#e26a75"
|
|
59
|
-
},
|
|
60
|
-
"overrides": {
|
|
61
|
-
"text-weak": "#808080",
|
|
62
|
-
"syntax-comment": "#808080",
|
|
63
|
-
"syntax-keyword": "#9d7cd8",
|
|
64
|
-
"syntax-string": "#7fd88f",
|
|
65
|
-
"syntax-primitive": "#fab283",
|
|
66
|
-
"syntax-variable": "#e06c75",
|
|
67
|
-
"syntax-property": "#56b6c2",
|
|
68
|
-
"syntax-type": "#e5c07b",
|
|
69
|
-
"syntax-constant": "#f5a742",
|
|
70
|
-
"syntax-operator": "#56b6c2",
|
|
71
|
-
"syntax-punctuation": "#eeeeee",
|
|
72
|
-
"syntax-object": "#e06c75",
|
|
73
|
-
"markdown-heading": "#9d7cd8",
|
|
74
|
-
"markdown-text": "#eeeeee",
|
|
75
|
-
"markdown-link": "#fab283",
|
|
76
|
-
"markdown-link-text": "#56b6c2",
|
|
77
|
-
"markdown-code": "#7fd88f",
|
|
78
|
-
"markdown-block-quote": "#e5c07b",
|
|
79
|
-
"markdown-emph": "#e5c07b",
|
|
80
|
-
"markdown-strong": "#f5a742",
|
|
81
|
-
"markdown-horizontal-rule": "#808080",
|
|
82
|
-
"markdown-list-item": "#fab283",
|
|
83
|
-
"markdown-list-enumeration": "#56b6c2",
|
|
84
|
-
"markdown-image": "#fab283",
|
|
85
|
-
"markdown-image-text": "#56b6c2",
|
|
86
|
-
"markdown-code-block": "#eeeeee"
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|