Files
openchamber/packages/ui/src/lib/theme/themes/ayu-light.json
T
Bohdan Triapitsyn 83a66d0a6d feat(theme): add OpenChamber hybrid theme and make it the default
- Add OpenChamber brand theme (dark+light): Vitesse syntax over OpenCode-deep neutrals with Flexoki accents, harmonized in OKLCH

- Add scripts/harmonize-theme.mjs: align accent saturation/lightness and boost syntax chroma via OKLCH

- Set default theme to OpenChamber (was Flexoki)

- Rename fields-of-the-shire off the openchamber-* id; keep it as a normal preset

- Remove OpenCode and OC-2 ports and all disabled theme JSON definitions

- Make panel/header/sidebar borders opaque and theme-driven; global default border now uses --border instead of hardcoded rgba
2026-07-30 17:43:39 +03:00

179 lines
4.9 KiB
JSON

{
"metadata": {
"id": "ayu-light",
"name": "Ayu",
"description": "Ayu",
"version": "1.0.0",
"variant": "light",
"tags": [
"light",
"palette"
]
},
"colors": {
"primary": {
"base": "#4AA8C8",
"hover": "#6EB8D1",
"active": "#4394B0",
"foreground": "#FDFAF4",
"muted": "#4AA8C880",
"emphasis": "#6EB8D1"
},
"surface": {
"background": "#FDFAF4",
"foreground": "#394049",
"muted": "#f7f3eb",
"mutedForeground": "#777e87",
"elevated": "#faf6ed",
"elevatedForeground": "#4F5964",
"overlay": "#1B232B20",
"subtle": "#FFF7E5"
},
"interactive": {
"border": "#ece5d9",
"borderHover": "#DCD3C5",
"borderFocus": "#B09F8F",
"selection": "#9fb2c43e",
"selectionForeground": "#171e25",
"focus": "#4AA8C8",
"focusRing": "#4AA8C840",
"cursor": "#1B232B",
"hover": "#9fb2c42c",
"active": "#9fb2c43e"
},
"status": {
"error": "#E6656A",
"errorForeground": "#FDFAF4",
"errorBackground": "#E6656A20",
"errorBorder": "#E6656A50",
"warning": "#EA9F41",
"warningForeground": "#FDFAF4",
"warningBackground": "#EA9F4120",
"warningBorder": "#EA9F4150",
"success": "#5FB978",
"successForeground": "#FDFAF4",
"successBackground": "#5FB97820",
"successBorder": "#5FB97850",
"info": "#2F9BCE",
"infoForeground": "#FDFAF4",
"infoBackground": "#2F9BCE20",
"infoBorder": "#2F9BCE50"
},
"pr": {
"open": "#5FB978",
"draft": "#77818D",
"blocked": "#EA9F41",
"merged": "#7b3cda",
"closed": "#E6656A"
},
"syntax": {
"base": {
"background": "#FCF9F3",
"foreground": "#4F5964",
"comment": "#77818D",
"keyword": "#4AA8C8",
"string": "#7FAD00",
"number": "#EF7D71",
"function": "#4AA8C8",
"variable": "#4F5964",
"type": "#ED982E",
"operator": "#EF7D71"
},
"tokens": {
"boolean": "#ED982E",
"class": "#4AA8C8",
"className": "#4AA8C8",
"commentDoc": "#BABEC1",
"constant": "#2F9BCE",
"decorator": "#ED982E",
"enum": "#4AA8C8",
"exception": "#EF7D71",
"functionCall": "#4AA8C8",
"interface": "#ED982E",
"jsxTag": "#4AA8C8",
"key": "#4AA8C8",
"keywordImport": "#EF7D71",
"label": "#EF7D71",
"macro": "#2F9BCE",
"method": "#5FB978",
"module": "#EF7D71",
"namespace": "#ED982E",
"parameter": "#4F5964",
"preprocessor": "#EF7D71",
"punctuation": "#77818D",
"regex": "#7FAD00",
"storageModifier": "#2F9BCE",
"stringEscape": "#1B232B",
"struct": "#4AA8C8",
"tag": "#4AA8C8",
"tagAttribute": "#ED982E",
"tagAttributeValue": "#7FAD00",
"typeParameter": "#ED982E",
"url": "#2F9BCE",
"variableGlobal": "#4AA8C8",
"variableLocal": "#FBF8F2",
"variableOther": "#5FB978",
"variableProperty": "#2F9BCE"
},
"highlights": {
"diffAdded": "#5FB978",
"diffAddedBackground": "#EEF5E4",
"diffModified": "#2F9BCE",
"diffModifiedBackground": "#E3EDF3",
"diffRemoved": "#E6656A",
"diffRemovedBackground": "#FDE5E5",
"lineNumber": "#C6BFAF",
"lineNumberActive": "#1B232B"
}
},
"markdown": {
"heading1": "#394049",
"heading2": "#394049",
"heading3": "#394049",
"heading4": "#394049",
"link": "#2F9BCE",
"linkHover": "#4AA8C8",
"inlineCode": "#7FAD00",
"inlineCodeBackground": "#FCF9F3",
"blockquote": "#ED982E",
"blockquoteBorder": "#E6DDCF",
"listMarker": "#4AA8C899"
},
"chat": {
"userMessage": "#4F5964",
"userMessageBackground": "#fff7e5",
"assistantMessage": "#4F5964",
"assistantMessageBackground": "#FDFAF4",
"timestamp": "#77818D",
"divider": "#E6DDCF"
},
"tools": {
"background": "#FCF9F380",
"border": "#cec6b980",
"headerHover": "#FAF7F1",
"icon": "#77818D",
"title": "#4F5964",
"description": "#77818D",
"edit": {
"added": "#5FB978",
"addedBackground": "#5FB97825",
"removed": "#E6656A",
"removedBackground": "#E6656A25",
"lineNumber": "#C6BFAF"
}
}
},
"config": {
"fonts": {
"sans": "ui-monospace, \"SFMono-Regular\", \"Menlo\", \"Cascadia Mono\", \"Segoe UI Mono\", monospace",
"mono": "ui-monospace, \"SFMono-Regular\", \"Menlo\", \"Cascadia Mono\", \"Segoe UI Mono\", monospace",
"heading": "ui-monospace, \"SFMono-Regular\", \"Menlo\", \"Cascadia Mono\", \"Segoe UI Mono\", monospace"
},
"transitions": {
"fast": "150ms ease",
"normal": "250ms ease",
"slow": "350ms ease"
}
}
}