Repository navigation
Expand file tree
/
Copy paththeme-system.ts
More file actions
75 lines (72 loc) · 2.06 KB
/
Copy paththeme-system.ts
File metadata and controls
75 lines (72 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
import type { SyntaxColors } from "@magnitudedev/client-common"
export type ThemeMode = "dark" | "light"
export type MarkdownHeadingLevel = 1 | 2 | 3 | 4 | 5 | 6
export interface TerminalAppearance {
readonly mode: ThemeMode
readonly defaultBackground: string | null
}
export interface CliTheme {
readonly text: {
readonly body: string
readonly emphasized: string
readonly detail: string
readonly guidance: string
readonly supporting: string
readonly metadata: string
readonly placeholder: string
readonly disabled: string
}
readonly background: {
readonly canvas: string
readonly terminal: string
readonly surface: string
readonly input: string
readonly menu: string
readonly alternateRow: string
readonly selected: string
readonly hovered: string
readonly focused: string
readonly diffAdded: string
readonly diffRemoved: string
readonly diffContext: string
}
readonly border: {
readonly subtle: string
readonly standard: string
readonly strong: string
}
readonly accent: string
readonly highlightAccent: string
readonly link: string
readonly activityPulse: readonly string[]
readonly neutralPulse: readonly string[]
readonly planAccent: string
readonly bashAccent: string
readonly status: {
readonly information: string
readonly progress: string
readonly success: string
readonly achievement: string
readonly changeAdded: string
readonly warning: string
readonly failure: string
readonly interrupted: string
readonly terminated: string
readonly inactive: string
}
readonly markdown: {
readonly text: string
readonly heading: Readonly<Record<MarkdownHeadingLevel, string>>
readonly link: string
readonly inlineCode: string
readonly codeText: string
readonly codeBackground: string
readonly codeBorder: string
readonly codeHeader: string
readonly listMarker: string
readonly blockquoteText: string
readonly blockquoteBorder: string
readonly divider: string
}
readonly syntax: SyntaxColors
}