Files
openchamber/packages/ui/src/lib/theme/themes/kanagawa-light.json
T
Diego Fabricio Guzman Medrano 99af34dfd4 fix(ui): static inline code contrast fix + chip styling
Opcion A pura: fondo de inline code y color corregidos directamente
en los 42 themes JSON (darken 5 light / lighten 5 dark, contraste
WCAG en light). Sin metodos nuevos en cssGenerator ni generadores.
Se mantiene solo el padding/radius del chip en index.css y
composerHighlight.ts.
2026-08-20 22:30:24 -05:00

181 lines
5.0 KiB
JSON

{
"metadata": {
"id": "kanagawa-light",
"name": "Kanagawa",
"description": "A color scheme inspired by Japanese art and ink painting - light variant (Lotus)",
"version": "1.0.0",
"variant": "light",
"tags": [
"light",
"japanese",
"lotus",
"elegant"
]
},
"colors": {
"primary": {
"base": "#4D699B",
"hover": "#6693BF",
"active": "#5D57A3",
"foreground": "#f6f3d6",
"muted": "#4D699B80",
"emphasis": "#6693BF"
},
"surface": {
"background": "#f6f3d6",
"foreground": "#545464",
"muted": "#ece6c8",
"mutedForeground": "#6c6c67",
"elevated": "#eae4bf",
"elevatedForeground": "#545464",
"overlay": "#54546433",
"subtle": "#e6f0e3"
},
"interactive": {
"border": "#d7d1ba",
"borderHover": "#8A8980",
"borderFocus": "#4D699B",
"selection": "#e9f3e5cf",
"selectionForeground": "#545464",
"focus": "#4D699B",
"focusRing": "#4D699B40",
"cursor": "#545464",
"hover": "#e9f3e5a9",
"active": "#e9f3e5cf"
},
"status": {
"error": "#E82424",
"errorForeground": "#f6f3d6",
"errorBackground": "#E8242420",
"errorBorder": "#E8242450",
"warning": "#DE9800",
"warningForeground": "#545464",
"warningBackground": "#DE980020",
"warningBorder": "#DE980050",
"success": "#6F894E",
"successForeground": "#f6f3d6",
"successBackground": "#98BB6C20",
"successBorder": "#6F894E50",
"info": "#4D699B",
"infoForeground": "#f6f3d6",
"infoBackground": "#6693BF20",
"infoBorder": "#4D699B50"
},
"pr": {
"open": "#6F894E",
"draft": "#716E61",
"blocked": "#DE9800",
"merged": "#624C83",
"closed": "#E82424"
},
"syntax": {
"base": {
"background": "#DCD5AC",
"foreground": "#545464",
"comment": "#716E61",
"keyword": "#4D699B",
"string": "#6F894E",
"number": "#836F4A",
"function": "#CC6D00",
"variable": "#545464",
"type": "#77713F",
"operator": "#C84053"
},
"tokens": {
"commentDoc": "#8A8980",
"stringEscape": "#545464",
"keywordImport": "#624C83",
"storageModifier": "#4D699B",
"functionCall": "#CC6D00",
"method": "#6E915F",
"variableProperty": "#4D699B",
"variableOther": "#6E915F",
"variableGlobal": "#B35B79",
"variableLocal": "#D5CEA3",
"parameter": "#545464",
"constant": "#545464",
"class": "#CC6D00",
"className": "#CC6D00",
"interface": "#77713F",
"struct": "#CC6D00",
"enum": "#CC6D00",
"typeParameter": "#CC6D00",
"namespace": "#77713F",
"module": "#C84053",
"tag": "#4D699B",
"jsxTag": "#B35B79",
"tagAttribute": "#77713F",
"tagAttributeValue": "#6F894E",
"boolean": "#77713F",
"decorator": "#77713F",
"label": "#B35B79",
"punctuation": "#716E61",
"macro": "#4D699B",
"preprocessor": "#B35B79",
"regex": "#6F894E",
"url": "#4D699B",
"key": "#CC6D00",
"exception": "#B35B79"
},
"highlights": {
"diffAdded": "#6F894E",
"diffAddedBackground": "#6F894E20",
"diffRemoved": "#C84053",
"diffRemovedBackground": "#C8405320",
"diffModified": "#4D699B",
"diffModifiedBackground": "#4D699B20",
"lineNumber": "#8A8980",
"lineNumberActive": "#545464"
}
},
"markdown": {
"heading1": "#545464",
"heading2": "#545464",
"heading3": "#545464",
"heading4": "#545464",
"link": "#5D57A3",
"linkHover": "#4D699B",
"inlineCode": "#496328",
"inlineCodeBackground": "#E9E6C9",
"blockquote": "#716E61",
"blockquoteBorder": "#716E61",
"listMarker": "#836F4A99"
},
"chat": {
"userMessage": "#545464",
"userMessageBackground": "#e6f2e1",
"assistantMessage": "#545464",
"assistantMessageBackground": "#f6f3d6",
"timestamp": "#716E61",
"divider": "#716E61"
},
"tools": {
"background": "#DCD5AC50",
"border": "#716E6180",
"headerHover": "#716E61",
"icon": "#8A8980",
"title": "#545464",
"description": "#8A8980",
"edit": {
"added": "#6F894E",
"addedBackground": "#6F894E25",
"removed": "#C84053",
"removedBackground": "#C8405325",
"lineNumber": "#8A8980"
}
}
},
"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"
}
}
}