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
3 changes: 3 additions & 0 deletions packages/ui/src/theme/default-themes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import vesperThemeJson from "./themes/vesper.json"
import carbonfoxThemeJson from "./themes/carbonfox.json"
import gruvboxThemeJson from "./themes/gruvbox.json"
import auraThemeJson from "./themes/aura.json"
import kanagawaThemeJson from "./themes/kanagawa.json"

export const oc1Theme = oc1ThemeJson as DesktopTheme
export const oc2Theme = oc2ThemeJson as DesktopTheme
Expand All @@ -32,6 +33,7 @@ export const vesperTheme = vesperThemeJson as DesktopTheme
export const carbonfoxTheme = carbonfoxThemeJson as DesktopTheme
export const gruvboxTheme = gruvboxThemeJson as DesktopTheme
export const auraTheme = auraThemeJson as DesktopTheme
export const kanagawaTheme = kanagawaThemeJson as DesktopTheme

export const DEFAULT_THEMES: Record<string, DesktopTheme> = {
"oc-1": oc1Theme,
Expand All @@ -42,6 +44,7 @@ export const DEFAULT_THEMES: Record<string, DesktopTheme> = {
catppuccin: catppuccinTheme,
dracula: draculaTheme,
gruvbox: gruvboxTheme,
kanagawa: kanagawaTheme,
monokai: monokaiTheme,
nightowl: nightowlTheme,
nord: nordTheme,
Expand Down
131 changes: 131 additions & 0 deletions packages/ui/src/theme/themes/kanagawa.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
{
"$schema": "https://opencode.ai/desktop-theme.json",
"name": "Kanagawa",
"id": "kanagawa",
"light": {
"seeds": {
"neutral": "#f2ecbc",
"primary": "#4d699b",
"success": "#6f894e",
"warning": "#cc6d00",
"error": "#c84053",
"info": "#6693bf",
"interactive": "#4d699b",
"diffAdd": "#6f894e",
"diffDelete": "#c84053"
},
"overrides": {
"background-base": "#f2ecbc",
"background-weak": "#e5ddb0",
"background-strong": "#f7f2c8",
"background-stronger": "#fbf7d4",
"border-weak-base": "#d5cea3",
"border-weak-hover": "#c9c297",
"border-weak-active": "#bdb68b",
"border-weak-selected": "#b1aa7f",
"border-weak-disabled": "#ede7b5",
"border-weak-focus": "#c4bd90",
"border-base": "#b1aa7f",
"border-hover": "#a59e73",
"border-active": "#999267",
"border-selected": "#8d865b",
"border-disabled": "#e0daa8",
"border-focus": "#999267",
"border-strong-base": "#716e61",
"border-strong-hover": "#656258",
"border-strong-active": "#59564f",
"border-strong-selected": "#4d4a46",
"border-strong-disabled": "#c5be96",
"border-strong-focus": "#5f5c53",
"surface-diff-add-base": "#d7e3d8",
"surface-diff-delete-base": "#d9a594",
"surface-diff-hidden-base": "#e8e2b2",
"text-base": "#545464",
"text-weak": "#716e61",
"text-strong": "#43436c",
"syntax-string": "#6f894e",
"syntax-primitive": "#c84053",
"syntax-property": "#4d699b",
"syntax-type": "#cc6d00",
"syntax-constant": "#6693bf",
"syntax-info": "#597b75",
"markdown-heading": "#4d699b",
"markdown-text": "#545464",
"markdown-link": "#6693bf",
"markdown-link-text": "#9fb5c9",
"markdown-code": "#6f894e",
"markdown-block-quote": "#716e61",
"markdown-emph": "#cc6d00",
"markdown-strong": "#b35b79",
"markdown-horizontal-rule": "#d5cea3",
"markdown-list-item": "#624c83",
"markdown-list-enumeration": "#766b90",
"markdown-image": "#4d699b",
"markdown-image-text": "#597b75",
"markdown-code-block": "#545464"
}
},
"dark": {
"seeds": {
"neutral": "#1F1F28",
"primary": "#7E9CD8",
"success": "#98BB6C",
"warning": "#FFA066",
"error": "#E46876",
"info": "#7FB4CA",
"interactive": "#7E9CD8",
"diffAdd": "#76946A",
"diffDelete": "#C34043"
},
"overrides": {
"background-base": "#1F1F28",
"background-weak": "#2A2A37",
"background-strong": "#16161D",
"background-stronger": "#111116",
"border-weak-base": "#363646",
"border-weak-hover": "#3d3d4f",
"border-weak-active": "#444458",
"border-weak-selected": "#4b4b61",
"border-weak-disabled": "#181820",
"border-weak-focus": "#40404a",
"border-base": "#54546D",
"border-hover": "#5d5d78",
"border-active": "#666683",
"border-selected": "#6f6f8e",
"border-disabled": "#222230",
"border-focus": "#595975",
"border-strong-base": "#727169",
"border-strong-hover": "#7d7c74",
"border-strong-active": "#88877f",
"border-strong-selected": "#93928a",
"border-strong-disabled": "#363646",
"border-strong-focus": "#807f77",
"surface-diff-add-base": "#2B3328",
"surface-diff-delete-base": "#43242B",
"surface-diff-hidden-base": "#252535",
"text-base": "#DCD7BA",
"text-weak": "#938AA9",
"text-strong": "#ECEBE2",
"syntax-string": "#98BB6C",
"syntax-primitive": "#E46876",
"syntax-property": "#7E9CD8",
"syntax-type": "#E6C384",
"syntax-constant": "#957FB8",
"syntax-info": "#7FB4CA",
"markdown-heading": "#7E9CD8",
"markdown-text": "#DCD7BA",
"markdown-link": "#7FB4CA",
"markdown-link-text": "#A3D4D5",
"markdown-code": "#98BB6C",
"markdown-block-quote": "#727169",
"markdown-emph": "#E6C384",
"markdown-strong": "#FFA066",
"markdown-horizontal-rule": "#363646",
"markdown-list-item": "#957FB8",
"markdown-list-enumeration": "#938AA9",
"markdown-image": "#D27E99",
"markdown-image-text": "#7AA89F",
"markdown-code-block": "#DCD7BA"
}
}
}
Loading