gpui-component 0.6.0

GPUI Component: the styled component library of GPUI Kit, with 60+ desktop UI components for GPUI.
Documentation
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
{
  "$schema": "https://github.com/longbridge/gpui-kit/raw/refs/heads/main/.theme-schema.json",
  "name": "Default",
  "author": "shadcn",
  "url": "https://ui.shadcn.com",
  "_ref": "https://github.com/shadcn-ui/ui/blob/main/apps/v4/public/r/colors/neutral.json",
  "themes": [
    {
      "is_default": true,
      "name": "Default Light",
      "mode": "light",
      "colors": {
        "accent.background": "neutral-100",
        "accent.foreground": "neutral-900",
        "accordion.background": "white",
        "background": "white",
        "border": "neutral-200",
        "group_box.background": "#f5f5f5",
        "group_box.foreground": "#171717",
        "caret": "#0a0a0a",
        "chart_1": "#93c5fd",
        "chart_2": "#3b82f6",
        "chart_3": "#2563eb",
        "chart_4": "#1d4ed8",
        "chart_5": "#1e40af",
        "chart_bullish": "green-600",
        "chart_bearish": "red-600",
        "danger.background": "red-500",
        "danger.foreground": "neutral-50",
        "description_list_label.foreground": "#171717",
        "drag_border": "#3b82f6",
        "drop_target.background": "#3b82f640",
        "foreground": "neutral-950",
        "info.background": "cyan-500",
        "info.foreground": "neutral-50",
        "input.border": "neutral-200",
        "link.foreground": "#0a0a0a",
        "link.active.foreground": "#0a0a0a",
        "link.hover.foreground": "#404040",
        "list.background": "white",
        "list.active.background": "#bfdbfe33",
        "list.active.border": "#60a5fa",
        "list.even.background": "#fafafa",
        "list.head.background": "#fafafa",
        "list.hover.background": "#f5f5f5",
        "muted.background": "neutral-100",
        "muted.foreground": "neutral-500",
        "popover.background": "white",
        "popover.foreground": "neutral-950",
        "primary.background": "neutral-900",
        "primary.active.background": "neutral-950",
        "primary.foreground": "neutral-50",
        "primary.hover.background": "neutral-800",
        "progress_bar.background": "#171717",
        "ring": "neutral-400",
        "scrollbar.background": "#fafafa00",
        "scrollbar.thumb.background": "#a3a3a3e6",
        "scrollbar.thumb.hover.background": "#a3a3a3",
        "secondary.background": "neutral-200",
        "secondary.active.background": "neutral-300",
        "secondary.foreground": "neutral-900",
        "secondary.hover.background": "neutral-200",
        "selection.background": "#55a0fc",
        "sidebar.background": "#fafafa",
        "sidebar.accent.background": "#e5e5e5",
        "sidebar.accent.foreground": "#171717",
        "sidebar.border": "#e5e5e5",
        "sidebar.foreground": "#171717",
        "sidebar.primary.background": "#171717",
        "sidebar.primary.foreground": "#fafafa",
        "skeleton.background": "#f5f5f5",
        "slider.bar.background": "#171717",
        "slider.thumb.background": "white",
        "success.background": "green-500",
        "success.foreground": "neutral-50",
        "switch.background": "#d4d4d4",
        "tab.background": "#00000000",
        "tab.active.background": "white",
        "tab.active.foreground": "#171717",
        "tab_bar.background": "#f5f5f5",
        "tab_bar.segmented.background": "#f5f5f5",
        "tab.foreground": "#404040",
        "table.background": "white",
        "table.active.background": "#bfdbfe33",
        "table.active.border": "#60a5fa",
        "table.even.background": "#fafafa",
        "table.head.background": "#fafafa",
        "table.head.foreground": "#737373",
        "table.hover.background": "#f5f5f5",
        "table.row.border": "#e5e5e5b3",
        "tiles.background": "#fafafa",
        "title_bar.background": "#F8F8F8",
        "title_bar.border": "#e5e5e5",
        "status_bar.background": "#F8F8F8",
        "status_bar.border": "#e5e5e5",
        "warning.background": "yellow-500",
        "warning.foreground": "neutral-50",
        "overlay": "#0000000d",
        "window.border": "#e5e5e5",
        "base.red": "red-600",
        "base.red.light": "red-400",
        "base.green": "green-600",
        "base.green.light": "green-400",
        "base.blue": "blue-600",
        "base.blue.light": "blue-400",
        "base.yellow": "yellow-600",
        "base.yellow.light": "yellow-400",
        "base.magenta": "purple-600",
        "base.magenta.light": "purple-400",
        "base.cyan": "cyan-600",
        "base.cyan.light": "cyan-400"
      },
      "highlight": {
        "editor.foreground": "#000000",
        "editor.background": "#ffffff",
        "editor.active_line.background": "#F5F5F5",
        "editor.line_number": "#929292",
        "editor.active_line_number": "#000000",
        "editor.invisible": "#73737366",
        "conflict": "#C5060B",
        "created": "#1642FF",
        "hidden": "#6D6D6D",
        "hint": "#9e5dff",
        "modified": "#9e7008",
        "predictive": "#A4ABB6",
        "warning": "#C99401",
        "syntax": {
          "attribute": {
            "color": "#957931"
          },
          "boolean": {
            "color": "#C5060B"
          },
          "comment": {
            "color": "#007fff"
          },
          "comment.doc": {
            "color": "#007fff"
          },
          "constant": {
            "color": "#C5060B"
          },
          "constructor": {
            "color": "#0433ff"
          },
          "embedded": {
            "color": "#333333"
          },
          "emphasis": {
            "font_style": "italic"
          },
          "emphasis.strong": {
            "font_weight": 700
          },
          "function": {
            "color": "#0000A2"
          },
          "keyword": {
            "color": "#0433ff"
          },
          "link_text": {
            "color": "#0000A2",
            "font_style": "normal"
          },
          "link_uri": {
            "color": "#6A7293",
            "font_style": "italic"
          },
          "number": {
            "color": "#0433ff"
          },
          "string": {
            "color": "#036A07"
          },
          "string.escape": {
            "color": "#036A07"
          },
          "string.regex": {
            "color": "#036A07"
          },
          "string.special": {
            "color": "#d21f07"
          },
          "string.special.symbol": {
            "color": "#d21f07"
          },
          "tag": {
            "color": "#0433ff"
          },
          "text.literal": {
            "color": "#6F42C1"
          },
          "text.code.span": {
            "color": "#6F42C1"
          },
          "title": {
            "color": "#0433FF"
          },
          "type": {
            "color": "#6f42c1"
          },
          "property": {
            "color": "#333333"
          },
          "variable": {
            "color": "#333333"
          },
          "variable.special": {
            "color": "#C5060B"
          }
        }
      }
    },
    {
      "is_default": true,
      "name": "Default Dark",
      "mode": "dark",
      "colors": {
        "accent.background": "neutral-800",
        "accent.foreground": "neutral-50",
        "accordion.background": "#0a0a0a",
        "background": "neutral-950",
        "border": "neutral-800",
        "group_box.background": "neutral-950",
        "group_box.foreground": "neutral-50",
        "caret": "#fafafa",
        "chart_1": "#93c5fd",
        "chart_2": "#3b82f6",
        "chart_3": "#2563eb",
        "chart_4": "#1d4ed8",
        "chart_5": "#1e40af",
        "chart_bullish": "green-600",
        "chart_bearish": "red-600",
        "danger.background": "red-400",
        "danger.foreground": "red-600",
        "description_list_label.background": "#171717",
        "description_list_label.foreground": "#f5f5f5",
        "drag_border": "#3b82f6",
        "drop_target.background": "#3b82f619",
        "foreground": "neutral-50",
        "info.background": "cyan-400",
        "info.foreground": "cyan-600",
        "input.border": "#2f2f2f",
        "link.foreground": "#fafafa",
        "link.active.foreground": "#d4d4d4",
        "link.hover.foreground": "#ffffff",
        "list.background": "#0a0a0a",
        "list.active.background": "#1e40af33",
        "list.active.border": "#1d4ed8",
        "list.even.background": "#17171766",
        "list.head.background": "#17171766",
        "muted.background": "neutral-800",
        "muted.foreground": "neutral-400",
        "popover.background": "neutral-950",
        "popover.foreground": "neutral-50",
        "primary.background": "neutral-50",
        "primary.active.background": "neutral-200",
        "primary.foreground": "neutral-900",
        "primary.hover.background": "neutral-100",
        "progress_bar.background": "#f5f5f5",
        "ring": "neutral-500",
        "scrollbar.background": "#17171700",
        "scrollbar.thumb.background": "#525252e6",
        "scrollbar.thumb.hover.background": "#525252",
        "secondary.background": "neutral-800",
        "secondary.active.background": "#212121",
        "secondary.foreground": "neutral-50",
        "secondary.hover.background": "#292929",
        "selection.background": "#1d4ed8",
        "sidebar.background": "#0a0a0a",
        "sidebar.accent.background": "#262626",
        "sidebar.accent.foreground": "#f5f5f5",
        "sidebar.border": "#262626",
        "sidebar.foreground": "#f5f5f5",
        "sidebar.primary.background": "#f5f5f5",
        "sidebar.primary.foreground": "#0a0a0a",
        "skeleton.background": "#171717",
        "slider.bar.background": "#fafafa",
        "slider.thumb.background": "#0a0a0a",
        "success.background": "green-400",
        "success.foreground": "green-600",
        "switch.background": "#404040",
        "tab.background": "#00000000",
        "tab.active.background": "#0a0a0a",
        "tab.active.foreground": "#fafafa",
        "tab_bar.background": "#171717",
        "tab_bar.segmented.background": "#171717",
        "tab.foreground": "#d4d4d4",
        "table.background": "#0a0a0a",
        "table.head.foreground": "#525252",
        "table.row.border": "#262626b3",
        "tiles.background": "#171717",
        "title_bar.background": "#171717",
        "title_bar.border": "#262626",
        "status_bar.background": "#171717",
        "status_bar.border": "#262626",
        "warning.background": "yellow-400",
        "warning.foreground": "yellow-600",
        "overlay": "#00000033",
        "window.border": "#262626",
        "base.red": "red-400",
        "base.red.light": "red-300",
        "base.green": "green-400",
        "base.green.light": "green-300",
        "base.blue": "blue-400",
        "base.blue.light": "blue-300",
        "base.yellow": "yellow-400",
        "base.yellow.light": "yellow-300",
        "base.magenta": "purple-400",
        "base.magenta.light": "purple-300",
        "base.cyan": "cyan-400",
        "base.cyan.light": "cyan-300"
      },
      "highlight": {
        "editor.foreground": "#CACCCA",
        "editor.background": "#0a0a0a",
        "editor.active_line.background": "#171717",
        "editor.line_number": "#8F8F8F",
        "editor.active_line_number": "#DDDDDD",
        "editor.invisible": "#73737366",
        "conflict": "#D2602D",
        "created": "#3f72e2",
        "created.background": "#0C4619",
        "deleted.background": "#46190C",
        "error.background": "#46190C",
        "error.border": "#E44A4F",
        "hidden": "#9E9E9E",
        "hint": "#b283f8",
        "hint.background": "#250c4b",
        "hint.border": "#3f0891",
        "info.background": "#0059D1",
        "info.border": "#0059D1",
        "modified": "#B0A878",
        "modified.background": "#3A310E",
        "predictive": "#5D5945",
        "success.background": "#0C4619",
        "warning.background": "#3A310E",
        "warning.border": "#7B6508",
        "syntax": {
          "attribute": {
            "color": "#7FAEF9"
          },
          "boolean": {
            "color": "#CC9E00"
          },
          "comment": {
            "color": "#9D9D9D"
          },
          "comment.doc": {
            "color": "#9D9D9D"
          },
          "constant": {
            "color": "#CC9E00"
          },
          "constructor": {
            "color": "#CBA6F7"
          },
          "embedded": {
            "color": "#CACCCA"
          },
          "emphasis": {
            "font_style": "italic"
          },
          "emphasis.strong": {
            "font_weight": 700
          },
          "function": {
            "color": "#B3C5F3"
          },
          "keyword": {
            "color": "#87B1F6"
          },
          "link_text": {
            "color": "#419CFF",
            "font_style": "normal"
          },
          "link_uri": {
            "color": "#7faef9",
            "font_style": "italic"
          },
          "number": {
            "color": "#CC9E00"
          },
          "string": {
            "color": "#A3E09F"
          },
          "string.escape": {
            "color": "#68DC7C"
          },
          "string.regex": {
            "color": "#68DC7C"
          },
          "string.special": {
            "color": "#A3E09F"
          },
          "string.special.symbol": {
            "color": "#A3E09F"
          },
          "tag": {
            "color": "#419CFF"
          },
          "text.literal": {
            "color": "#A3E09F"
          },
          "text.code.span": {
            "color": "#A3E09F"
          },
          "title": {
            "color": "#CC9E00",
            "font_weight": 600
          },
          "type": {
            "color": "#CBA6F7"
          },
          "property": {
            "color": "#BCC4E0"
          },
          "variable.special": {
            "color": "#419CFF"
          }
        }
      }
    }
  ]
}