@vueless/storybook 0.0.75-beta.5 → 0.0.75-beta.7
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/.storybook/index.css +206 -98
- package/package.json +1 -1
package/.storybook/index.css
CHANGED
|
@@ -6,35 +6,57 @@
|
|
|
6
6
|
/* -------------------- General -------------------- */
|
|
7
7
|
|
|
8
8
|
::-webkit-scrollbar {
|
|
9
|
-
|
|
9
|
+
width: 0.75rem; /* w-3 */
|
|
10
|
+
height: 0.75rem; /* h-3 */
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
::-webkit-scrollbar-track {
|
|
13
|
-
|
|
14
|
+
transition: all 0.2s; /* transition */
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
::-webkit-scrollbar-thumb {
|
|
17
|
-
|
|
18
|
+
border-radius: 0.125rem; /* rounded-xs */
|
|
19
|
+
transition: all 0.2s; /* transition */
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
.light::-webkit-scrollbar-track,
|
|
21
23
|
.light ::-webkit-scrollbar-track {
|
|
22
|
-
|
|
24
|
+
background-color: #f9fafb; /* bg-gray-50 */
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.light::-webkit-scrollbar-track:hover,
|
|
28
|
+
.light ::-webkit-scrollbar-track:hover {
|
|
29
|
+
background-color: #e5e7eb; /* hover:bg-gray-200 */
|
|
23
30
|
}
|
|
24
31
|
|
|
25
32
|
.light::-webkit-scrollbar-thumb,
|
|
26
33
|
.light ::-webkit-scrollbar-thumb {
|
|
27
|
-
|
|
34
|
+
background-color: #9ca3af; /* bg-gray-400 */
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.light::-webkit-scrollbar-thumb:hover,
|
|
38
|
+
.light ::-webkit-scrollbar-thumb:hover {
|
|
39
|
+
background-color: #6b7280; /* hover:bg-gray-500 */
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.dark::-webkit-scrollbar-track,
|
|
43
|
+
.dark ::-webkit-scrollbar-track {
|
|
44
|
+
background-color: #030712; /* bg-gray-950 */
|
|
28
45
|
}
|
|
29
46
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
47
|
+
.dark::-webkit-scrollbar-track:hover,
|
|
48
|
+
.dark ::-webkit-scrollbar-track:hover {
|
|
49
|
+
background-color: #1f2937; /* hover:bg-gray-800 */
|
|
33
50
|
}
|
|
34
51
|
|
|
35
52
|
.dark::-webkit-scrollbar-thumb,
|
|
36
|
-
.dark ::-webkit-scrollbar-thumb
|
|
37
|
-
|
|
53
|
+
.dark ::-webkit-scrollbar-thumb {
|
|
54
|
+
background-color: #4b5563; /* bg-gray-600 */
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.dark::-webkit-scrollbar-thumb:hover,
|
|
58
|
+
.dark ::-webkit-scrollbar-thumb:hover {
|
|
59
|
+
background-color: #6b7280; /* hover:bg-gray-500 */
|
|
38
60
|
}
|
|
39
61
|
|
|
40
62
|
@supports (-moz-appearance: none) {
|
|
@@ -50,15 +72,15 @@
|
|
|
50
72
|
}
|
|
51
73
|
|
|
52
74
|
html.dark {
|
|
53
|
-
|
|
75
|
+
background-color: #030712; /* bg-gray-950 */
|
|
54
76
|
}
|
|
55
77
|
|
|
56
78
|
html.light {
|
|
57
|
-
|
|
79
|
+
background-color: #f9fafb; /* bg-gray-50 */
|
|
58
80
|
}
|
|
59
81
|
|
|
60
82
|
html.vl-dark #storybook-root {
|
|
61
|
-
|
|
83
|
+
background-color: #111827; /* bg-gray-900 */
|
|
62
84
|
}
|
|
63
85
|
|
|
64
86
|
body {
|
|
@@ -74,7 +96,7 @@ body {
|
|
|
74
96
|
.light .sbdocs .sbdocs-content > p,
|
|
75
97
|
.light .sbdocs .sbdocs-content > table th,
|
|
76
98
|
.light .sbdocs .sbdocs-content > table td {
|
|
77
|
-
|
|
99
|
+
color: #111827 !important; /* !text-gray-900 */
|
|
78
100
|
}
|
|
79
101
|
|
|
80
102
|
.dark .sbdocs .sbdocs-content > h1,
|
|
@@ -86,191 +108,218 @@ body {
|
|
|
86
108
|
.dark .sbdocs .sbdocs-content > p,
|
|
87
109
|
.dark .sbdocs .sbdocs-content > table th,
|
|
88
110
|
.dark .sbdocs .sbdocs-content > table td {
|
|
89
|
-
|
|
111
|
+
color: #e5e7eb !important; /* !text-gray-200 */
|
|
90
112
|
}
|
|
91
113
|
|
|
92
114
|
.sbdocs .sbdocs-content > table tr {
|
|
93
|
-
|
|
115
|
+
border-style: none; /* border-none */
|
|
94
116
|
}
|
|
95
117
|
|
|
96
118
|
.sbdocs .sbdocs-content > table th,
|
|
97
119
|
.sbdocs .sbdocs-content > table td {
|
|
98
|
-
|
|
120
|
+
border-left-width: 0; /* border-l-0 */
|
|
121
|
+
border-top-width: 0; /* border-t-0 */
|
|
122
|
+
text-align: left; /* text-left */
|
|
99
123
|
}
|
|
100
124
|
|
|
101
125
|
.sbdocs .sbdocs-content > table th:last-child,
|
|
102
126
|
.sbdocs .sbdocs-content > table td:last-child {
|
|
103
|
-
|
|
127
|
+
border-right-width: 0; /* border-r-0 */
|
|
104
128
|
}
|
|
105
129
|
|
|
106
130
|
.sbdocs .sbdocs-content > table tbody tr:last-child td {
|
|
107
|
-
|
|
131
|
+
border-bottom-width: 0; /* border-b-0 */
|
|
108
132
|
}
|
|
109
133
|
|
|
110
134
|
.light .sbdocs .sbdocs-content > table th {
|
|
111
|
-
|
|
135
|
+
background-color: #f3f4f6; /* bg-gray-100 */
|
|
136
|
+
border-color: #e5e7eb; /* border-gray-200 */
|
|
112
137
|
}
|
|
113
138
|
|
|
114
139
|
.light .sbdocs .sbdocs-content > table td {
|
|
115
|
-
|
|
140
|
+
background-color: #ffffff; /* bg-white */
|
|
141
|
+
border-color: #e5e7eb; /* border-gray-200 */
|
|
116
142
|
}
|
|
117
143
|
|
|
118
144
|
.light .sbdocs .sbdocs-content > table {
|
|
119
|
-
|
|
145
|
+
border-radius: 0.5rem; /* rounded-lg */
|
|
146
|
+
outline: 1px solid #e5e7eb; /* outline-1 outline-gray-200 */
|
|
147
|
+
overflow: hidden; /* overflow-hidden */
|
|
120
148
|
}
|
|
121
149
|
|
|
122
150
|
.dark .sbdocs .sbdocs-content > table th {
|
|
123
|
-
|
|
151
|
+
background-color: #1f2937; /* bg-gray-800 */
|
|
152
|
+
border-color: #374151; /* border-gray-700 */
|
|
124
153
|
}
|
|
125
154
|
|
|
126
155
|
.dark .sbdocs .sbdocs-content > table td {
|
|
127
|
-
|
|
156
|
+
background-color: #111827; /* bg-gray-900 */
|
|
157
|
+
border-color: #374151; /* border-gray-700 */
|
|
128
158
|
}
|
|
129
159
|
|
|
130
160
|
.dark .sbdocs .sbdocs-content > table {
|
|
131
|
-
|
|
161
|
+
border-radius: 0.5rem; /* rounded-lg */
|
|
162
|
+
outline: 1px solid #374151; /* outline-1 outline-gray-700 */
|
|
163
|
+
overflow: hidden; /* overflow-hidden */
|
|
132
164
|
}
|
|
133
165
|
|
|
134
166
|
/* -------------------- Storybook preview skeleton -------------------- */
|
|
135
167
|
|
|
136
168
|
.light .sb-preparing-docs,
|
|
137
169
|
.light .sb-preparing-story {
|
|
138
|
-
|
|
170
|
+
background-color: #f9fafb; /* bg-gray-50 */
|
|
139
171
|
}
|
|
140
172
|
|
|
141
173
|
.light .sb-previewBlock {
|
|
142
|
-
|
|
174
|
+
background-color: #ffffff; /* bg-white */
|
|
175
|
+
border-color: #e5e7eb; /* border-gray-200 */
|
|
176
|
+
border-radius: 0.5rem; /* rounded-lg */
|
|
143
177
|
box-shadow: none !important;
|
|
144
178
|
}
|
|
145
179
|
|
|
146
180
|
.light .sb-previewBlock_header {
|
|
147
|
-
|
|
181
|
+
border-style: solid; /* border-solid */
|
|
182
|
+
border-bottom-width: 1px; /* border-b */
|
|
183
|
+
border-bottom-color: #e5e7eb !important; /* !border-b-gray-200 */
|
|
148
184
|
box-shadow: none !important;
|
|
149
185
|
}
|
|
150
186
|
|
|
151
187
|
.light .sb-previewBlock_icon {
|
|
152
|
-
|
|
188
|
+
background-color: #d1d5db; /* bg-gray-300 */
|
|
153
189
|
}
|
|
154
190
|
|
|
155
191
|
.light .sb-argstableBlock-body {
|
|
156
|
-
|
|
192
|
+
border-radius: 0.125rem; /* rounded-sm */
|
|
157
193
|
box-shadow: rgb(0 0 0 / 5%) 0 1px 3px 1px, rgb(0 0 0 / 4%) 0 0 0 1px;
|
|
158
194
|
}
|
|
159
195
|
|
|
160
196
|
.light .sb-argstableBlock-body td {
|
|
161
|
-
|
|
197
|
+
background-color: #ffffff; /* bg-white */
|
|
198
|
+
border-style: solid; /* border-solid */
|
|
199
|
+
border-bottom-width: 1px; /* border-b */
|
|
200
|
+
border-bottom-color: #e5e7eb !important; /* !border-b-gray-200 */
|
|
162
201
|
}
|
|
163
202
|
|
|
164
203
|
.light .sb-argstableBlock-body tr:last-child td {
|
|
165
|
-
|
|
204
|
+
border-bottom-width: 0px; /* border-b-0 */
|
|
166
205
|
}
|
|
167
206
|
|
|
168
207
|
.light .sb-argstableBlock span,
|
|
169
208
|
.light .sb-argstableBlock button {
|
|
170
|
-
|
|
209
|
+
background-color: #e5e7eb; /* bg-gray-200 */
|
|
171
210
|
}
|
|
172
211
|
|
|
173
212
|
.dark .sb-preparing-docs,
|
|
174
213
|
.dark .sb-preparing-story {
|
|
175
|
-
|
|
214
|
+
background-color: #030712; /* bg-gray-950 */
|
|
176
215
|
}
|
|
177
216
|
|
|
178
217
|
.dark .sb-previewBlock {
|
|
179
|
-
|
|
218
|
+
background-color: #111827; /* bg-gray-900 */
|
|
219
|
+
border-color: #1f2937; /* border-gray-800 */
|
|
220
|
+
border-radius: 0.5rem; /* rounded-lg */
|
|
180
221
|
box-shadow: none !important;
|
|
181
222
|
}
|
|
182
223
|
|
|
183
224
|
.dark .sb-previewBlock_header {
|
|
184
|
-
|
|
225
|
+
border-style: solid; /* border-solid */
|
|
226
|
+
border-bottom-width: 1px; /* border-b */
|
|
227
|
+
border-bottom-color: #1f2937 !important; /* !border-b-gray-800 */
|
|
185
228
|
box-shadow: none !important;
|
|
186
229
|
}
|
|
187
230
|
|
|
188
231
|
.dark .sb-previewBlock_icon {
|
|
189
|
-
|
|
232
|
+
background-color: #374151; /* bg-gray-700 */
|
|
190
233
|
}
|
|
191
234
|
|
|
192
235
|
.dark .sb-argstableBlock-body {
|
|
193
|
-
|
|
236
|
+
border-radius: 0.125rem; /* rounded-sm */
|
|
194
237
|
box-shadow: rgb(255 255 255 / 10%) 0 1px 3px 1px, rgb(255 255 255 / 7%) 0 0 0 1px;
|
|
195
238
|
}
|
|
196
239
|
|
|
197
240
|
.dark .sb-argstableBlock-body td {
|
|
198
|
-
|
|
241
|
+
background-color: #111827; /* bg-gray-900 */
|
|
242
|
+
border-style: solid; /* border-solid */
|
|
243
|
+
border-bottom-width: 1px; /* border-b */
|
|
244
|
+
border-bottom-color: #1f2937 !important; /* !border-b-gray-800 */
|
|
199
245
|
}
|
|
200
246
|
|
|
201
247
|
.dark .sb-argstableBlock-body tr:last-child td {
|
|
202
|
-
|
|
248
|
+
border-bottom-width: 0px; /* border-b-0 */
|
|
203
249
|
}
|
|
204
250
|
|
|
205
251
|
.dark .sb-argstableBlock span,
|
|
206
252
|
.dark .sb-argstableBlock button {
|
|
207
|
-
|
|
253
|
+
background-color: #374151; /* bg-gray-700 */
|
|
208
254
|
}
|
|
209
255
|
|
|
210
256
|
/* -------------------- All docs block -------------------- */
|
|
211
257
|
|
|
212
258
|
.dark .sbdocs {
|
|
213
|
-
|
|
259
|
+
background-color: #030712; /* bg-gray-950 */
|
|
214
260
|
}
|
|
215
261
|
|
|
216
262
|
/* -------------------- Main story -------------------- */
|
|
217
263
|
|
|
218
264
|
.sb-anchor {
|
|
219
|
-
|
|
265
|
+
margin-top: 0.5rem; /* mt-2 */
|
|
220
266
|
}
|
|
221
267
|
|
|
222
268
|
.dark .sb-anchor > p > a {
|
|
223
|
-
|
|
269
|
+
color: #4ade80; /* text-green-400 */
|
|
224
270
|
}
|
|
225
271
|
|
|
226
272
|
.light .sb-anchor > p > a {
|
|
227
|
-
|
|
273
|
+
color: #16a34a; /* text-green-600 */
|
|
228
274
|
}
|
|
229
275
|
|
|
230
276
|
.sb-bar,
|
|
231
277
|
.docs-story {
|
|
232
|
-
|
|
278
|
+
background-color: #ffffff; /* bg-white */
|
|
233
279
|
}
|
|
234
280
|
|
|
235
281
|
.vl-dark .sb-bar,
|
|
236
282
|
.vl-dark .docs-story,
|
|
237
283
|
.vl-dark .docs-story + div {
|
|
238
|
-
|
|
284
|
+
background-color: #111827 !important; /* !bg-gray-900 */
|
|
239
285
|
}
|
|
240
286
|
|
|
241
287
|
/* prevents showing scrollbar in buttons stories */
|
|
242
288
|
.docs-story > div > div {
|
|
243
|
-
|
|
289
|
+
overflow-y: hidden;
|
|
244
290
|
}
|
|
245
291
|
|
|
246
292
|
.sb-bar {
|
|
247
|
-
|
|
293
|
+
border-width: 0; /* border-0 */
|
|
248
294
|
}
|
|
249
295
|
|
|
250
296
|
.dark .sb-bar {
|
|
251
|
-
|
|
297
|
+
border-bottom: 1px solid #d1d5db; /* border-b border-gray-300 */
|
|
252
298
|
box-shadow: none !important;
|
|
253
299
|
}
|
|
254
300
|
|
|
255
|
-
.vl-dark .sb-bar
|
|
256
|
-
|
|
301
|
+
.vl-dark .sb-bar {
|
|
302
|
+
border-bottom: 1px solid #1f2937; /* border-b border-gray-800 */
|
|
257
303
|
box-shadow: none !important;
|
|
258
304
|
}
|
|
259
305
|
|
|
260
306
|
.sbdocs.sbdocs-preview .prismjs {
|
|
261
|
-
|
|
307
|
+
border-top: 1px solid #374151; /* border-t border-t-gray-700 */
|
|
308
|
+
background-color: #1f2937; /* bg-gray-800 */
|
|
262
309
|
}
|
|
263
310
|
|
|
264
311
|
.vl-dark .docblock-code-toggle {
|
|
265
|
-
|
|
312
|
+
background-color: #1f2937; /* bg-gray-800 */
|
|
313
|
+
border-color: #1f2937; /* border-gray-800 */
|
|
314
|
+
color: #9ca3af; /* text-gray-400 */
|
|
266
315
|
}
|
|
267
316
|
|
|
268
317
|
.vl-light .docblock-code-toggle {
|
|
269
|
-
|
|
318
|
+
border: 1px solid #d1d5db !important; /* !border border-gray-300 */
|
|
270
319
|
}
|
|
271
320
|
|
|
272
321
|
.vl-dark .docblock-code-toggle {
|
|
273
|
-
|
|
322
|
+
border: 1px solid #374151 !important; /* !border border-gray-700 */
|
|
274
323
|
}
|
|
275
324
|
|
|
276
325
|
.docblock-code-toggle,
|
|
@@ -296,58 +345,67 @@ body {
|
|
|
296
345
|
|
|
297
346
|
.dark .sbdocs.sbdocs-preview,
|
|
298
347
|
.vl-dark .sbdocs.sbdocs-preview {
|
|
299
|
-
|
|
348
|
+
border-color: #1f2937; /* border-gray-800 */
|
|
300
349
|
}
|
|
301
350
|
|
|
302
351
|
/* -------------------- Args table -------------------- */
|
|
303
352
|
|
|
304
353
|
@media screen and (max-width: 600px) {
|
|
305
354
|
div:has(> .docblock-argstable) {
|
|
306
|
-
|
|
355
|
+
margin-bottom: 2.5rem !important;
|
|
356
|
+
overflow-x: scroll;
|
|
307
357
|
}
|
|
308
358
|
|
|
309
359
|
.docblock-argstable {
|
|
310
|
-
|
|
360
|
+
margin-bottom: 0 !important;
|
|
311
361
|
}
|
|
312
362
|
}
|
|
313
363
|
|
|
314
364
|
.dark .docblock-argstable,
|
|
315
365
|
.dark .docblock-argstable-head th {
|
|
316
|
-
|
|
366
|
+
color: rgb(229, 231, 235) !important; /* text-gray-200 */
|
|
317
367
|
}
|
|
318
368
|
|
|
319
369
|
.docblock-argstable-body {
|
|
320
|
-
|
|
370
|
+
border-radius: 0.5rem; /* rounded-lg */
|
|
371
|
+
filter: none !important;
|
|
321
372
|
}
|
|
322
373
|
|
|
323
374
|
.docblock-argstable-body tr td {
|
|
324
|
-
|
|
375
|
+
border-radius: 0 !important; /* !rounded-none */
|
|
325
376
|
}
|
|
326
377
|
|
|
327
378
|
.docblock-argstable-body tr:not([title]) > td {
|
|
328
|
-
|
|
379
|
+
background-color: #fff !important; /* bg-white */
|
|
329
380
|
}
|
|
330
381
|
|
|
331
382
|
.dark .docblock-argstable-body tr > td {
|
|
332
|
-
|
|
333
|
-
border-
|
|
383
|
+
border-top: 1px solid rgb(31, 41, 55) !important;
|
|
384
|
+
border-bottom: 1px solid rgb(31, 41, 55) !important; /* border-b border-gray-800 */
|
|
385
|
+
background-color: rgb(17, 24, 39) !important; /* bg-gray-900 */
|
|
386
|
+
border-inline-start-style: solid;
|
|
387
|
+
border-inline-start-width: 0;
|
|
388
|
+
border-inline-end-style: solid;
|
|
389
|
+
border-inline-end-width: 0;
|
|
334
390
|
}
|
|
335
391
|
|
|
336
392
|
.dark .docblock-argstable-body tr > td:first-child,
|
|
337
393
|
.dark .docblock-argstable-body tr > td:last-child {
|
|
338
|
-
|
|
394
|
+
border-inline-start-color: rgb(31, 41, 55) !important; /* border-s-gray-800 */
|
|
395
|
+
border-inline-end-color: rgb(31, 41, 55) !important; /* border-s-gray-800 */
|
|
339
396
|
}
|
|
340
397
|
|
|
341
398
|
.dark .docblock-argstable-body {
|
|
342
|
-
|
|
399
|
+
border-bottom: 1px solid rgb(31, 41, 55); /* border-b-gray-800 */
|
|
343
400
|
}
|
|
344
401
|
|
|
345
402
|
.dark .docblock-argstable-body tr[title] > td {
|
|
346
|
-
|
|
403
|
+
background-color: rgb(31, 41, 55) !important;
|
|
404
|
+
color: rgb(156, 163, 175) !important; /* text-gray-400 */
|
|
347
405
|
}
|
|
348
406
|
|
|
349
407
|
.dark .docblock-argstable-body tr[title] > td svg {
|
|
350
|
-
|
|
408
|
+
color: rgb(156, 163, 175) !important; /* text-gray-400 */
|
|
351
409
|
}
|
|
352
410
|
|
|
353
411
|
.light .sbdocs .sbdocs-content code,
|
|
@@ -356,7 +414,9 @@ body {
|
|
|
356
414
|
.light .docblock-argstable-body tr > td:nth-child(2) > div > div > span[class],
|
|
357
415
|
.light .docblock-argstable-body tr > td:nth-child(3) > div > span[class],
|
|
358
416
|
.light .docblock-argstable-body tr > td:nth-child(3) > span[class] {
|
|
359
|
-
|
|
417
|
+
background-color: rgb(243, 244, 246); /* bg-gray-100 */
|
|
418
|
+
border-color: rgb(229, 231, 235); /* border-gray-200 */
|
|
419
|
+
color: rgb(31, 41, 55); /* text-gray-800 */
|
|
360
420
|
}
|
|
361
421
|
|
|
362
422
|
.dark .rejt-value-node:hover .rejt-value,
|
|
@@ -366,19 +426,21 @@ body {
|
|
|
366
426
|
.dark .docblock-argstable-body tr > td:nth-child(2) > div > div > span[class],
|
|
367
427
|
.dark .docblock-argstable-body tr > td:nth-child(3) > div > span[class],
|
|
368
428
|
.dark .docblock-argstable-body tr > td:nth-child(3) > span[class] {
|
|
369
|
-
|
|
429
|
+
background-color: rgb(31, 41, 55); /* bg-gray-800 */
|
|
430
|
+
border-color: rgba(55, 65, 81, 0.5); /* border-gray-700/50 */
|
|
431
|
+
color: rgb(156, 163, 175); /* text-gray-400 */
|
|
370
432
|
border-radius: 4px !important;
|
|
371
|
-
|
|
372
433
|
}
|
|
373
434
|
|
|
374
435
|
.dark .sb-story code,
|
|
375
436
|
.light .sb-story code {
|
|
376
|
-
|
|
437
|
+
background-color: inherit !important;
|
|
438
|
+
color: inherit !important;
|
|
377
439
|
border-radius: 4px !important;
|
|
378
440
|
}
|
|
379
441
|
|
|
380
442
|
.dark .docblock-argstable-body tr > td > div + div > span:not([class]) {
|
|
381
|
-
|
|
443
|
+
color: rgb(156, 163, 175); /* text-gray-400 */
|
|
382
444
|
}
|
|
383
445
|
|
|
384
446
|
.dark .docblock-argstable-body tr > td .rejt-edit-form,
|
|
@@ -386,17 +448,40 @@ body {
|
|
|
386
448
|
.dark .docblock-argstable-body tr > td textarea,
|
|
387
449
|
.dark .docblock-argstable-body tr > td select,
|
|
388
450
|
.dark .docblock-argstable-body tr > td:nth-child(4) button {
|
|
389
|
-
|
|
451
|
+
color: rgb(229, 231, 235); /* text-gray-200 */
|
|
452
|
+
background-color: rgb(31, 41, 55); /* bg-gray-800 */
|
|
453
|
+
border: 1px solid rgba(55, 65, 81, 0.5); /* border-gray-700/50 */
|
|
454
|
+
font-size: 13px;
|
|
390
455
|
box-shadow: none !important;
|
|
391
456
|
color-scheme: dark;
|
|
392
457
|
}
|
|
393
458
|
|
|
459
|
+
.dark .docblock-argstable-body tr > td .rejt-edit-form:hover,
|
|
460
|
+
.dark .docblock-argstable-body tr > td input:hover,
|
|
461
|
+
.dark .docblock-argstable-body tr > td textarea:hover,
|
|
462
|
+
.dark .docblock-argstable-body tr > td select:hover,
|
|
463
|
+
.dark .docblock-argstable-body tr > td:nth-child(4) button:hover {
|
|
464
|
+
border: 1px solid #4b5563; /* border-gray-600 */
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.dark .docblock-argstable-body tr > td .rejt-edit-form:focus,
|
|
468
|
+
.dark .docblock-argstable-body tr > td input:focus,
|
|
469
|
+
.dark .docblock-argstable-body tr > td textarea:focus,
|
|
470
|
+
.dark .docblock-argstable-body tr > td select:focus,
|
|
471
|
+
.dark .docblock-argstable-body tr > td:nth-child(4) button:focus {
|
|
472
|
+
border: 1px solid rgb(107, 114, 128); /* border-gray-500 */
|
|
473
|
+
}
|
|
474
|
+
|
|
394
475
|
.docblock-argstable-body tr > td .rejt-add-value-node button {
|
|
395
|
-
|
|
476
|
+
padding-left: 0.375rem; /* px-1.5 */
|
|
477
|
+
padding-right: 0.375rem;
|
|
478
|
+
padding-top: 0.125rem; /* py-0.5 */
|
|
479
|
+
padding-bottom: 0.125rem;
|
|
480
|
+
line-height: 1;
|
|
396
481
|
}
|
|
397
482
|
|
|
398
483
|
.light .docblock-argstable-body tr > td .rejt-add-value-node button[type="submit"] {
|
|
399
|
-
|
|
484
|
+
background-color: #fff;
|
|
400
485
|
}
|
|
401
486
|
|
|
402
487
|
.light .docblock-argstable-body tr > td .rejt-edit-form,
|
|
@@ -404,81 +489,104 @@ body {
|
|
|
404
489
|
.light .docblock-argstable-body tr > td textarea,
|
|
405
490
|
.light .docblock-argstable-body tr > td select,
|
|
406
491
|
.light .docblock-argstable-body tr > td:nth-child(4) button {
|
|
407
|
-
|
|
492
|
+
color: rgb(17, 24, 39); /* text-gray-900 */
|
|
493
|
+
border: 1px solid rgb(209, 213, 219); /* border-gray-300 */
|
|
494
|
+
font-size: 13px;
|
|
408
495
|
box-shadow: none !important;
|
|
409
496
|
}
|
|
410
497
|
|
|
498
|
+
.light .docblock-argstable-body tr > td .rejt-edit-form:hover,
|
|
499
|
+
.light .docblock-argstable-body tr > td input:hover,
|
|
500
|
+
.light .docblock-argstable-body tr > td textarea:hover,
|
|
501
|
+
.light .docblock-argstable-body tr > td select:hover,
|
|
502
|
+
.light .docblock-argstable-body tr > td:nth-child(4) button:hover {
|
|
503
|
+
border: 1px solid rgb(156, 163, 175); /* border-gray-400 */
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.light .docblock-argstable-body tr > td .rejt-edit-form:focus,
|
|
507
|
+
.light .docblock-argstable-body tr > td input:focus,
|
|
508
|
+
.light .docblock-argstable-body tr > td textarea:focus,
|
|
509
|
+
.light .docblock-argstable-body tr > td select:focus,
|
|
510
|
+
.light .docblock-argstable-body tr > td:nth-child(4) button:focus {
|
|
511
|
+
border: 1px solid rgb(107, 114, 128); /* border-gray-500 */
|
|
512
|
+
}
|
|
513
|
+
|
|
411
514
|
.dark .docblock-argstable-body label[aria-disabled] {
|
|
412
|
-
|
|
515
|
+
background-color: rgb(31, 41, 55); /* bg-gray-800 */
|
|
413
516
|
}
|
|
414
517
|
|
|
415
518
|
.dark .docblock-argstable-body label[aria-disabled] span {
|
|
416
|
-
|
|
519
|
+
color: rgb(229, 231, 235); /* text-gray-200 */
|
|
417
520
|
}
|
|
418
521
|
|
|
419
522
|
.dark .docblock-argstable-body [type='checkbox'],
|
|
420
523
|
.dark .docblock-argstable-body [type='radio'] {
|
|
421
|
-
|
|
524
|
+
border: 1px solid rgb(55, 65, 81) !important; /* border-gray-700 */
|
|
422
525
|
box-shadow: none !important;
|
|
423
526
|
}
|
|
424
527
|
|
|
425
|
-
.dark .docblock-argstable-body [type='checkbox']:checked,
|
|
426
|
-
.dark .docblock-argstable-body [type='radio']:checked {
|
|
427
|
-
@apply invert grayscale !border-gray-300;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
528
|
.dark .docblock-argstable-body [type='radio']:checked {
|
|
431
|
-
|
|
529
|
+
background-color: rgb(17, 24, 39); /* bg-gray-900 */
|
|
432
530
|
}
|
|
433
531
|
|
|
434
532
|
.light .docblock-argstable-body [type='radio']:checked {
|
|
435
|
-
|
|
533
|
+
background-color: rgb(17, 24, 39) !important; /* bg-gray-900 */
|
|
436
534
|
}
|
|
437
535
|
|
|
438
536
|
.docblock-argstable [type='checkbox']:focus,
|
|
439
537
|
.docblock-argstable [type='radio']:focus {
|
|
440
|
-
|
|
538
|
+
outline-color: rgb(209, 213, 219) !important; /* ring-gray-300 */
|
|
441
539
|
}
|
|
442
540
|
|
|
443
541
|
.dark .rejt-name,
|
|
444
542
|
.dark .rejt-collapsed-text {
|
|
445
|
-
|
|
543
|
+
color: rgb(156, 163, 175) !important; /* text-gray-400 */
|
|
446
544
|
}
|
|
447
545
|
|
|
448
546
|
.dark .rejt-value {
|
|
449
|
-
|
|
547
|
+
color: rgb(229, 231, 235) !important; /* text-gray-200 */
|
|
450
548
|
}
|
|
451
549
|
|
|
452
550
|
/* -------------------- Code block and user markdown -------------------- */
|
|
453
551
|
|
|
454
552
|
#storybook-docs h2 {
|
|
455
|
-
|
|
553
|
+
margin-top: 2rem; /* mt-8 */
|
|
554
|
+
margin-bottom: 1.5rem; /* mb-6 */
|
|
555
|
+
padding-bottom: 0.5rem; /* pb-2 */
|
|
556
|
+
font-weight: 700; /* font-bold */
|
|
456
557
|
}
|
|
457
558
|
|
|
458
559
|
.dark h2 {
|
|
459
|
-
|
|
560
|
+
border-bottom-color: rgb(31, 41, 55); /* border-b-gray-800 */
|
|
460
561
|
}
|
|
461
562
|
|
|
462
563
|
.docblock-source {
|
|
463
|
-
|
|
564
|
+
background-color: rgb(31, 41, 55) !important; /* !bg-gray-800 */
|
|
565
|
+
border-color: rgb(31, 41, 55); /* border-gray-800 */
|
|
464
566
|
box-shadow: none !important;
|
|
465
567
|
border-radius: 8px !important;
|
|
466
568
|
}
|
|
467
569
|
|
|
468
570
|
.dark .docblock-source {
|
|
469
|
-
|
|
571
|
+
background-color: rgb(17, 24, 39) !important; /* !bg-gray-900 */
|
|
572
|
+
border-color: rgb(31, 41, 55) !important; /* !border-gray-800 */
|
|
470
573
|
}
|
|
471
574
|
|
|
472
575
|
.dark .docblock-source button {
|
|
473
|
-
|
|
576
|
+
background-color: rgb(31, 41, 55); /* bg-gray-800 */
|
|
577
|
+
border-color: rgb(31, 41, 55); /* border-gray-800 */
|
|
578
|
+
color: rgb(156, 163, 175); /* text-gray-400 */
|
|
579
|
+
border-top-left-radius: 0; /* rounded-tl-none */
|
|
474
580
|
}
|
|
475
581
|
|
|
476
582
|
/* -------------------- Storybook story preview -------------------- */
|
|
477
583
|
|
|
478
584
|
.vl-dark {
|
|
479
|
-
|
|
585
|
+
min-height: 100%; /* min-h-full */
|
|
586
|
+
background-color: rgb(17, 24, 39); /* bg-gray-900 */
|
|
480
587
|
}
|
|
481
588
|
|
|
482
589
|
.vl-light {
|
|
483
|
-
|
|
590
|
+
min-height: 100%; /* min-h-full */
|
|
591
|
+
background-color: #ffffff; /* bg-white */
|
|
484
592
|
}
|