theme redux

This commit is contained in:
2026-02-05 01:07:22 -05:00
parent 6950deaa88
commit ea9ab4d3f9
25 changed files with 1339 additions and 131 deletions

74
src/themes/tokyo.json Normal file
View File

@@ -0,0 +1,74 @@
{
"$schema": "https://opencode.ai/theme.json",
"defs": {
"background": "transparent",
"surface": "#1a1b26",
"primary": "#7aa2f7",
"secondary": "#bb9af7",
"accent": "#e0af68",
"text": "#c0caf5",
"muted": "#565f89",
"warning": "#e0af68",
"error": "#f7768e",
"success": "#9ece6a",
"layer0": "transparent",
"layer1": "#16161e",
"layer2": "#0f0f15",
"layer3": "#08080b"
},
"theme": {
"primary": "primary",
"secondary": "secondary",
"accent": "accent",
"error": "error",
"warning": "warning",
"success": "success",
"info": "secondary",
"text": "text",
"textMuted": "muted",
"selectedListItemText": "background",
"background": "background",
"backgroundPanel": "surface",
"backgroundElement": "layer1",
"backgroundMenu": "layer1",
"border": "muted",
"borderActive": "primary",
"borderSubtle": "muted",
"diffAdded": "success",
"diffRemoved": "error",
"diffContext": "muted",
"diffHunkHeader": "muted",
"diffHighlightAdded": "success",
"diffHighlightRemoved": "error",
"diffAddedBg": "layer2",
"diffRemovedBg": "layer3",
"diffContextBg": "layer1",
"diffLineNumber": "muted",
"diffAddedLineNumberBg": "layer2",
"diffRemovedLineNumberBg": "layer3",
"markdownText": "text",
"markdownHeading": "accent",
"markdownLink": "primary",
"markdownLinkText": "secondary",
"markdownCode": "success",
"markdownBlockQuote": "warning",
"markdownEmph": "warning",
"markdownStrong": "accent",
"markdownHorizontalRule": "muted",
"markdownListItem": "primary",
"markdownListEnumeration": "secondary",
"markdownImage": "primary",
"markdownImageText": "secondary",
"markdownCodeBlock": "text",
"syntaxComment": "muted",
"syntaxKeyword": "accent",
"syntaxFunction": "primary",
"syntaxVariable": "secondary",
"syntaxString": "success",
"syntaxNumber": "warning",
"syntaxType": "accent",
"syntaxOperator": "secondary",
"syntaxPunctuation": "text",
"thinkingOpacity": 0.6
}
}