Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/opencode/src/cli/cmd/tui/context/theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import flexoki from "./theme/flexoki.json" with { type: "json" }
import github from "./theme/github.json" with { type: "json" }
import gruvbox from "./theme/gruvbox.json" with { type: "json" }
import kanagawa from "./theme/kanagawa.json" with { type: "json" }
import lightClean from "./theme/light-clean.json" with { type: "json" }
import material from "./theme/material.json" with { type: "json" }
import matrix from "./theme/matrix.json" with { type: "json" }
import mercury from "./theme/mercury.json" with { type: "json" }
Expand Down Expand Up @@ -152,6 +153,7 @@ export const DEFAULT_THEMES: Record<string, ThemeJson> = {
github,
gruvbox,
kanagawa,
["light-clean"]: lightClean,
material,
matrix,
mercury,
Expand Down
87 changes: 87 additions & 0 deletions packages/opencode/src/cli/cmd/tui/context/theme/light-clean.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"$schema": "https://opencode.ai/theme.json",
"defs": {
"white": "#FFFFFF",
"gray50": "#FAFBFC",
"gray100": "#F0F1F3",
"gray200": "#E1E4E8",
"gray300": "#D1D5DA",
"gray400": "#959DA5",
"gray500": "#6A737D",
"gray600": "#586069",
"gray700": "#444D56",
"gray800": "#2F363D",
"gray900": "#24292E",
"blue400": "#2188FF",
"blue500": "#0366D6",
"blue600": "#005CC5",
"teal400": "#0A9396",
"teal500": "#088F8F",
"green400": "#2EA44F",
"green500": "#22863A",
"greenBg": "#DCFFE4",
"greenBgStrong": "#ACF2BD",
"red400": "#D73A49",
"red500": "#CB2431",
"redBg": "#FFEEF0",
"redBgStrong": "#FDAEB7",
"orange400": "#E36209",
"orange500": "#B08800",
"purple400": "#6F42C1",
"purple500": "#5A32A3",
"yellow500": "#DBAB09"
},
"theme": {
"primary": "blue500",
"secondary": "teal400",
"accent": "purple400",
"error": "red400",
"warning": "orange400",
"success": "green400",
"info": "blue400",
"text": "gray900",
"textMuted": "gray500",
"background": "white",
"backgroundPanel": "gray50",
"backgroundElement": "gray100",
"border": "gray200",
"borderActive": "blue500",
"borderSubtle": "gray100",
"diffAdded": "green500",
"diffRemoved": "red400",
"diffContext": "gray500",
"diffHunkHeader": "gray400",
"diffHighlightAdded": "green400",
"diffHighlightRemoved": "red500",
"diffAddedBg": "greenBg",
"diffRemovedBg": "redBg",
"diffContextBg": "gray50",
"diffLineNumber": "gray400",
"diffAddedLineNumberBg": "greenBgStrong",
"diffRemovedLineNumberBg": "redBgStrong",
"markdownText": "gray900",
"markdownHeading": "blue600",
"markdownLink": "blue500",
"markdownLinkText": "blue400",
"markdownCode": "purple400",
"markdownBlockQuote": "gray500",
"markdownEmph": "gray800",
"markdownStrong": "gray900",
"markdownHorizontalRule": "gray200",
"markdownListItem": "blue500",
"markdownListEnumeration": "gray600",
"markdownImage": "blue500",
"markdownImageText": "teal400",
"markdownCodeBlock": "gray800",
"syntaxComment": "gray400",
"syntaxKeyword": "red400",
"syntaxFunction": "purple400",
"syntaxVariable": "orange400",
"syntaxString": "blue600",
"syntaxNumber": "teal500",
"syntaxType": "green500",
"syntaxOperator": "red500",
"syntaxPunctuation": "gray700"
}
}

Loading