@gridkitjs/theme-tailwind 0.10.0 → 0.12.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.
@@ -0,0 +1,528 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "tokens": [
4
+ {
5
+ "name": "--gridkit-surface",
6
+ "group": "colors",
7
+ "tier": "basic",
8
+ "type": "color",
9
+ "default": {
10
+ "light": "oklch(1 0 0)",
11
+ "dark": "oklch(0.21 0.01 250)"
12
+ },
13
+ "description": "The background of the header, footer, toolbar, group-by bar, pager and menus, and of their buttons and fields."
14
+ },
15
+ {
16
+ "name": "--gridkit-surface-muted",
17
+ "group": "colors",
18
+ "tier": "basic",
19
+ "type": "color",
20
+ "default": {
21
+ "light": "oklch(0.97 0.003 250)",
22
+ "dark": "oklch(0.26 0.012 250)"
23
+ },
24
+ "description": "The background of a hovered row, cell, header, button or option, and of group rows."
25
+ },
26
+ {
27
+ "name": "--gridkit-line",
28
+ "group": "colors",
29
+ "tier": "basic",
30
+ "type": "color",
31
+ "default": {
32
+ "light": "oklch(0.92 0.005 250)",
33
+ "dark": "oklch(0.33 0.014 250)"
34
+ },
35
+ "description": "Borders, separators and the lines between rows and columns."
36
+ },
37
+ {
38
+ "name": "--gridkit-hover-line",
39
+ "group": "colors",
40
+ "tier": "basic",
41
+ "type": "color",
42
+ "default": {
43
+ "light": "oklch(0.65 0.09 255)",
44
+ "dark": "oklch(0.75 0.09 255)"
45
+ },
46
+ "description": "The outline of a hovered cell and the edge of a column being resized."
47
+ },
48
+ {
49
+ "name": "--gridkit-fg",
50
+ "group": "colors",
51
+ "tier": "basic",
52
+ "type": "color",
53
+ "default": {
54
+ "light": "oklch(0.21 0.01 250)",
55
+ "dark": "oklch(0.97 0.003 250)"
56
+ },
57
+ "description": "The text of the toolbar, pager, menus and fields, while cells and headers keep the page's own text colour."
58
+ },
59
+ {
60
+ "name": "--gridkit-fg-muted",
61
+ "group": "colors",
62
+ "tier": "basic",
63
+ "type": "color",
64
+ "default": {
65
+ "light": "oklch(0.5 0.015 250)",
66
+ "dark": "oklch(0.7 0.015 250)"
67
+ },
68
+ "description": "Secondary text, icons and the scrollbar thumb."
69
+ },
70
+ {
71
+ "name": "--gridkit-accent",
72
+ "group": "colors",
73
+ "tier": "basic",
74
+ "type": "color",
75
+ "default": {
76
+ "light": "oklch(0.6 0.17 255)",
77
+ "dark": "oklch(0.7 0.15 255)"
78
+ },
79
+ "description": "Focus rings, drop indicators, the current page, and the marks of an active sort, group, filter or check."
80
+ },
81
+ {
82
+ "name": "--gridkit-selected",
83
+ "group": "colors",
84
+ "tier": "basic",
85
+ "type": "color",
86
+ "default": {
87
+ "light": "oklch(0.94 0.03 255)",
88
+ "dark": "oklch(0.32 0.05 255)"
89
+ },
90
+ "description": "The background of a selected row, column or cell, a focused menu item and a group-by chip."
91
+ },
92
+ {
93
+ "name": "--gridkit-selected-strong",
94
+ "group": "colors",
95
+ "tier": "basic",
96
+ "type": "color",
97
+ "default": {
98
+ "light": "oklch(0.9 0.05 255)",
99
+ "dark": "oklch(0.38 0.07 255)"
100
+ },
101
+ "description": "The background of a selected row, column or cell while hovered, and of a toolbar toggle that is on."
102
+ },
103
+ {
104
+ "name": "--gridkit-header-bg",
105
+ "group": "colors",
106
+ "tier": "advanced",
107
+ "type": "color",
108
+ "default": {
109
+ "light": "var(--gridkit-surface-light)",
110
+ "dark": "var(--gridkit-surface-dark)"
111
+ },
112
+ "description": "The background of the header row, and of a header while it is dragged."
113
+ },
114
+ {
115
+ "name": "--gridkit-header-fg",
116
+ "group": "colors",
117
+ "tier": "advanced",
118
+ "type": "color",
119
+ "default": {
120
+ "light": "currentColor",
121
+ "dark": "currentColor"
122
+ },
123
+ "description": "The text colour of the header row, which by default keeps the page's own, as cells do."
124
+ },
125
+ {
126
+ "name": "--gridkit-group-row-bg",
127
+ "group": "colors",
128
+ "tier": "advanced",
129
+ "type": "color",
130
+ "default": {
131
+ "light": "var(--gridkit-surface-muted-light)",
132
+ "dark": "var(--gridkit-surface-muted-dark)"
133
+ },
134
+ "description": "The background of group rows and of their summary rows."
135
+ },
136
+ {
137
+ "name": "--gridkit-row-hover-bg",
138
+ "group": "colors",
139
+ "tier": "advanced",
140
+ "type": "color",
141
+ "default": {
142
+ "light": "var(--gridkit-surface-muted-light)",
143
+ "dark": "var(--gridkit-surface-muted-dark)"
144
+ },
145
+ "description": "The background of a hovered row."
146
+ },
147
+ {
148
+ "name": "--gridkit-row-stripe-bg",
149
+ "group": "colors",
150
+ "tier": "advanced",
151
+ "type": "color",
152
+ "default": {
153
+ "light": "transparent",
154
+ "dark": "transparent"
155
+ },
156
+ "description": "The background of every second row, transparent by default so that rows are not striped."
157
+ },
158
+ {
159
+ "name": "--gridkit-focus-ring",
160
+ "group": "colors",
161
+ "tier": "advanced",
162
+ "type": "color",
163
+ "default": {
164
+ "light": "var(--gridkit-accent-light)",
165
+ "dark": "var(--gridkit-accent-dark)"
166
+ },
167
+ "description": "The ring around a focused cell, header, button or field."
168
+ },
169
+ {
170
+ "name": "--gridkit-accent-fg",
171
+ "group": "colors",
172
+ "tier": "advanced",
173
+ "type": "color",
174
+ "default": {
175
+ "light": "var(--gridkit-surface-light)",
176
+ "dark": "var(--gridkit-surface-dark)"
177
+ },
178
+ "description": "A mark drawn on an accent fill, such as the tick in a checked filter value."
179
+ },
180
+ {
181
+ "name": "--gridkit-error",
182
+ "group": "colors",
183
+ "tier": "advanced",
184
+ "type": "color",
185
+ "default": {
186
+ "light": "oklch(from var(--gridkit-accent-light) l c 25)",
187
+ "dark": "oklch(from var(--gridkit-accent-dark) l c 25)"
188
+ },
189
+ "description": "The border of an invalid filter value and the message under it, by default the accent turned red."
190
+ },
191
+ {
192
+ "name": "--gridkit-scrollbar-thumb",
193
+ "group": "colors",
194
+ "tier": "advanced",
195
+ "type": "color",
196
+ "default": {
197
+ "light": "color-mix(in oklch, var(--gridkit-fg-muted-light) 45%, transparent)",
198
+ "dark": "color-mix(in oklch, var(--gridkit-fg-muted-dark) 45%, transparent)"
199
+ },
200
+ "description": "The thumb of the grid's own scrollbars."
201
+ },
202
+ {
203
+ "name": "--gridkit-overlay-shadow-color",
204
+ "group": "colors",
205
+ "tier": "advanced",
206
+ "type": "color",
207
+ "default": {
208
+ "light": "oklch(0 0 0 / 0.15)",
209
+ "dark": "oklch(0 0 0 / 0.15)"
210
+ },
211
+ "description": "The colour of the shadow under menus, the column chooser and the filter menu."
212
+ },
213
+ {
214
+ "name": "--gridkit-font-family",
215
+ "group": "typography",
216
+ "tier": "basic",
217
+ "type": "font-family",
218
+ "default": "inherit",
219
+ "description": "The grid's font, the page's own by default."
220
+ },
221
+ {
222
+ "name": "--gridkit-font-size",
223
+ "group": "typography",
224
+ "tier": "basic",
225
+ "type": "length",
226
+ "default": "1em",
227
+ "description": "The size of the text in cells, headers, group rows and the footer."
228
+ },
229
+ {
230
+ "name": "--gridkit-menu-font-size",
231
+ "group": "typography",
232
+ "tier": "advanced",
233
+ "type": "length",
234
+ "default": "0.875rem",
235
+ "description": "The size of the text in menus, the column chooser and the filter menu."
236
+ },
237
+ {
238
+ "name": "--gridkit-bar-font-size",
239
+ "group": "typography",
240
+ "tier": "advanced",
241
+ "type": "length",
242
+ "default": "0.8125rem",
243
+ "description": "The size of the text in the toolbar, the group-by bar and the pager."
244
+ },
245
+ {
246
+ "name": "--gridkit-hint-font-size",
247
+ "group": "typography",
248
+ "tier": "advanced",
249
+ "type": "length",
250
+ "default": "0.75rem",
251
+ "description": "The size of a menu item's shortcut and a filter value's count, and five sixths of the size of a header's sort priority."
252
+ },
253
+ {
254
+ "name": "--gridkit-header-font-weight",
255
+ "group": "typography",
256
+ "tier": "advanced",
257
+ "type": "font-weight",
258
+ "default": "700",
259
+ "description": "The weight of header labels."
260
+ },
261
+ {
262
+ "name": "--gridkit-header-text-transform",
263
+ "group": "typography",
264
+ "tier": "advanced",
265
+ "type": "text-transform",
266
+ "default": "inherit",
267
+ "description": "The case of header labels, such as uppercase, the page's own by default."
268
+ },
269
+ {
270
+ "name": "--gridkit-header-letter-spacing",
271
+ "group": "typography",
272
+ "tier": "advanced",
273
+ "type": "length",
274
+ "default": "inherit",
275
+ "description": "The letter spacing of header labels, the page's own by default."
276
+ },
277
+ {
278
+ "name": "--gridkit-group-font-weight",
279
+ "group": "typography",
280
+ "tier": "advanced",
281
+ "type": "font-weight",
282
+ "default": "600",
283
+ "description": "The weight of a group row's label, of subtotals and of grand totals."
284
+ },
285
+ {
286
+ "name": "--gridkit-font-variant-numeric",
287
+ "group": "typography",
288
+ "tier": "advanced",
289
+ "type": "enum",
290
+ "options": ["inherit", "tabular-nums"],
291
+ "default": "inherit",
292
+ "description": "Set to tabular-nums to give every digit the same width, so that numbers line up down a column."
293
+ },
294
+ {
295
+ "name": "--gridkit-spacing",
296
+ "group": "density",
297
+ "tier": "basic",
298
+ "type": "length",
299
+ "default": "0.25rem",
300
+ "description": "The unit the grid's paddings, gaps and control heights are multiples of, so a smaller one makes the whole grid denser and a larger one roomier."
301
+ },
302
+ {
303
+ "name": "--gridkit-cell-padding-x",
304
+ "group": "density",
305
+ "tier": "advanced",
306
+ "type": "length",
307
+ "default": "calc(var(--gridkit-spacing) * 2)",
308
+ "description": "The horizontal padding of cells, group rows, summary rows, the footer and the loading row."
309
+ },
310
+ {
311
+ "name": "--gridkit-cell-padding-y",
312
+ "group": "density",
313
+ "tier": "advanced",
314
+ "type": "length",
315
+ "default": "calc(var(--gridkit-spacing) * 2)",
316
+ "description": "The vertical padding of cells, group rows, summary rows, the footer and the loading row, which sets how tall a row is."
317
+ },
318
+ {
319
+ "name": "--gridkit-header-padding-x",
320
+ "group": "density",
321
+ "tier": "advanced",
322
+ "type": "length",
323
+ "default": "var(--gridkit-cell-padding-x)",
324
+ "description": "The horizontal padding of header cells, the cells' own by default."
325
+ },
326
+ {
327
+ "name": "--gridkit-header-padding-y",
328
+ "group": "density",
329
+ "tier": "advanced",
330
+ "type": "length",
331
+ "default": "var(--gridkit-cell-padding-y)",
332
+ "description": "The vertical padding of header cells, which sets how tall the header is, the cells' own by default."
333
+ },
334
+ {
335
+ "name": "--gridkit-toolbar-padding",
336
+ "group": "density",
337
+ "tier": "advanced",
338
+ "type": "length",
339
+ "default": "calc(var(--gridkit-spacing) * 2)",
340
+ "description": "The padding around the toolbar's entries."
341
+ },
342
+ {
343
+ "name": "--gridkit-group-by-bar-padding",
344
+ "group": "density",
345
+ "tier": "advanced",
346
+ "type": "length",
347
+ "default": "calc(var(--gridkit-spacing) * 2)",
348
+ "description": "The padding around the group-by bar's chips."
349
+ },
350
+ {
351
+ "name": "--gridkit-pager-padding",
352
+ "group": "density",
353
+ "tier": "advanced",
354
+ "type": "length",
355
+ "default": "calc(var(--gridkit-spacing) * 2)",
356
+ "description": "The padding around the pager's bar and page-size picker."
357
+ },
358
+ {
359
+ "name": "--gridkit-menu-item-padding-x",
360
+ "group": "density",
361
+ "tier": "advanced",
362
+ "type": "length",
363
+ "default": "calc(var(--gridkit-spacing) * 3)",
364
+ "description": "The horizontal padding of a menu item."
365
+ },
366
+ {
367
+ "name": "--gridkit-menu-item-padding-y",
368
+ "group": "density",
369
+ "tier": "advanced",
370
+ "type": "length",
371
+ "default": "calc(var(--gridkit-spacing) * 1.5)",
372
+ "description": "The vertical padding of a menu item, and of the filter menu's sort and submenu entries, which are drawn as menu items."
373
+ },
374
+ {
375
+ "name": "--gridkit-border-width",
376
+ "group": "borders",
377
+ "tier": "basic",
378
+ "type": "length",
379
+ "default": "1px",
380
+ "description": "The width of every line the grid draws, from the lines between rows and columns to the borders of its bars, menus, buttons and fields."
381
+ },
382
+ {
383
+ "name": "--gridkit-border-style",
384
+ "group": "borders",
385
+ "tier": "advanced",
386
+ "type": "enum",
387
+ "options": ["solid", "dashed", "dotted"],
388
+ "default": "solid",
389
+ "description": "The style of the lines between rows and columns, around the grid, and between the grid and its toolbar, group-by bar and pager."
390
+ },
391
+ {
392
+ "name": "--gridkit-row-line-width",
393
+ "group": "borders",
394
+ "tier": "advanced",
395
+ "type": "length",
396
+ "default": "var(--gridkit-border-width)",
397
+ "description": "The width of the lines between rows, and under the header and over the footer, wherever the grid's borders setting draws them; 0 turns them off."
398
+ },
399
+ {
400
+ "name": "--gridkit-column-line-width",
401
+ "group": "borders",
402
+ "tier": "advanced",
403
+ "type": "length",
404
+ "default": "var(--gridkit-border-width)",
405
+ "description": "The width of the lines between columns, wherever the grid's borders setting draws them; 0 turns them off."
406
+ },
407
+ {
408
+ "name": "--gridkit-outer-border-width",
409
+ "group": "borders",
410
+ "tier": "advanced",
411
+ "type": "length",
412
+ "default": "0",
413
+ "description": "The width of a border around the whole grid, which has none by default."
414
+ },
415
+ {
416
+ "name": "--gridkit-radius",
417
+ "group": "shape",
418
+ "tier": "basic",
419
+ "type": "length",
420
+ "default": "0.25rem",
421
+ "description": "The corner radius of the grid's outer frame and of the pager bar."
422
+ },
423
+ {
424
+ "name": "--gridkit-menu-radius",
425
+ "group": "shape",
426
+ "tier": "advanced",
427
+ "type": "length",
428
+ "default": "0.375rem",
429
+ "description": "The corner radius of menus, the column chooser and the filter menu."
430
+ },
431
+ {
432
+ "name": "--gridkit-control-radius",
433
+ "group": "shape",
434
+ "tier": "advanced",
435
+ "type": "length",
436
+ "default": "0.25rem",
437
+ "description": "The corner radius of buttons, fields and options in the toolbar, the pager, the column chooser and the filter menu, whose checkboxes take three quarters of it."
438
+ },
439
+ {
440
+ "name": "--gridkit-icon-size",
441
+ "group": "details",
442
+ "tier": "advanced",
443
+ "type": "length",
444
+ "default": "1rem",
445
+ "description": "The size of the icons in the toolbar, the pager, menus and the filter menu, of the filter menu's checkboxes and a group-by chip's remove button, and of the triangle on a group row."
446
+ },
447
+ {
448
+ "name": "--gridkit-header-icon-size",
449
+ "group": "details",
450
+ "tier": "advanced",
451
+ "type": "length",
452
+ "default": "14px",
453
+ "description": "The size of a header's sort, group and filter icons."
454
+ },
455
+ {
456
+ "name": "--gridkit-focus-ring-width",
457
+ "group": "details",
458
+ "tier": "advanced",
459
+ "type": "length",
460
+ "default": "2px",
461
+ "description": "The width of the ring around a focused cell, header, button or field."
462
+ },
463
+ {
464
+ "name": "--gridkit-indicator-width",
465
+ "group": "details",
466
+ "tier": "advanced",
467
+ "type": "length",
468
+ "default": "2px",
469
+ "description": "The width of the line along a column being resized, of the marks where a dragged column or chip would land, and of the group-by bar's outline while it is a drop target."
470
+ },
471
+ {
472
+ "name": "--gridkit-overlay-shadow",
473
+ "group": "details",
474
+ "tier": "advanced",
475
+ "type": "shadow",
476
+ "default": "0 4px 12px",
477
+ "description": "The offsets and blur of the shadow under menus, the column chooser and the filter menu, whose colour is --gridkit-overlay-shadow-color."
478
+ },
479
+ {
480
+ "name": "--gridkit-menu-min-width",
481
+ "group": "details",
482
+ "tier": "advanced",
483
+ "type": "length",
484
+ "default": "12rem",
485
+ "description": "The narrowest a menu can be."
486
+ },
487
+ {
488
+ "name": "--gridkit-column-chooser-width",
489
+ "group": "details",
490
+ "tier": "advanced",
491
+ "type": "length",
492
+ "default": "16rem",
493
+ "description": "The width of the column chooser."
494
+ },
495
+ {
496
+ "name": "--gridkit-filter-menu-width",
497
+ "group": "details",
498
+ "tier": "advanced",
499
+ "type": "length",
500
+ "default": "18rem",
501
+ "description": "The width of a column's filter menu."
502
+ },
503
+ {
504
+ "name": "--gridkit-column-chooser-max-height",
505
+ "group": "details",
506
+ "tier": "advanced",
507
+ "type": "length",
508
+ "default": "17.5rem",
509
+ "description": "The tallest the column chooser's list grows before it scrolls."
510
+ },
511
+ {
512
+ "name": "--gridkit-filter-checklist-height",
513
+ "group": "details",
514
+ "tier": "advanced",
515
+ "type": "length",
516
+ "default": "12rem",
517
+ "description": "The height of the list of values in a column's filter menu."
518
+ },
519
+ {
520
+ "name": "--gridkit-transition-duration",
521
+ "group": "details",
522
+ "tier": "advanced",
523
+ "type": "duration",
524
+ "default": "0.1s",
525
+ "description": "How long the triangle on a group row takes to turn as the group opens or closes, which it does at once for a user who prefers reduced motion."
526
+ }
527
+ ]
528
+ }