summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatt Silverlock <[email protected]>2025-12-08 21:17:10 -0500
committerGitHub <[email protected]>2025-12-08 20:17:10 -0600
commitb2f5ea7c308d8d510062a7a1b52369ee7ad6e1aa (patch)
treed8480e65f7ac737ec9de3361d0ddd0392f539054
parent8eb8f1a16cae16d55ad11e3ed2fb6255c0d3d3db (diff)
downloadopencode-b2f5ea7c308d8d510062a7a1b52369ee7ad6e1aa.tar.gz
opencode-b2f5ea7c308d8d510062a7a1b52369ee7ad6e1aa.zip
themes: add new orng theme (#5267)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: rekram1-node <[email protected]>
-rw-r--r--packages/opencode/src/cli/cmd/tui/context/theme.tsx2
-rw-r--r--packages/opencode/src/cli/cmd/tui/context/theme/orng.json245
2 files changed, 247 insertions, 0 deletions
diff --git a/packages/opencode/src/cli/cmd/tui/context/theme.tsx b/packages/opencode/src/cli/cmd/tui/context/theme.tsx
index c8e0da7ac..5f3a0ad4a 100644
--- a/packages/opencode/src/cli/cmd/tui/context/theme.tsx
+++ b/packages/opencode/src/cli/cmd/tui/context/theme.tsx
@@ -22,6 +22,7 @@ import nightowl from "./theme/nightowl.json" with { type: "json" }
import nord from "./theme/nord.json" with { type: "json" }
import onedark from "./theme/one-dark.json" with { type: "json" }
import opencode from "./theme/opencode.json" with { type: "json" }
+import orng from "./theme/orng.json" with { type: "json" }
import palenight from "./theme/palenight.json" with { type: "json" }
import rosepine from "./theme/rosepine.json" with { type: "json" }
import solarized from "./theme/solarized.json" with { type: "json" }
@@ -150,6 +151,7 @@ export const DEFAULT_THEMES: Record<string, ThemeJson> = {
nord,
["one-dark"]: onedark,
opencode,
+ orng,
palenight,
rosepine,
solarized,
diff --git a/packages/opencode/src/cli/cmd/tui/context/theme/orng.json b/packages/opencode/src/cli/cmd/tui/context/theme/orng.json
new file mode 100644
index 000000000..407016ac5
--- /dev/null
+++ b/packages/opencode/src/cli/cmd/tui/context/theme/orng.json
@@ -0,0 +1,245 @@
+{
+ "$schema": "https://opencode.ai/theme.json",
+ "defs": {
+ "darkStep1": "#0a0a0a",
+ "darkStep2": "#141414",
+ "darkStep3": "#1e1e1e",
+ "darkStep4": "#282828",
+ "darkStep5": "#323232",
+ "darkStep6": "#3c3c3c",
+ "darkStep7": "#484848",
+ "darkStep8": "#606060",
+ "darkStep9": "#EC5B2B",
+ "darkStep10": "#EE7948",
+ "darkStep11": "#808080",
+ "darkStep12": "#eeeeee",
+ "darkSecondary": "#EE7948",
+ "darkAccent": "#FFF7F1",
+ "darkRed": "#e06c75",
+ "darkOrange": "#EC5B2B",
+ "darkGreen": "#7fd88f",
+ "darkCyan": "#56b6c2",
+ "darkYellow": "#e5c07b",
+ "lightStep1": "#ffffff",
+ "lightStep2": "#FFF7F1",
+ "lightStep3": "#f5f0eb",
+ "lightStep4": "#ebebeb",
+ "lightStep5": "#e1e1e1",
+ "lightStep6": "#d4d4d4",
+ "lightStep7": "#b8b8b8",
+ "lightStep8": "#a0a0a0",
+ "lightStep9": "#EC5B2B",
+ "lightStep10": "#c94d24",
+ "lightStep11": "#8a8a8a",
+ "lightStep12": "#1a1a1a",
+ "lightSecondary": "#EE7948",
+ "lightAccent": "#c94d24",
+ "lightRed": "#d1383d",
+ "lightOrange": "#EC5B2B",
+ "lightGreen": "#3d9a57",
+ "lightCyan": "#318795",
+ "lightYellow": "#b0851f"
+ },
+ "theme": {
+ "primary": {
+ "dark": "darkStep9",
+ "light": "lightStep9"
+ },
+ "secondary": {
+ "dark": "darkSecondary",
+ "light": "lightSecondary"
+ },
+ "accent": {
+ "dark": "darkAccent",
+ "light": "lightAccent"
+ },
+ "error": {
+ "dark": "darkRed",
+ "light": "lightRed"
+ },
+ "warning": {
+ "dark": "darkOrange",
+ "light": "lightOrange"
+ },
+ "success": {
+ "dark": "darkGreen",
+ "light": "lightGreen"
+ },
+ "info": {
+ "dark": "darkCyan",
+ "light": "lightCyan"
+ },
+ "text": {
+ "dark": "darkStep12",
+ "light": "lightStep12"
+ },
+ "textMuted": {
+ "dark": "darkStep11",
+ "light": "lightStep11"
+ },
+ "background": {
+ "dark": "darkStep1",
+ "light": "lightStep1"
+ },
+ "backgroundPanel": {
+ "dark": "darkStep2",
+ "light": "lightStep2"
+ },
+ "backgroundElement": {
+ "dark": "darkStep3",
+ "light": "lightStep3"
+ },
+ "border": {
+ "dark": "#EC5B2B",
+ "light": "#EC5B2B"
+ },
+ "borderActive": {
+ "dark": "#EE7948",
+ "light": "#c94d24"
+ },
+ "borderSubtle": {
+ "dark": "darkStep6",
+ "light": "lightStep6"
+ },
+ "diffAdded": {
+ "dark": "#4fd6be",
+ "light": "#1e725c"
+ },
+ "diffRemoved": {
+ "dark": "#c53b53",
+ "light": "#c53b53"
+ },
+ "diffContext": {
+ "dark": "#828bb8",
+ "light": "#7086b5"
+ },
+ "diffHunkHeader": {
+ "dark": "#828bb8",
+ "light": "#7086b5"
+ },
+ "diffHighlightAdded": {
+ "dark": "#b8db87",
+ "light": "#4db380"
+ },
+ "diffHighlightRemoved": {
+ "dark": "#e26a75",
+ "light": "#f52a65"
+ },
+ "diffAddedBg": {
+ "dark": "#20303b",
+ "light": "#d5e5d5"
+ },
+ "diffRemovedBg": {
+ "dark": "#37222c",
+ "light": "#f7d8db"
+ },
+ "diffContextBg": {
+ "dark": "darkStep2",
+ "light": "lightStep2"
+ },
+ "diffLineNumber": {
+ "dark": "darkStep3",
+ "light": "lightStep3"
+ },
+ "diffAddedLineNumberBg": {
+ "dark": "#1b2b34",
+ "light": "#c5d5c5"
+ },
+ "diffRemovedLineNumberBg": {
+ "dark": "#2d1f26",
+ "light": "#e7c8cb"
+ },
+ "markdownText": {
+ "dark": "darkStep12",
+ "light": "lightStep12"
+ },
+ "markdownHeading": {
+ "dark": "#EC5B2B",
+ "light": "#EC5B2B"
+ },
+ "markdownLink": {
+ "dark": "darkStep9",
+ "light": "lightStep9"
+ },
+ "markdownLinkText": {
+ "dark": "darkCyan",
+ "light": "lightCyan"
+ },
+ "markdownCode": {
+ "dark": "darkGreen",
+ "light": "lightGreen"
+ },
+ "markdownBlockQuote": {
+ "dark": "#FFF7F1",
+ "light": "lightYellow"
+ },
+ "markdownEmph": {
+ "dark": "darkYellow",
+ "light": "lightYellow"
+ },
+ "markdownStrong": {
+ "dark": "#EE7948",
+ "light": "#EC5B2B"
+ },
+ "markdownHorizontalRule": {
+ "dark": "darkStep11",
+ "light": "lightStep11"
+ },
+ "markdownListItem": {
+ "dark": "darkStep9",
+ "light": "lightStep9"
+ },
+ "markdownListEnumeration": {
+ "dark": "darkCyan",
+ "light": "lightCyan"
+ },
+ "markdownImage": {
+ "dark": "darkStep9",
+ "light": "lightStep9"
+ },
+ "markdownImageText": {
+ "dark": "darkCyan",
+ "light": "lightCyan"
+ },
+ "markdownCodeBlock": {
+ "dark": "darkStep12",
+ "light": "lightStep12"
+ },
+ "syntaxComment": {
+ "dark": "darkStep11",
+ "light": "lightStep11"
+ },
+ "syntaxKeyword": {
+ "dark": "#EC5B2B",
+ "light": "#EC5B2B"
+ },
+ "syntaxFunction": {
+ "dark": "#EE7948",
+ "light": "#c94d24"
+ },
+ "syntaxVariable": {
+ "dark": "darkRed",
+ "light": "lightRed"
+ },
+ "syntaxString": {
+ "dark": "darkGreen",
+ "light": "lightGreen"
+ },
+ "syntaxNumber": {
+ "dark": "#FFF7F1",
+ "light": "#EC5B2B"
+ },
+ "syntaxType": {
+ "dark": "darkYellow",
+ "light": "lightYellow"
+ },
+ "syntaxOperator": {
+ "dark": "darkCyan",
+ "light": "lightCyan"
+ },
+ "syntaxPunctuation": {
+ "dark": "darkStep12",
+ "light": "lightStep12"
+ }
+ }
+}