Files
grok-cli/src/ui/theme.ts
T
Ismail Pelaseyed a07224a7f0 feat: add file tools, diff view, and markdown rendering
- Add read_file, write_file, edit_file tools with diff generation
- Inline diff viewer with line numbers, colored add/remove, and
  unmodified-lines separators (OpenCode-style)
- Lightweight markdown renderer for assistant messages: headings,
  bold, italic, inline code, code blocks, lists, blockquotes, links
- Update agent system prompts with terminal environment guidance
- Install diff package for unified diff computation

Made-with: Cursor
2026-03-18 21:23:24 +01:00

40 lines
957 B
TypeScript

export const dark = {
background: "#000000",
backgroundPanel: "#111111",
backgroundElement: "#1a1a1a",
border: "#333333",
borderActive: "#555555",
text: "#e0e0e0",
textMuted: "#666666",
textDim: "#444444",
primary: "#ffffff",
accent: "#5c9cf5",
selected: "#ffffff",
selectedBg: "#2a2a2a",
diffAdded: "#1e3a1e",
diffAddedFg: "#8adf8a",
diffAddedLineNum: "#3a6a3a",
diffRemoved: "#3a1e1e",
diffRemovedFg: "#df8a8a",
diffRemovedLineNum: "#6a3a3a",
diffContext: "#161616",
diffContextFg: "#999999",
diffLineNumber: "#555555",
diffHeader: "#1c1c1c",
diffHeaderFg: "#888888",
diffSeparator: "#1a1a1a",
diffSeparatorFg: "#555555",
mdHeading: "#e0e0e0",
mdBold: "#e8a465",
mdItalic: "#e5c07b",
mdCode: "#6abf6a",
mdCodeBlockBg: "#141414",
mdCodeBlockFg: "#c0c0c0",
mdLink: "#5c9cf5",
mdLinkText: "#d4a0d4",
mdHr: "#333333",
mdListBullet: "#666666",
} as const;
export type Theme = typeof dark;