@promptctl/rich-js 0.17.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -26
- package/package.json +7 -3
- package/dist/core/box.d.ts +0 -144
- package/dist/core/box.js +0 -391
- package/dist/core/cells.d.ts +0 -148
- package/dist/core/cells.js +0 -266
- package/dist/core/color.d.ts +0 -250
- package/dist/core/color.js +0 -1029
- package/dist/core/console.d.ts +0 -156
- package/dist/core/console.js +0 -472
- package/dist/core/emoji.d.ts +0 -24
- package/dist/core/emoji.js +0 -391
- package/dist/core/export-html.d.ts +0 -24
- package/dist/core/export-html.js +0 -106
- package/dist/core/export-lines.d.ts +0 -121
- package/dist/core/export-lines.js +0 -141
- package/dist/core/highlighter.d.ts +0 -33
- package/dist/core/highlighter.js +0 -124
- package/dist/core/json.d.ts +0 -27
- package/dist/core/json.js +0 -53
- package/dist/core/markup.d.ts +0 -97
- package/dist/core/markup.js +0 -619
- package/dist/core/measure.d.ts +0 -27
- package/dist/core/measure.js +0 -61
- package/dist/core/oklch.d.ts +0 -161
- package/dist/core/oklch.js +0 -312
- package/dist/core/osc8.d.ts +0 -68
- package/dist/core/osc8.js +0 -90
- package/dist/core/pretty.d.ts +0 -141
- package/dist/core/pretty.js +0 -472
- package/dist/core/protocol.d.ts +0 -137
- package/dist/core/protocol.js +0 -101
- package/dist/core/render.d.ts +0 -84
- package/dist/core/render.js +0 -145
- package/dist/core/segment.d.ts +0 -142
- package/dist/core/segment.js +0 -433
- package/dist/core/spinnerData.d.ts +0 -10
- package/dist/core/spinnerData.js +0 -115
- package/dist/core/strip.d.ts +0 -145
- package/dist/core/strip.js +0 -308
- package/dist/core/style.d.ts +0 -144
- package/dist/core/style.js +0 -723
- package/dist/core/subscription.d.ts +0 -12
- package/dist/core/subscription.js +0 -12
- package/dist/core/text.d.ts +0 -255
- package/dist/core/text.js +0 -990
- package/dist/core/wrap.d.ts +0 -41
- package/dist/core/wrap.js +0 -127
- package/dist/host/host-stream.d.ts +0 -30
- package/dist/host/host-stream.js +0 -35
- package/dist/host/index.d.ts +0 -3
- package/dist/host/index.js +0 -2
- package/dist/host/terminal-host.d.ts +0 -143
- package/dist/host/terminal-host.js +0 -132
- package/dist/index.d.ts +0 -87
- package/dist/index.js +0 -104
- package/dist/node/prompt.d.ts +0 -21
- package/dist/node/prompt.js +0 -30
- package/dist/node/save.d.ts +0 -17
- package/dist/node/save.js +0 -21
- package/dist/node/terminal-host.d.ts +0 -84
- package/dist/node/terminal-host.js +0 -160
- package/dist/node/traceback.d.ts +0 -27
- package/dist/node/traceback.js +0 -112
- package/dist/renderables/align.d.ts +0 -16
- package/dist/renderables/align.js +0 -46
- package/dist/renderables/columns.d.ts +0 -61
- package/dist/renderables/columns.js +0 -168
- package/dist/renderables/constrain.d.ts +0 -15
- package/dist/renderables/constrain.js +0 -37
- package/dist/renderables/flexStrip.d.ts +0 -41
- package/dist/renderables/flexStrip.js +0 -200
- package/dist/renderables/group.d.ts +0 -11
- package/dist/renderables/group.js +0 -15
- package/dist/renderables/layout.d.ts +0 -92
- package/dist/renderables/layout.js +0 -315
- package/dist/renderables/live.d.ts +0 -47
- package/dist/renderables/live.js +0 -131
- package/dist/renderables/markdown.d.ts +0 -24
- package/dist/renderables/markdown.js +0 -182
- package/dist/renderables/padding.d.ts +0 -38
- package/dist/renderables/padding.js +0 -140
- package/dist/renderables/panel.d.ts +0 -116
- package/dist/renderables/panel.js +0 -322
- package/dist/renderables/progress.d.ts +0 -90
- package/dist/renderables/progress.js +0 -241
- package/dist/renderables/progressBar.d.ts +0 -31
- package/dist/renderables/progressBar.js +0 -52
- package/dist/renderables/prompt.d.ts +0 -49
- package/dist/renderables/prompt.js +0 -125
- package/dist/renderables/rule.d.ts +0 -24
- package/dist/renderables/rule.js +0 -90
- package/dist/renderables/spinner.d.ts +0 -29
- package/dist/renderables/spinner.js +0 -64
- package/dist/renderables/status.d.ts +0 -23
- package/dist/renderables/status.js +0 -60
- package/dist/renderables/syntax.d.ts +0 -35
- package/dist/renderables/syntax.js +0 -114
- package/dist/renderables/table.d.ts +0 -182
- package/dist/renderables/table.js +0 -697
- package/dist/renderables/traceback.d.ts +0 -31
- package/dist/renderables/traceback.js +0 -109
- package/dist/renderables/tree.d.ts +0 -54
- package/dist/renderables/tree.js +0 -159
- package/dist/template-bindings/color-funcs.d.ts +0 -87
- package/dist/template-bindings/color-funcs.js +0 -219
- package/dist/template-bindings/helpers.d.ts +0 -24
- package/dist/template-bindings/helpers.js +0 -48
- package/dist/template-bindings/index.d.ts +0 -107
- package/dist/template-bindings/index.js +0 -144
- package/dist/template-bindings/palette-funcs.d.ts +0 -94
- package/dist/template-bindings/palette-funcs.js +0 -151
- package/dist/template-bindings/style-funcs.d.ts +0 -28
- package/dist/template-bindings/style-funcs.js +0 -151
- package/dist/themes/buildPalette.d.ts +0 -36
- package/dist/themes/buildPalette.js +0 -56
- package/dist/themes/colorMath.d.ts +0 -82
- package/dist/themes/colorMath.js +0 -254
- package/dist/themes/colorRef.d.ts +0 -51
- package/dist/themes/colorRef.js +0 -96
- package/dist/themes/data/atom-one-dark.d.ts +0 -3
- package/dist/themes/data/atom-one-dark.js +0 -158
- package/dist/themes/data/atom-one-light.d.ts +0 -3
- package/dist/themes/data/atom-one-light.js +0 -158
- package/dist/themes/data/catppuccin-frappe.d.ts +0 -3
- package/dist/themes/data/catppuccin-frappe.js +0 -158
- package/dist/themes/data/catppuccin-latte.d.ts +0 -3
- package/dist/themes/data/catppuccin-latte.js +0 -158
- package/dist/themes/data/catppuccin-macchiato.d.ts +0 -3
- package/dist/themes/data/catppuccin-macchiato.js +0 -158
- package/dist/themes/data/catppuccin-mocha.d.ts +0 -3
- package/dist/themes/data/catppuccin-mocha.js +0 -158
- package/dist/themes/data/cyberpunk.d.ts +0 -17
- package/dist/themes/data/cyberpunk.js +0 -191
- package/dist/themes/data/default.d.ts +0 -3
- package/dist/themes/data/default.js +0 -158
- package/dist/themes/data/dracula.d.ts +0 -3
- package/dist/themes/data/dracula.js +0 -158
- package/dist/themes/data/flexoki.d.ts +0 -3
- package/dist/themes/data/flexoki.js +0 -158
- package/dist/themes/data/gruvbox.d.ts +0 -3
- package/dist/themes/data/gruvbox.js +0 -158
- package/dist/themes/data/index.d.ts +0 -35
- package/dist/themes/data/index.js +0 -64
- package/dist/themes/data/monokai.d.ts +0 -3
- package/dist/themes/data/monokai.js +0 -158
- package/dist/themes/data/nord.d.ts +0 -3
- package/dist/themes/data/nord.js +0 -158
- package/dist/themes/data/rose-pine-dawn.d.ts +0 -3
- package/dist/themes/data/rose-pine-dawn.js +0 -158
- package/dist/themes/data/rose-pine-moon.d.ts +0 -3
- package/dist/themes/data/rose-pine-moon.js +0 -158
- package/dist/themes/data/rose-pine.d.ts +0 -3
- package/dist/themes/data/rose-pine.js +0 -158
- package/dist/themes/data/solarized-dark.d.ts +0 -3
- package/dist/themes/data/solarized-dark.js +0 -158
- package/dist/themes/data/solarized-light.d.ts +0 -3
- package/dist/themes/data/solarized-light.js +0 -158
- package/dist/themes/data/svg-export.d.ts +0 -3
- package/dist/themes/data/svg-export.js +0 -158
- package/dist/themes/data/textual-ansi.d.ts +0 -3
- package/dist/themes/data/textual-ansi.js +0 -158
- package/dist/themes/data/textual-dark.d.ts +0 -3
- package/dist/themes/data/textual-dark.js +0 -158
- package/dist/themes/data/textual-light.d.ts +0 -3
- package/dist/themes/data/textual-light.js +0 -158
- package/dist/themes/data/tokyo-night.d.ts +0 -3
- package/dist/themes/data/tokyo-night.js +0 -158
- package/dist/themes/data/types.d.ts +0 -15
- package/dist/themes/data/types.js +0 -1
- package/dist/themes/palette.d.ts +0 -21
- package/dist/themes/palette.js +0 -28
- package/dist/themes/ramp.d.ts +0 -83
- package/dist/themes/ramp.js +0 -122
- package/dist/themes/registry.d.ts +0 -43
- package/dist/themes/registry.js +0 -82
- package/dist/themes/terminalThemes.d.ts +0 -54
- package/dist/themes/terminalThemes.js +0 -68
- package/dist/themes/transpose.d.ts +0 -87
- package/dist/themes/transpose.js +0 -138
- package/dist/widgets/button.d.ts +0 -49
- package/dist/widgets/button.js +0 -206
- package/dist/widgets/checkbox.d.ts +0 -41
- package/dist/widgets/checkbox.js +0 -155
- package/dist/widgets/dropdown.d.ts +0 -67
- package/dist/widgets/dropdown.js +0 -453
- package/dist/widgets/event-router.d.ts +0 -78
- package/dist/widgets/event-router.js +0 -622
- package/dist/widgets/focus-manager.d.ts +0 -26
- package/dist/widgets/focus-manager.js +0 -193
- package/dist/widgets/index.d.ts +0 -22
- package/dist/widgets/index.js +0 -15
- package/dist/widgets/screen.d.ts +0 -98
- package/dist/widgets/screen.js +0 -530
- package/dist/widgets/slider.d.ts +0 -57
- package/dist/widgets/slider.js +0 -270
- package/dist/widgets/static-item.d.ts +0 -40
- package/dist/widgets/static-item.js +0 -60
- package/dist/widgets/text-input.d.ts +0 -274
- package/dist/widgets/text-input.js +0 -1162
- package/dist/widgets/toggle.d.ts +0 -44
- package/dist/widgets/toggle.js +0 -179
- package/dist/widgets/types.d.ts +0 -108
- package/dist/widgets/types.js +0 -31
- package/dist/widgets/widget-base.d.ts +0 -42
- package/dist/widgets/widget-base.js +0 -173
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
const theme = {
|
|
2
|
-
name: "flexoki",
|
|
3
|
-
dark: true,
|
|
4
|
-
vars: {
|
|
5
|
-
"accent": "#9B76C8",
|
|
6
|
-
"accent-darken-1": "#8663B3",
|
|
7
|
-
"accent-darken-2": "#72509E",
|
|
8
|
-
"accent-darken-3": "#5F3E8B",
|
|
9
|
-
"accent-lighten-1": "#AF89DD",
|
|
10
|
-
"accent-lighten-2": "#C49DF2",
|
|
11
|
-
"accent-lighten-3": "#D9B1FF",
|
|
12
|
-
"accent-muted": "#392D46",
|
|
13
|
-
"background": "#100F0F",
|
|
14
|
-
"background-darken-1": "#000000",
|
|
15
|
-
"background-darken-2": "#000000",
|
|
16
|
-
"background-darken-3": "#000000",
|
|
17
|
-
"background-lighten-1": "#1F1F1F",
|
|
18
|
-
"background-lighten-2": "#2F2E2E",
|
|
19
|
-
"background-lighten-3": "#403F3F",
|
|
20
|
-
"block-cursor-background": "#205EA6",
|
|
21
|
-
"block-cursor-blurred-background": "#205EA64C",
|
|
22
|
-
"block-cursor-blurred-foreground": "#FFFCF0",
|
|
23
|
-
"block-cursor-foreground": "#FFFFFFDD",
|
|
24
|
-
"block-hover-background": "#FFFFFF19",
|
|
25
|
-
"boost": "#FFFFFF0A",
|
|
26
|
-
"boost-darken-1": "#E9E9E90A",
|
|
27
|
-
"boost-darken-2": "#D4D4D40A",
|
|
28
|
-
"boost-darken-3": "#BFBFBF0A",
|
|
29
|
-
"boost-lighten-1": "#FFFFFF0A",
|
|
30
|
-
"boost-lighten-2": "#FFFFFF0A",
|
|
31
|
-
"boost-lighten-3": "#FFFFFF0A",
|
|
32
|
-
"border": "#205EA6",
|
|
33
|
-
"border-blurred": "#171614",
|
|
34
|
-
"button-color-foreground": "#FFFCF0",
|
|
35
|
-
"button-foreground": "#FFFCF0",
|
|
36
|
-
"error": "#AE3029",
|
|
37
|
-
"error-darken-1": "#981818",
|
|
38
|
-
"error-darken-2": "#810007",
|
|
39
|
-
"error-darken-3": "#6B0000",
|
|
40
|
-
"error-lighten-1": "#C64539",
|
|
41
|
-
"error-lighten-2": "#DD594B",
|
|
42
|
-
"error-lighten-3": "#F46D5D",
|
|
43
|
-
"error-muted": "#3F1816",
|
|
44
|
-
"footer-background": "#282726",
|
|
45
|
-
"footer-description-background": "#00000000",
|
|
46
|
-
"footer-description-foreground": "#FFFCF0",
|
|
47
|
-
"footer-foreground": "#FFFCF0",
|
|
48
|
-
"footer-item-background": "#00000000",
|
|
49
|
-
"footer-key-background": "#00000000",
|
|
50
|
-
"footer-key-foreground": "#9B76C8",
|
|
51
|
-
"foreground": "#FFFCF0",
|
|
52
|
-
"foreground-darken-1": "#E9E6DA",
|
|
53
|
-
"foreground-darken-2": "#D4D1C5",
|
|
54
|
-
"foreground-darken-3": "#BFBCB1",
|
|
55
|
-
"foreground-disabled": "#FFFCF060",
|
|
56
|
-
"foreground-lighten-1": "#FFFFFF",
|
|
57
|
-
"foreground-lighten-2": "#FFFFFF",
|
|
58
|
-
"foreground-lighten-3": "#FFFFFF",
|
|
59
|
-
"foreground-muted": "#FFFCF099",
|
|
60
|
-
"input-cursor-background": "#FFFCF0",
|
|
61
|
-
"input-cursor-foreground": "#5E409D",
|
|
62
|
-
"input-selection-background": "#6F6E6959",
|
|
63
|
-
"link-background": "#00000000",
|
|
64
|
-
"link-background-hover": "#205EA6",
|
|
65
|
-
"link-color": "#FFFFFFDD",
|
|
66
|
-
"link-color-hover": "#FFFFFFDD",
|
|
67
|
-
"markdown-h1-background": "#00000000",
|
|
68
|
-
"markdown-h1-color": "#205EA6",
|
|
69
|
-
"markdown-h2-background": "#00000000",
|
|
70
|
-
"markdown-h2-color": "#205EA6",
|
|
71
|
-
"markdown-h3-background": "#00000000",
|
|
72
|
-
"markdown-h3-color": "#205EA6",
|
|
73
|
-
"markdown-h4-background": "#00000000",
|
|
74
|
-
"markdown-h4-color": "#FFFCF0",
|
|
75
|
-
"markdown-h5-background": "#00000000",
|
|
76
|
-
"markdown-h5-color": "#FFFCF0",
|
|
77
|
-
"markdown-h6-background": "#00000000",
|
|
78
|
-
"markdown-h6-color": "#FFFCF099",
|
|
79
|
-
"panel": "#282726",
|
|
80
|
-
"panel-darken-1": "#181716",
|
|
81
|
-
"panel-darken-2": "#040200",
|
|
82
|
-
"panel-darken-3": "#000000",
|
|
83
|
-
"panel-lighten-1": "#383736",
|
|
84
|
-
"panel-lighten-2": "#494846",
|
|
85
|
-
"panel-lighten-3": "#5A5958",
|
|
86
|
-
"primary": "#205EA6",
|
|
87
|
-
"primary-background": "#353C45",
|
|
88
|
-
"primary-background-darken-1": "#232B35",
|
|
89
|
-
"primary-background-darken-2": "#121A25",
|
|
90
|
-
"primary-background-darken-3": "#121A25",
|
|
91
|
-
"primary-background-lighten-1": "#474D56",
|
|
92
|
-
"primary-background-lighten-2": "#595E66",
|
|
93
|
-
"primary-background-lighten-3": "#6A6F76",
|
|
94
|
-
"primary-darken-1": "#004C91",
|
|
95
|
-
"primary-darken-2": "#003B7E",
|
|
96
|
-
"primary-darken-3": "#002B6B",
|
|
97
|
-
"primary-lighten-1": "#3C70BA",
|
|
98
|
-
"primary-lighten-2": "#5383CF",
|
|
99
|
-
"primary-lighten-3": "#6996E4",
|
|
100
|
-
"primary-muted": "#14263C",
|
|
101
|
-
"scrollbar": "#0C2542",
|
|
102
|
-
"scrollbar-active": "#205EA6",
|
|
103
|
-
"scrollbar-background": "#000000",
|
|
104
|
-
"scrollbar-background-active": "#000000",
|
|
105
|
-
"scrollbar-background-hover": "#000000",
|
|
106
|
-
"scrollbar-corner-color": "#000000",
|
|
107
|
-
"scrollbar-hover": "#102F53",
|
|
108
|
-
"secondary": "#24837B",
|
|
109
|
-
"secondary-background": "#364140",
|
|
110
|
-
"secondary-background-darken-1": "#24302F",
|
|
111
|
-
"secondary-background-darken-2": "#13201F",
|
|
112
|
-
"secondary-background-darken-3": "#13201F",
|
|
113
|
-
"secondary-background-lighten-1": "#485251",
|
|
114
|
-
"secondary-background-lighten-2": "#596262",
|
|
115
|
-
"secondary-background-lighten-3": "#6B7373",
|
|
116
|
-
"secondary-darken-1": "#006F68",
|
|
117
|
-
"secondary-darken-2": "#005D56",
|
|
118
|
-
"secondary-darken-3": "#004A44",
|
|
119
|
-
"secondary-lighten-1": "#3C968E",
|
|
120
|
-
"secondary-lighten-2": "#52AAA1",
|
|
121
|
-
"secondary-lighten-3": "#67BFB6",
|
|
122
|
-
"secondary-muted": "#16312F",
|
|
123
|
-
"success": "#65800B",
|
|
124
|
-
"success-darken-1": "#526D00",
|
|
125
|
-
"success-darken-2": "#3E5A00",
|
|
126
|
-
"success-darken-3": "#2D4800",
|
|
127
|
-
"success-lighten-1": "#7A9324",
|
|
128
|
-
"success-lighten-2": "#8EA738",
|
|
129
|
-
"success-lighten-3": "#A3BB4C",
|
|
130
|
-
"success-muted": "#29300D",
|
|
131
|
-
"surface": "#1C1B1A",
|
|
132
|
-
"surface-active": "#282726",
|
|
133
|
-
"surface-darken-1": "#0A0806",
|
|
134
|
-
"surface-darken-2": "#000000",
|
|
135
|
-
"surface-darken-3": "#000000",
|
|
136
|
-
"surface-lighten-1": "#2B2A29",
|
|
137
|
-
"surface-lighten-2": "#3B3A39",
|
|
138
|
-
"surface-lighten-3": "#4D4B4A",
|
|
139
|
-
"text": "#FFFFFFDD",
|
|
140
|
-
"text-accent": "#BDA4DA",
|
|
141
|
-
"text-disabled": "#FFFFFF60",
|
|
142
|
-
"text-error": "#CA7671",
|
|
143
|
-
"text-muted": "#FFFFFF99",
|
|
144
|
-
"text-primary": "#6B94C4",
|
|
145
|
-
"text-secondary": "#6EADA7",
|
|
146
|
-
"text-success": "#9AAB5D",
|
|
147
|
-
"text-warning": "#C8AD57",
|
|
148
|
-
"warning": "#AC8301",
|
|
149
|
-
"warning-darken-1": "#977000",
|
|
150
|
-
"warning-darken-2": "#815D00",
|
|
151
|
-
"warning-darken-3": "#6C4C00",
|
|
152
|
-
"warning-lighten-1": "#C39621",
|
|
153
|
-
"warning-lighten-2": "#D9AA37",
|
|
154
|
-
"warning-lighten-3": "#F0BE4B",
|
|
155
|
-
"warning-muted": "#3F310A",
|
|
156
|
-
},
|
|
157
|
-
};
|
|
158
|
-
export default theme;
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
const theme = {
|
|
2
|
-
name: "gruvbox",
|
|
3
|
-
dark: true,
|
|
4
|
-
vars: {
|
|
5
|
-
"accent": "#F9BD2F",
|
|
6
|
-
"accent-darken-1": "#E2A811",
|
|
7
|
-
"accent-darken-2": "#CB9400",
|
|
8
|
-
"accent-darken-3": "#B48100",
|
|
9
|
-
"accent-lighten-1": "#FFD146",
|
|
10
|
-
"accent-lighten-2": "#FFE65B",
|
|
11
|
-
"accent-lighten-3": "#FFFC70",
|
|
12
|
-
"accent-muted": "#67542A",
|
|
13
|
-
"background": "#282828",
|
|
14
|
-
"background-darken-1": "#181818",
|
|
15
|
-
"background-darken-2": "#040404",
|
|
16
|
-
"background-darken-3": "#000000",
|
|
17
|
-
"background-lighten-1": "#383838",
|
|
18
|
-
"background-lighten-2": "#494949",
|
|
19
|
-
"background-lighten-3": "#5A5A5A",
|
|
20
|
-
"block-cursor-background": "#85A598",
|
|
21
|
-
"block-cursor-blurred-background": "#85A5984C",
|
|
22
|
-
"block-cursor-blurred-foreground": "#FBF1C7",
|
|
23
|
-
"block-cursor-foreground": "#FBF1C7",
|
|
24
|
-
"block-hover-background": "#FFFFFF19",
|
|
25
|
-
"boost": "#FFFFFF0A",
|
|
26
|
-
"boost-darken-1": "#E9E9E90A",
|
|
27
|
-
"boost-darken-2": "#D4D4D40A",
|
|
28
|
-
"boost-darken-3": "#BFBFBF0A",
|
|
29
|
-
"boost-lighten-1": "#FFFFFF0A",
|
|
30
|
-
"boost-lighten-2": "#FFFFFF0A",
|
|
31
|
-
"boost-lighten-3": "#FFFFFF0A",
|
|
32
|
-
"border": "#85A598",
|
|
33
|
-
"border-blurred": "#363230",
|
|
34
|
-
"button-color-foreground": "#282828",
|
|
35
|
-
"button-foreground": "#FBF1C7",
|
|
36
|
-
"error": "#FA4934",
|
|
37
|
-
"error-darken-1": "#E23022",
|
|
38
|
-
"error-darken-2": "#C90D10",
|
|
39
|
-
"error-darken-3": "#B10000",
|
|
40
|
-
"error-lighten-1": "#FF5F45",
|
|
41
|
-
"error-lighten-2": "#FF7558",
|
|
42
|
-
"error-lighten-3": "#FF8B6B",
|
|
43
|
-
"error-muted": "#67312B",
|
|
44
|
-
"footer-background": "#504945",
|
|
45
|
-
"footer-description-background": "#00000000",
|
|
46
|
-
"footer-description-foreground": "#FBF1C7",
|
|
47
|
-
"footer-foreground": "#FBF1C7",
|
|
48
|
-
"footer-item-background": "#00000000",
|
|
49
|
-
"footer-key-background": "#00000000",
|
|
50
|
-
"footer-key-foreground": "#FABD2F",
|
|
51
|
-
"foreground": "#FBF1C7",
|
|
52
|
-
"foreground-darken-1": "#E5DBB2",
|
|
53
|
-
"foreground-darken-2": "#D0C69E",
|
|
54
|
-
"foreground-darken-3": "#BBB28A",
|
|
55
|
-
"foreground-disabled": "#FBF1C760",
|
|
56
|
-
"foreground-lighten-1": "#FFFFDC",
|
|
57
|
-
"foreground-lighten-2": "#FFFFF1",
|
|
58
|
-
"foreground-lighten-3": "#FFFFFF",
|
|
59
|
-
"foreground-muted": "#FBF1C799",
|
|
60
|
-
"input-cursor-background": "#FBF1C7",
|
|
61
|
-
"input-cursor-foreground": "#282828",
|
|
62
|
-
"input-selection-background": "#689D6A40",
|
|
63
|
-
"link-background": "#00000000",
|
|
64
|
-
"link-background-hover": "#85A598",
|
|
65
|
-
"link-color": "#FFFFFFDD",
|
|
66
|
-
"link-color-hover": "#FFFFFFDD",
|
|
67
|
-
"markdown-h1-background": "#00000000",
|
|
68
|
-
"markdown-h1-color": "#85A598",
|
|
69
|
-
"markdown-h2-background": "#00000000",
|
|
70
|
-
"markdown-h2-color": "#85A598",
|
|
71
|
-
"markdown-h3-background": "#00000000",
|
|
72
|
-
"markdown-h3-color": "#85A598",
|
|
73
|
-
"markdown-h4-background": "#00000000",
|
|
74
|
-
"markdown-h4-color": "#FBF1C7",
|
|
75
|
-
"markdown-h5-background": "#00000000",
|
|
76
|
-
"markdown-h5-color": "#FBF1C7",
|
|
77
|
-
"markdown-h6-background": "#00000000",
|
|
78
|
-
"markdown-h6-color": "#FBF1C799",
|
|
79
|
-
"panel": "#504945",
|
|
80
|
-
"panel-darken-1": "#3E3834",
|
|
81
|
-
"panel-darken-2": "#2E2724",
|
|
82
|
-
"panel-darken-3": "#1E1815",
|
|
83
|
-
"panel-lighten-1": "#615A56",
|
|
84
|
-
"panel-lighten-2": "#746C68",
|
|
85
|
-
"panel-lighten-3": "#877F7B",
|
|
86
|
-
"primary": "#85A598",
|
|
87
|
-
"primary-background": "#535755",
|
|
88
|
-
"primary-background-darken-1": "#444846",
|
|
89
|
-
"primary-background-darken-2": "#353A38",
|
|
90
|
-
"primary-background-darken-3": "#353A38",
|
|
91
|
-
"primary-background-lighten-1": "#626664",
|
|
92
|
-
"primary-background-lighten-2": "#717573",
|
|
93
|
-
"primary-background-lighten-3": "#808382",
|
|
94
|
-
"primary-darken-1": "#719184",
|
|
95
|
-
"primary-darken-2": "#5F7D71",
|
|
96
|
-
"primary-darken-3": "#4C6A5F",
|
|
97
|
-
"primary-lighten-1": "#98B9AB",
|
|
98
|
-
"primary-lighten-2": "#ACCEC0",
|
|
99
|
-
"primary-lighten-3": "#C1E3D5",
|
|
100
|
-
"primary-muted": "#434D49",
|
|
101
|
-
"scrollbar": "#43504B",
|
|
102
|
-
"scrollbar-active": "#85A598",
|
|
103
|
-
"scrollbar-background": "#181818",
|
|
104
|
-
"scrollbar-background-active": "#181818",
|
|
105
|
-
"scrollbar-background-hover": "#181818",
|
|
106
|
-
"scrollbar-corner-color": "#181818",
|
|
107
|
-
"scrollbar-hover": "#4E5E58",
|
|
108
|
-
"secondary": "#A89A85",
|
|
109
|
-
"secondary-background": "#585653",
|
|
110
|
-
"secondary-background-darken-1": "#494744",
|
|
111
|
-
"secondary-background-darken-2": "#3B3935",
|
|
112
|
-
"secondary-background-darken-3": "#3B3935",
|
|
113
|
-
"secondary-background-lighten-1": "#676562",
|
|
114
|
-
"secondary-background-lighten-2": "#757471",
|
|
115
|
-
"secondary-background-lighten-3": "#848380",
|
|
116
|
-
"secondary-darken-1": "#938671",
|
|
117
|
-
"secondary-darken-2": "#80735F",
|
|
118
|
-
"secondary-darken-3": "#6D604D",
|
|
119
|
-
"secondary-lighten-1": "#BCAE98",
|
|
120
|
-
"secondary-lighten-2": "#D1C2AC",
|
|
121
|
-
"secondary-lighten-3": "#E6D7C1",
|
|
122
|
-
"secondary-muted": "#4E4A43",
|
|
123
|
-
"success": "#B7BB26",
|
|
124
|
-
"success-darken-1": "#A2A601",
|
|
125
|
-
"success-darken-2": "#8C9300",
|
|
126
|
-
"success-darken-3": "#777F00",
|
|
127
|
-
"success-lighten-1": "#CDCF3D",
|
|
128
|
-
"success-lighten-2": "#E4E453",
|
|
129
|
-
"success-lighten-3": "#FAFA68",
|
|
130
|
-
"success-muted": "#535427",
|
|
131
|
-
"surface": "#3C3836",
|
|
132
|
-
"surface-active": "#494543",
|
|
133
|
-
"surface-darken-1": "#2B2725",
|
|
134
|
-
"surface-darken-2": "#1C1816",
|
|
135
|
-
"surface-darken-3": "#0A0300",
|
|
136
|
-
"surface-lighten-1": "#4D4846",
|
|
137
|
-
"surface-lighten-2": "#5F5A58",
|
|
138
|
-
"surface-lighten-3": "#716C6A",
|
|
139
|
-
"text": "#FFFFFFDD",
|
|
140
|
-
"text-accent": "#FBD375",
|
|
141
|
-
"text-disabled": "#FFFFFF60",
|
|
142
|
-
"text-error": "#FC8679",
|
|
143
|
-
"text-muted": "#FFFFFF99",
|
|
144
|
-
"text-primary": "#AEC3BB",
|
|
145
|
-
"text-secondary": "#C5BCAE",
|
|
146
|
-
"text-success": "#D0D26F",
|
|
147
|
-
"text-warning": "#FEAB67",
|
|
148
|
-
"warning": "#FD8019",
|
|
149
|
-
"warning-darken-1": "#E56C00",
|
|
150
|
-
"warning-darken-2": "#CD5800",
|
|
151
|
-
"warning-darken-3": "#B54500",
|
|
152
|
-
"warning-lighten-1": "#FF9430",
|
|
153
|
-
"warning-lighten-2": "#FFA845",
|
|
154
|
-
"warning-lighten-3": "#FFBD5A",
|
|
155
|
-
"warning-muted": "#684223",
|
|
156
|
-
},
|
|
157
|
-
};
|
|
158
|
-
export default theme;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type { ThemePaletteData } from "./types.js";
|
|
2
|
-
/**
|
|
3
|
-
* All bundled theme palettes, keyed by name (20 Textual-ported + 2 rich-js
|
|
4
|
-
* synthetic: `default` and `svg-export`). `as const` preserves the literal-
|
|
5
|
-
* type keys so `ThemeName` (below) is `"atom-one-dark" | "..."`, not
|
|
6
|
-
* `string`. Callers must type their input as `ThemeName` explicitly to get
|
|
7
|
-
* compile-time safety; `getThemePalette(string)` still returns nullable.
|
|
8
|
-
*/
|
|
9
|
-
export declare const THEMES: {
|
|
10
|
-
readonly "atom-one-dark": ThemePaletteData;
|
|
11
|
-
readonly "atom-one-light": ThemePaletteData;
|
|
12
|
-
readonly "catppuccin-frappe": ThemePaletteData;
|
|
13
|
-
readonly "catppuccin-latte": ThemePaletteData;
|
|
14
|
-
readonly "catppuccin-macchiato": ThemePaletteData;
|
|
15
|
-
readonly "catppuccin-mocha": ThemePaletteData;
|
|
16
|
-
readonly cyberpunk: ThemePaletteData;
|
|
17
|
-
readonly default: ThemePaletteData;
|
|
18
|
-
readonly dracula: ThemePaletteData;
|
|
19
|
-
readonly flexoki: ThemePaletteData;
|
|
20
|
-
readonly gruvbox: ThemePaletteData;
|
|
21
|
-
readonly monokai: ThemePaletteData;
|
|
22
|
-
readonly nord: ThemePaletteData;
|
|
23
|
-
readonly "rose-pine": ThemePaletteData;
|
|
24
|
-
readonly "rose-pine-dawn": ThemePaletteData;
|
|
25
|
-
readonly "rose-pine-moon": ThemePaletteData;
|
|
26
|
-
readonly "solarized-dark": ThemePaletteData;
|
|
27
|
-
readonly "solarized-light": ThemePaletteData;
|
|
28
|
-
readonly "svg-export": ThemePaletteData;
|
|
29
|
-
readonly "textual-ansi": ThemePaletteData;
|
|
30
|
-
readonly "textual-dark": ThemePaletteData;
|
|
31
|
-
readonly "textual-light": ThemePaletteData;
|
|
32
|
-
readonly "tokyo-night": ThemePaletteData;
|
|
33
|
-
};
|
|
34
|
-
export type ThemeName = keyof typeof THEMES;
|
|
35
|
-
export type { ThemePaletteData };
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
// Barrel: collects every per-theme file into a single typed map. `ThemeName`
|
|
2
|
-
// and the registry's name list are *derived* from `THEMES`, so the keys
|
|
3
|
-
// below define the canonical name set for the registry. Adding a theme:
|
|
4
|
-
// 1. drop a new `data/<name>.ts` file,
|
|
5
|
-
// 2. add it here,
|
|
6
|
-
// 3. (optional) add a matching `<NAME>` export in `terminalThemes.ts`
|
|
7
|
-
// if you want a pre-built `TerminalTheme` constant alongside the
|
|
8
|
-
// registry palette. Without step 3 the theme is still fully usable
|
|
9
|
-
// via `getThemePalette(name)`.
|
|
10
|
-
import atomOneDark from "./atom-one-dark.js";
|
|
11
|
-
import atomOneLight from "./atom-one-light.js";
|
|
12
|
-
import catppuccinFrappe from "./catppuccin-frappe.js";
|
|
13
|
-
import catppuccinLatte from "./catppuccin-latte.js";
|
|
14
|
-
import catppuccinMacchiato from "./catppuccin-macchiato.js";
|
|
15
|
-
import catppuccinMocha from "./catppuccin-mocha.js";
|
|
16
|
-
import cyberpunk from "./cyberpunk.js";
|
|
17
|
-
import defaultTheme from "./default.js";
|
|
18
|
-
import dracula from "./dracula.js";
|
|
19
|
-
import flexoki from "./flexoki.js";
|
|
20
|
-
import gruvbox from "./gruvbox.js";
|
|
21
|
-
import monokai from "./monokai.js";
|
|
22
|
-
import nord from "./nord.js";
|
|
23
|
-
import rosePine from "./rose-pine.js";
|
|
24
|
-
import rosePineDawn from "./rose-pine-dawn.js";
|
|
25
|
-
import rosePineMoon from "./rose-pine-moon.js";
|
|
26
|
-
import solarizedDark from "./solarized-dark.js";
|
|
27
|
-
import solarizedLight from "./solarized-light.js";
|
|
28
|
-
import svgExport from "./svg-export.js";
|
|
29
|
-
import textualAnsi from "./textual-ansi.js";
|
|
30
|
-
import textualDark from "./textual-dark.js";
|
|
31
|
-
import textualLight from "./textual-light.js";
|
|
32
|
-
import tokyoNight from "./tokyo-night.js";
|
|
33
|
-
/**
|
|
34
|
-
* All bundled theme palettes, keyed by name (20 Textual-ported + 2 rich-js
|
|
35
|
-
* synthetic: `default` and `svg-export`). `as const` preserves the literal-
|
|
36
|
-
* type keys so `ThemeName` (below) is `"atom-one-dark" | "..."`, not
|
|
37
|
-
* `string`. Callers must type their input as `ThemeName` explicitly to get
|
|
38
|
-
* compile-time safety; `getThemePalette(string)` still returns nullable.
|
|
39
|
-
*/
|
|
40
|
-
export const THEMES = {
|
|
41
|
-
"atom-one-dark": atomOneDark,
|
|
42
|
-
"atom-one-light": atomOneLight,
|
|
43
|
-
"catppuccin-frappe": catppuccinFrappe,
|
|
44
|
-
"catppuccin-latte": catppuccinLatte,
|
|
45
|
-
"catppuccin-macchiato": catppuccinMacchiato,
|
|
46
|
-
"catppuccin-mocha": catppuccinMocha,
|
|
47
|
-
"cyberpunk": cyberpunk,
|
|
48
|
-
"default": defaultTheme,
|
|
49
|
-
"dracula": dracula,
|
|
50
|
-
"flexoki": flexoki,
|
|
51
|
-
"gruvbox": gruvbox,
|
|
52
|
-
"monokai": monokai,
|
|
53
|
-
"nord": nord,
|
|
54
|
-
"rose-pine": rosePine,
|
|
55
|
-
"rose-pine-dawn": rosePineDawn,
|
|
56
|
-
"rose-pine-moon": rosePineMoon,
|
|
57
|
-
"solarized-dark": solarizedDark,
|
|
58
|
-
"solarized-light": solarizedLight,
|
|
59
|
-
"svg-export": svgExport,
|
|
60
|
-
"textual-ansi": textualAnsi,
|
|
61
|
-
"textual-dark": textualDark,
|
|
62
|
-
"textual-light": textualLight,
|
|
63
|
-
"tokyo-night": tokyoNight,
|
|
64
|
-
};
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
const theme = {
|
|
2
|
-
name: "monokai",
|
|
3
|
-
dark: true,
|
|
4
|
-
vars: {
|
|
5
|
-
"accent": "#66D9EF",
|
|
6
|
-
"accent-darken-1": "#4DC3D9",
|
|
7
|
-
"accent-darken-2": "#31AFC4",
|
|
8
|
-
"accent-darken-3": "#009BB0",
|
|
9
|
-
"accent-lighten-1": "#7DEEFF",
|
|
10
|
-
"accent-lighten-2": "#94FFFF",
|
|
11
|
-
"accent-lighten-3": "#AAFFFF",
|
|
12
|
-
"accent-muted": "#395D5F",
|
|
13
|
-
"background": "#272822",
|
|
14
|
-
"background-darken-1": "#171812",
|
|
15
|
-
"background-darken-2": "#020400",
|
|
16
|
-
"background-darken-3": "#000000",
|
|
17
|
-
"background-lighten-1": "#373831",
|
|
18
|
-
"background-lighten-2": "#484942",
|
|
19
|
-
"background-lighten-3": "#595A54",
|
|
20
|
-
"block-cursor-background": "#AE81FF",
|
|
21
|
-
"block-cursor-blurred-background": "#AE81FF4C",
|
|
22
|
-
"block-cursor-blurred-foreground": "#D6D6D6",
|
|
23
|
-
"block-cursor-foreground": "#FFFFFFDD",
|
|
24
|
-
"block-hover-background": "#FFFFFF19",
|
|
25
|
-
"boost": "#FFFFFF0A",
|
|
26
|
-
"boost-darken-1": "#E9E9E90A",
|
|
27
|
-
"boost-darken-2": "#D4D4D40A",
|
|
28
|
-
"boost-darken-3": "#BFBFBF0A",
|
|
29
|
-
"boost-lighten-1": "#FFFFFF0A",
|
|
30
|
-
"boost-lighten-2": "#FFFFFF0A",
|
|
31
|
-
"boost-lighten-3": "#FFFFFF0A",
|
|
32
|
-
"border": "#AE81FF",
|
|
33
|
-
"border-blurred": "#282828",
|
|
34
|
-
"button-color-foreground": "#272822",
|
|
35
|
-
"button-foreground": "#D6D6D6",
|
|
36
|
-
"error": "#F82672",
|
|
37
|
-
"error-darken-1": "#E1005F",
|
|
38
|
-
"error-darken-2": "#C9004E",
|
|
39
|
-
"error-darken-3": "#B1003D",
|
|
40
|
-
"error-lighten-1": "#FF4484",
|
|
41
|
-
"error-lighten-2": "#FF5D98",
|
|
42
|
-
"error-lighten-3": "#FF75AC",
|
|
43
|
-
"error-muted": "#66273A",
|
|
44
|
-
"footer-background": "#3E3D32",
|
|
45
|
-
"footer-description-background": "#00000000",
|
|
46
|
-
"footer-description-foreground": "#D6D6D6",
|
|
47
|
-
"footer-foreground": "#D6D6D6",
|
|
48
|
-
"footer-item-background": "#00000000",
|
|
49
|
-
"footer-key-background": "#00000000",
|
|
50
|
-
"footer-key-foreground": "#66D9EF",
|
|
51
|
-
"foreground": "#D6D6D6",
|
|
52
|
-
"foreground-darken-1": "#C1C1C1",
|
|
53
|
-
"foreground-darken-2": "#ACACAC",
|
|
54
|
-
"foreground-darken-3": "#989898",
|
|
55
|
-
"foreground-disabled": "#D6D6D660",
|
|
56
|
-
"foreground-lighten-1": "#EBEBEB",
|
|
57
|
-
"foreground-lighten-2": "#FFFFFF",
|
|
58
|
-
"foreground-lighten-3": "#FFFFFF",
|
|
59
|
-
"foreground-muted": "#797979",
|
|
60
|
-
"input-cursor-background": "#D6D6D6",
|
|
61
|
-
"input-cursor-foreground": "#272822",
|
|
62
|
-
"input-selection-background": "#575B6190",
|
|
63
|
-
"link-background": "#00000000",
|
|
64
|
-
"link-background-hover": "#AE81FF",
|
|
65
|
-
"link-color": "#FFFFFFDD",
|
|
66
|
-
"link-color-hover": "#FFFFFFDD",
|
|
67
|
-
"markdown-h1-background": "#00000000",
|
|
68
|
-
"markdown-h1-color": "#AE81FF",
|
|
69
|
-
"markdown-h2-background": "#00000000",
|
|
70
|
-
"markdown-h2-color": "#AE81FF",
|
|
71
|
-
"markdown-h3-background": "#00000000",
|
|
72
|
-
"markdown-h3-color": "#AE81FF",
|
|
73
|
-
"markdown-h4-background": "#00000000",
|
|
74
|
-
"markdown-h4-color": "#D6D6D6",
|
|
75
|
-
"markdown-h5-background": "#00000000",
|
|
76
|
-
"markdown-h5-color": "#D6D6D6",
|
|
77
|
-
"markdown-h6-background": "#00000000",
|
|
78
|
-
"markdown-h6-color": "#797979",
|
|
79
|
-
"panel": "#3E3D32",
|
|
80
|
-
"panel-darken-1": "#2D2C22",
|
|
81
|
-
"panel-darken-2": "#1D1C12",
|
|
82
|
-
"panel-darken-3": "#0D0B00",
|
|
83
|
-
"panel-lighten-1": "#4F4E42",
|
|
84
|
-
"panel-lighten-2": "#616054",
|
|
85
|
-
"panel-lighten-3": "#737266",
|
|
86
|
-
"primary": "#AE81FF",
|
|
87
|
-
"primary-background": "#58535F",
|
|
88
|
-
"primary-background-darken-1": "#494451",
|
|
89
|
-
"primary-background-darken-2": "#3B3543",
|
|
90
|
-
"primary-background-darken-3": "#3B3543",
|
|
91
|
-
"primary-background-lighten-1": "#67626D",
|
|
92
|
-
"primary-background-lighten-2": "#75717B",
|
|
93
|
-
"primary-background-lighten-3": "#848089",
|
|
94
|
-
"primary-darken-1": "#986DE9",
|
|
95
|
-
"primary-darken-2": "#835AD3",
|
|
96
|
-
"primary-darken-3": "#6E48BE",
|
|
97
|
-
"primary-lighten-1": "#C394FF",
|
|
98
|
-
"primary-lighten-2": "#D9A9FF",
|
|
99
|
-
"primary-lighten-3": "#EFBDFF",
|
|
100
|
-
"primary-muted": "#4F4264",
|
|
101
|
-
"scrollbar": "#534270",
|
|
102
|
-
"scrollbar-active": "#AE81FF",
|
|
103
|
-
"scrollbar-background": "#171812",
|
|
104
|
-
"scrollbar-background-active": "#171812",
|
|
105
|
-
"scrollbar-background-hover": "#171812",
|
|
106
|
-
"scrollbar-corner-color": "#171812",
|
|
107
|
-
"scrollbar-hover": "#624C88",
|
|
108
|
-
"secondary": "#F82672",
|
|
109
|
-
"secondary-background": "#61474D",
|
|
110
|
-
"secondary-background-darken-1": "#53373D",
|
|
111
|
-
"secondary-background-darken-2": "#46272E",
|
|
112
|
-
"secondary-background-darken-3": "#46272E",
|
|
113
|
-
"secondary-background-lighten-1": "#6F575D",
|
|
114
|
-
"secondary-background-lighten-2": "#7D676C",
|
|
115
|
-
"secondary-background-lighten-3": "#8B787C",
|
|
116
|
-
"secondary-darken-1": "#E1005F",
|
|
117
|
-
"secondary-darken-2": "#C9004E",
|
|
118
|
-
"secondary-darken-3": "#B1003D",
|
|
119
|
-
"secondary-lighten-1": "#FF4484",
|
|
120
|
-
"secondary-lighten-2": "#FF5D98",
|
|
121
|
-
"secondary-lighten-3": "#FF75AC",
|
|
122
|
-
"secondary-muted": "#66273A",
|
|
123
|
-
"success": "#A5E22E",
|
|
124
|
-
"success-darken-1": "#90CC09",
|
|
125
|
-
"success-darken-2": "#7AB700",
|
|
126
|
-
"success-darken-3": "#64A300",
|
|
127
|
-
"success-lighten-1": "#BBF746",
|
|
128
|
-
"success-lighten-2": "#D2FF5D",
|
|
129
|
-
"success-lighten-3": "#E8FF72",
|
|
130
|
-
"success-muted": "#4D5F25",
|
|
131
|
-
"surface": "#2E2E2E",
|
|
132
|
-
"surface-active": "#3B3B3B",
|
|
133
|
-
"surface-darken-1": "#1E1E1E",
|
|
134
|
-
"surface-darken-2": "#0D0D0D",
|
|
135
|
-
"surface-darken-3": "#000000",
|
|
136
|
-
"surface-lighten-1": "#3E3E3E",
|
|
137
|
-
"surface-lighten-2": "#4F4F4F",
|
|
138
|
-
"surface-lighten-3": "#616161",
|
|
139
|
-
"text": "#FFFFFFDD",
|
|
140
|
-
"text-accent": "#9AE5F4",
|
|
141
|
-
"text-disabled": "#FFFFFF60",
|
|
142
|
-
"text-error": "#FB6FA1",
|
|
143
|
-
"text-muted": "#FFFFFF99",
|
|
144
|
-
"text-primary": "#C9ABFF",
|
|
145
|
-
"text-secondary": "#FB6FA1",
|
|
146
|
-
"text-success": "#C4EB75",
|
|
147
|
-
"text-warning": "#FDBA6B",
|
|
148
|
-
"warning": "#FC971F",
|
|
149
|
-
"warning-darken-1": "#E58300",
|
|
150
|
-
"warning-darken-2": "#CD6F00",
|
|
151
|
-
"warning-darken-3": "#B65D00",
|
|
152
|
-
"warning-lighten-1": "#FFAB36",
|
|
153
|
-
"warning-lighten-2": "#FFBF4C",
|
|
154
|
-
"warning-lighten-3": "#FFD460",
|
|
155
|
-
"warning-muted": "#674921",
|
|
156
|
-
},
|
|
157
|
-
};
|
|
158
|
-
export default theme;
|