opencode-theme-opencraft 0.1.0
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/README.md +17 -0
- package/package.json +22 -0
- package/themes/opencraft.json +86 -0
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# OpenCraft
|
|
2
|
+
|
|
3
|
+
Minecraft-inspired theme package for the OpenCode TUI.
|
|
4
|
+
|
|
5
|
+
## Use
|
|
6
|
+
|
|
7
|
+
Add the package to `tui.json`:
|
|
8
|
+
|
|
9
|
+
```json
|
|
10
|
+
{
|
|
11
|
+
"$schema": "https://opencode.ai/tui.json",
|
|
12
|
+
"plugin": ["opencode-theme-opencraft"],
|
|
13
|
+
"theme": "opencraft"
|
|
14
|
+
}
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
The package exposes `themes/opencraft.json` through OpenCode's `oc-themes` package manifest field, so no JavaScript TUI plugin entrypoint is required.
|
package/package.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "opencode-theme-opencraft",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Minecraft-inspired OpenCode TUI theme.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"themes"
|
|
8
|
+
],
|
|
9
|
+
"oc-themes": [
|
|
10
|
+
"themes/opencraft.json"
|
|
11
|
+
],
|
|
12
|
+
"engines": {
|
|
13
|
+
"opencode": "^1.0.0"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"opencode",
|
|
17
|
+
"opencode-theme",
|
|
18
|
+
"tui-theme",
|
|
19
|
+
"minecraft"
|
|
20
|
+
],
|
|
21
|
+
"license": "MIT"
|
|
22
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opencode.ai/theme.json",
|
|
3
|
+
"defs": {
|
|
4
|
+
"cave0": "#171411",
|
|
5
|
+
"cave1": "#211b16",
|
|
6
|
+
"cave2": "#2d241d",
|
|
7
|
+
"cave3": "#44372c",
|
|
8
|
+
"dirt": "#8b5a2b",
|
|
9
|
+
"dirtBright": "#b47a45",
|
|
10
|
+
"stone": "#8b8b8b",
|
|
11
|
+
"stoneDim": "#6f6f6f",
|
|
12
|
+
"parchment": "#f4ead0",
|
|
13
|
+
"parchmentPanel": "#e8d9b7",
|
|
14
|
+
"parchmentElement": "#d9c391",
|
|
15
|
+
"ink": "#2b2118",
|
|
16
|
+
"inkMuted": "#6d5a45",
|
|
17
|
+
"grass": "#79c05a",
|
|
18
|
+
"grassBright": "#91bd59",
|
|
19
|
+
"leaf": "#619961",
|
|
20
|
+
"diamond": "#55e0dc",
|
|
21
|
+
"diamondDeep": "#1f8f93",
|
|
22
|
+
"lapis": "#4f7fff",
|
|
23
|
+
"lapisDeep": "#315ab8",
|
|
24
|
+
"gold": "#ffd15c",
|
|
25
|
+
"goldDeep": "#b17b16",
|
|
26
|
+
"redstone": "#ff3200",
|
|
27
|
+
"redstoneDeep": "#b70000",
|
|
28
|
+
"amethyst": "#b983ff",
|
|
29
|
+
"amethystDeep": "#7f52bf",
|
|
30
|
+
"snow": "#f4f7ef"
|
|
31
|
+
},
|
|
32
|
+
"theme": {
|
|
33
|
+
"primary": { "dark": "grassBright", "light": "leaf" },
|
|
34
|
+
"secondary": { "dark": "diamond", "light": "diamondDeep" },
|
|
35
|
+
"accent": { "dark": "gold", "light": "goldDeep" },
|
|
36
|
+
"error": { "dark": "redstone", "light": "redstoneDeep" },
|
|
37
|
+
"warning": { "dark": "gold", "light": "goldDeep" },
|
|
38
|
+
"success": { "dark": "grass", "light": "leaf" },
|
|
39
|
+
"info": { "dark": "diamond", "light": "diamondDeep" },
|
|
40
|
+
"text": { "dark": "snow", "light": "ink" },
|
|
41
|
+
"textMuted": { "dark": "stone", "light": "inkMuted" },
|
|
42
|
+
"background": { "dark": "cave0", "light": "parchment" },
|
|
43
|
+
"backgroundPanel": { "dark": "cave1", "light": "parchmentPanel" },
|
|
44
|
+
"backgroundElement": { "dark": "cave2", "light": "parchmentElement" },
|
|
45
|
+
"backgroundMenu": { "dark": "cave3", "light": "parchmentElement" },
|
|
46
|
+
"border": { "dark": "cave3", "light": "dirtBright" },
|
|
47
|
+
"borderActive": { "dark": "grassBright", "light": "leaf" },
|
|
48
|
+
"borderSubtle": { "dark": "cave2", "light": "parchmentElement" },
|
|
49
|
+
"selectedListItemText": { "dark": "cave0", "light": "parchment" },
|
|
50
|
+
"diffAdded": { "dark": "grass", "light": "leaf" },
|
|
51
|
+
"diffRemoved": { "dark": "redstone", "light": "redstoneDeep" },
|
|
52
|
+
"diffContext": { "dark": "stone", "light": "inkMuted" },
|
|
53
|
+
"diffHunkHeader": { "dark": "diamond", "light": "diamondDeep" },
|
|
54
|
+
"diffHighlightAdded": { "dark": "grassBright", "light": "leaf" },
|
|
55
|
+
"diffHighlightRemoved": { "dark": "#ff6a42", "light": "redstoneDeep" },
|
|
56
|
+
"diffAddedBg": { "dark": "#20301c", "light": "#dce8cf" },
|
|
57
|
+
"diffRemovedBg": { "dark": "#321916", "light": "#f0d4cb" },
|
|
58
|
+
"diffContextBg": { "dark": "cave1", "light": "parchmentPanel" },
|
|
59
|
+
"diffLineNumber": { "dark": "stoneDim", "light": "inkMuted" },
|
|
60
|
+
"diffAddedLineNumberBg": { "dark": "#182516", "light": "#cfdcbf" },
|
|
61
|
+
"diffRemovedLineNumberBg": { "dark": "#281310", "light": "#e5c2b7" },
|
|
62
|
+
"markdownText": { "dark": "snow", "light": "ink" },
|
|
63
|
+
"markdownHeading": { "dark": "gold", "light": "goldDeep" },
|
|
64
|
+
"markdownLink": { "dark": "diamond", "light": "diamondDeep" },
|
|
65
|
+
"markdownLinkText": { "dark": "lapis", "light": "lapisDeep" },
|
|
66
|
+
"markdownCode": { "dark": "grassBright", "light": "leaf" },
|
|
67
|
+
"markdownBlockQuote": { "dark": "dirtBright", "light": "dirt" },
|
|
68
|
+
"markdownEmph": { "dark": "amethyst", "light": "amethystDeep" },
|
|
69
|
+
"markdownStrong": { "dark": "gold", "light": "goldDeep" },
|
|
70
|
+
"markdownHorizontalRule": { "dark": "stoneDim", "light": "inkMuted" },
|
|
71
|
+
"markdownListItem": { "dark": "grassBright", "light": "leaf" },
|
|
72
|
+
"markdownListEnumeration": { "dark": "diamond", "light": "diamondDeep" },
|
|
73
|
+
"markdownImage": { "dark": "lapis", "light": "lapisDeep" },
|
|
74
|
+
"markdownImageText": { "dark": "diamond", "light": "diamondDeep" },
|
|
75
|
+
"markdownCodeBlock": { "dark": "snow", "light": "ink" },
|
|
76
|
+
"syntaxComment": { "dark": "stone", "light": "inkMuted" },
|
|
77
|
+
"syntaxKeyword": { "dark": "amethyst", "light": "amethystDeep" },
|
|
78
|
+
"syntaxFunction": { "dark": "diamond", "light": "diamondDeep" },
|
|
79
|
+
"syntaxVariable": { "dark": "snow", "light": "ink" },
|
|
80
|
+
"syntaxString": { "dark": "grassBright", "light": "leaf" },
|
|
81
|
+
"syntaxNumber": { "dark": "gold", "light": "goldDeep" },
|
|
82
|
+
"syntaxType": { "dark": "lapis", "light": "lapisDeep" },
|
|
83
|
+
"syntaxOperator": { "dark": "dirtBright", "light": "dirt" },
|
|
84
|
+
"syntaxPunctuation": { "dark": "snow", "light": "ink" }
|
|
85
|
+
}
|
|
86
|
+
}
|