juxscript 1.1.179 → 1.1.180

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.
Files changed (2) hide show
  1. package/lib/styles/shadcn.css +149 -303
  2. package/package.json +1 -1
@@ -1,11 +1,10 @@
1
1
  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
2
2
 
3
3
  /* ═══════════════════════════════════════════════════════════════════
4
- * DESIGN TOKENS (Shadcn Variables)
4
+ * DESIGN TOKENS
5
5
  * ═══════════════════════════════════════════════════════════════════ */
6
6
 
7
7
  :root {
8
- /* Base colors */
9
8
  --background: 0 0% 100%;
10
9
  --foreground: 0 0% 3.9%;
11
10
  --muted: 0 0% 96.1%;
@@ -13,27 +12,19 @@
13
12
  --border: 0 0% 89.8%;
14
13
  --input: 0 0% 89.8%;
15
14
  --ring: 0 0% 3.9%;
16
-
17
- /* Accent colors */
18
15
  --primary: 0 0% 9%;
19
16
  --primary-foreground: 0 0% 98%;
20
17
  --secondary: 0 0% 96.1%;
21
18
  --secondary-foreground: 0 0% 9%;
22
19
  --accent: 0 0% 96.1%;
23
20
  --accent-foreground: 0 0% 9%;
24
-
25
- /* Semantic colors */
26
21
  --destructive: 0 84.2% 60.2%;
27
22
  --destructive-foreground: 0 0% 98%;
28
23
  --success: 142 71% 45%;
29
24
  --success-foreground: 0 0% 98%;
30
25
  --warning: 48 96% 53%;
31
26
  --warning-foreground: 0 0% 9%;
32
-
33
- /* Sizes */
34
- --radius: 0.375rem;
35
-
36
- /* Font */
27
+ --radius: 0.5rem;
37
28
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
38
29
  }
39
30
 
@@ -54,13 +45,12 @@
54
45
  }
55
46
 
56
47
  /* ═══════════════════════════════════════════════════════════════════
57
- * BASE INPUT STYLING (Shared across all inputs)
48
+ * BASE INPUTS
58
49
  * ═══════════════════════════════════════════════════════════════════ */
59
50
 
60
51
  .jux-input-element,
61
52
  .jux-table-filter,
62
53
  .jux-dataframe-filter-input {
63
- display: flex;
64
54
  height: 2.5rem;
65
55
  width: 100%;
66
56
  border-radius: var(--radius);
@@ -70,8 +60,7 @@
70
60
  font-size: 0.875rem;
71
61
  color: hsl(var(--foreground));
72
62
  outline: none !important;
73
- transition: all 0.15s ease;
74
- box-sizing: border-box;
63
+ transition: border-color 0.2s, box-shadow 0.2s;
75
64
  }
76
65
 
77
66
  .jux-input-element::placeholder,
@@ -83,25 +72,18 @@
83
72
  .jux-input-element:focus,
84
73
  .jux-table-filter:focus,
85
74
  .jux-dataframe-filter-input:focus {
86
-
87
- box-shadow: 0 0 0 1px hsl(var(--input)) !important;
88
- }
89
-
90
- .jux-input-element:disabled {
91
- cursor: not-allowed;
92
- opacity: 0.5;
75
+ border-color: hsl(var(--ring));
76
+ box-shadow: 0 0 0 3px hsl(var(--ring) / 0.1);
93
77
  }
94
78
 
95
79
  /* ═══════════════════════════════════════════════════════════════════
96
- * BUTTON BASE (Single source of truth)
80
+ * BUTTONS
97
81
  * ═══════════════════════════════════════════════════════════════════ */
98
82
 
99
83
  .jux-button,
100
84
  .jux-modal-action,
101
85
  .jux-table-pagination button,
102
- .jux-fileupload-button,
103
- .jux-dropdown-trigger,
104
- .jux-dmenu-trigger {
86
+ .jux-fileupload-button {
105
87
  display: inline-flex;
106
88
  align-items: center;
107
89
  justify-content: center;
@@ -112,37 +94,24 @@
112
94
  height: 2.5rem;
113
95
  padding: 0 1rem;
114
96
  cursor: pointer;
115
- transition: all 0.15s ease;
116
- border: 1px solid transparent;
97
+ transition: all 0.2s;
98
+ border: none;
117
99
  background: hsl(var(--primary));
118
100
  color: hsl(var(--primary-foreground));
119
101
  }
120
102
 
121
103
  .jux-button:hover,
122
- .jux-modal-action:hover,
123
- .jux-table-pagination button:hover:not(:disabled),
124
- .jux-fileupload-button:hover,
125
- .jux-dropdown-trigger:hover,
126
- .jux-dmenu-trigger:hover {
104
+ .jux-table-pagination button:hover:not(:disabled) {
127
105
  opacity: 0.9;
128
106
  }
129
107
 
130
- .jux-button:focus-visible,
131
- .jux-modal-action:focus-visible,
132
- .jux-fileupload-button:focus-visible {
133
- outline: 2px solid hsl(var(--ring));
134
- outline-offset: 2px;
135
- }
136
-
137
108
  .jux-button:disabled,
138
109
  .jux-table-pagination button:disabled {
139
110
  pointer-events: none;
140
111
  opacity: 0.5;
141
112
  }
142
113
 
143
- /* Button variants */
144
114
  .jux-button-outline,
145
- .jux-modal-action-secondary,
146
115
  .jux-fileupload-button {
147
116
  border: 1px solid hsl(var(--input));
148
117
  background: hsl(var(--background));
@@ -150,101 +119,75 @@
150
119
  }
151
120
 
152
121
  .jux-button-outline:hover,
153
- .jux-modal-action-secondary:hover,
154
122
  .jux-fileupload-button:hover {
155
123
  background: hsl(var(--accent));
156
124
  }
157
125
 
158
- .jux-button-ghost,
159
- .jux-modal-action-ghost {
126
+ .jux-button-ghost {
160
127
  background: transparent;
161
128
  color: hsl(var(--foreground));
162
- border: none;
163
129
  }
164
130
 
165
- .jux-button-ghost:hover,
166
- .jux-modal-action-ghost:hover {
131
+ .jux-button-ghost:hover {
167
132
  background: hsl(var(--accent));
168
133
  }
169
134
 
170
- .jux-button-destructive,
171
- .jux-modal-action-destructive {
172
- background: hsl(var(--destructive));
173
- color: hsl(var(--destructive-foreground));
174
- }
175
-
176
- .jux-button-destructive:hover,
177
- .jux-modal-action-destructive:hover {
178
- opacity: 0.9;
179
- }
180
-
181
- /* Button sizes */
182
- .jux-button-sm { height: 2.25rem; padding: 0 0.875rem; font-size: 0.8125rem; }
183
- .jux-button-lg { height: 2.75rem; padding: 0 1.25rem; font-size: 0.9375rem; }
184
- .jux-button-xl { height: 3rem; padding: 0 1.5rem; font-size: 1rem; font-weight: 600; }
185
-
186
135
  /* ═══════════════════════════════════════════════════════════════════
187
- * TYPOGRAPHY (DRY headings)
136
+ * TYPOGRAPHY
188
137
  * ═══════════════════════════════════════════════════════════════════ */
189
138
 
190
- h1, h2, h3, h4, h5, h6,
191
- .jux-heading-1, .jux-heading-2, .jux-heading-3, .jux-heading-4, .jux-heading-5, .jux-heading-6 {
192
- scroll-margin: 5rem;
139
+ h1, h2, h3, h4, h5, h6 {
193
140
  font-weight: 600;
194
141
  letter-spacing: -0.025em;
195
142
  color: hsl(var(--foreground));
196
143
  }
197
144
 
198
- h1, .jux-heading-1 { font-size: 2.25rem; font-weight: 800; }
199
- h2, .jux-heading-2 { font-size: 1.875rem; border-bottom: 1px solid hsl(var(--border)); padding-bottom: 0.5rem; }
200
- h3, .jux-heading-3 { font-size: 1.5rem; }
201
- h4, .jux-heading-4 { font-size: 1.25rem; }
202
- h5, .jux-heading-5 { font-size: 1.125rem; }
203
- h6, .jux-heading-6 { font-size: 1rem; }
145
+ h1 { font-size: 2.25rem; font-weight: 800; }
146
+ h2 { font-size: 1.875rem; padding-bottom: 0.5rem; border-bottom: 1px solid hsl(var(--border)); }
147
+ h3 { font-size: 1.5rem; }
148
+ h4 { font-size: 1.25rem; }
204
149
 
205
- p, .jux-paragraph { line-height: 1.75; }
206
- p:not(:first-child) { margin-top: 1.5rem; }
207
-
208
- .jux-muted { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
150
+ p { line-height: 1.75; color: hsl(var(--foreground)); }
209
151
 
210
152
  /* ═══════════════════════════════════════════════════════════════════
211
- * DATAFRAME COMPONENT
153
+ * DATAFRAME
212
154
  * ═══════════════════════════════════════════════════════════════════ */
213
155
 
214
156
  .jux-dataframe {
215
157
  display: flex;
216
158
  flex-direction: column;
217
- gap: 0.75rem;
159
+ gap: 1rem;
218
160
  width: 100%;
219
161
  }
220
162
 
221
163
  .jux-dataframe-status {
222
164
  display: flex;
223
165
  align-items: center;
224
- padding: 0.5rem 0.75rem;
225
- font-size: 0.8125rem;
166
+ gap: 0.5rem;
167
+ padding: 0.75rem 1rem;
168
+ font-size: 0.875rem;
226
169
  font-weight: 500;
227
170
  border-radius: var(--radius);
228
171
  border: 1px solid hsl(var(--border));
229
- background: hsl(var(--muted));
172
+ background: hsl(var(--muted) / 0.5);
230
173
  color: hsl(var(--muted-foreground));
231
174
  }
232
175
 
233
176
  .jux-dataframe-status-success {
234
177
  background: hsl(var(--success) / 0.1);
235
- border-color: hsl(var(--success) / 0.3);
178
+ border-color: hsl(var(--success) / 0.2);
236
179
  color: hsl(var(--success));
237
180
  }
238
181
 
239
182
  .jux-dataframe-status-loading {
240
183
  background: hsl(var(--warning) / 0.1);
241
- border-color: hsl(var(--warning) / 0.3);
184
+ border-color: hsl(var(--warning) / 0.2);
242
185
  color: hsl(var(--warning));
243
186
  }
244
187
 
245
188
  .jux-dataframe-status-error {
246
189
  background: hsl(var(--destructive) / 0.1);
247
- border-color: hsl(var(--destructive) / 0.3);
190
+ border-color: hsl(var(--destructive) / 0.2);
248
191
  color: hsl(var(--destructive));
249
192
  }
250
193
 
@@ -252,7 +195,6 @@ p:not(:first-child) { margin-top: 1.5rem; }
252
195
  position: relative;
253
196
  display: flex;
254
197
  align-items: center;
255
- width: 100%;
256
198
  margin-bottom: 0.75rem;
257
199
  }
258
200
 
@@ -263,316 +205,220 @@ p:not(:first-child) { margin-top: 1.5rem; }
263
205
  transform: translateY(-50%);
264
206
  color: hsl(var(--muted-foreground));
265
207
  pointer-events: none;
266
- display: flex;
267
- align-items: center;
268
208
  z-index: 1;
269
209
  }
270
210
 
271
211
  .jux-dataframe-filter-input {
272
- padding-left: 2.25rem !important;
212
+ padding-left: 2.5rem !important;
273
213
  }
274
214
 
275
215
  /* ═══════════════════════════════════════════════════════════════════
276
- * FILE UPLOAD
216
+ * TABS
277
217
  * ═══════════════════════════════════════════════════════════════════ */
278
218
 
279
- .jux-fileupload { gap: 0.5rem; }
219
+ .jux-tabs {
220
+ width: 100%;
221
+ }
280
222
 
281
- .jux-fileupload-item {
282
- display: flex;
223
+ .jux-tabs-list {
224
+ display: inline-flex;
225
+ height: 2.5rem;
283
226
  align-items: center;
284
- gap: 0.5rem;
285
- padding: 0.375rem 0.75rem;
286
- background: hsl(var(--muted));
287
- border: 1px solid hsl(var(--border));
227
+ justify-content: flex-start;
228
+ gap: 0.25rem;
288
229
  border-radius: var(--radius);
289
- font-size: 0.8125rem;
290
- color: hsl(var(--foreground));
230
+ background: hsl(var(--muted) / 0.3);
231
+ padding: 0.25rem;
232
+ border: 1px solid hsl(var(--border));
291
233
  }
292
234
 
293
- .jux-fileupload-filename {
294
- flex: 1;
295
- font-weight: 500;
296
- overflow: hidden;
297
- text-overflow: ellipsis;
235
+ .jux-tabs-button {
236
+ display: inline-flex;
237
+ align-items: center;
238
+ justify-content: center;
298
239
  white-space: nowrap;
240
+ border-radius: calc(var(--radius) - 0.125rem);
241
+ padding: 0.5rem 1rem;
242
+ font-size: 0.875rem;
243
+ font-weight: 500;
244
+ color: hsl(var(--muted-foreground));
245
+ cursor: pointer;
246
+ border: none;
247
+ background: transparent;
248
+ transition: all 0.2s;
299
249
  }
300
250
 
301
- .jux-fileupload-filesize {
302
- color: hsl(var(--muted-foreground));
303
- font-size: 0.75rem;
251
+ .jux-tabs-button:hover {
252
+ background: hsl(var(--muted) / 0.5);
253
+ color: hsl(var(--foreground));
304
254
  }
305
255
 
306
- .jux-fileupload-remove {
307
- background: transparent;
256
+ .jux-tabs-button-active {
257
+ background: hsl(var(--background));
258
+ color: hsl(var(--foreground));
259
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
260
+ font-weight: 600;
261
+ }
262
+
263
+ .jux-tabs-panel {
264
+ margin-top: 1rem;
265
+ border-radius: var(--radius);
266
+ border: 1px solid hsl(var(--border));
267
+ background: hsl(var(--background));
268
+ padding: 0;
269
+ overflow: hidden;
270
+ }
271
+
272
+ /* ✅ Remove inner padding/border from tables inside tabs */
273
+ .jux-tabs-panel .jux-table-wrapper {
308
274
  border: none;
309
- color: hsl(var(--muted-foreground));
310
- cursor: pointer;
311
- padding: 0 0.25rem;
312
- border-radius: 0.25rem;
313
- transition: all 0.15s;
275
+ border-radius: 0;
314
276
  }
315
277
 
316
- .jux-fileupload-remove:hover {
317
- color: hsl(var(--destructive));
318
- background: hsl(var(--destructive) / 0.1);
278
+ .jux-tabs-panel .jux-dataframe-filter {
279
+ padding: 1rem 1rem 0;
280
+ margin-bottom: 0.75rem;
319
281
  }
320
282
 
321
283
  /* ═══════════════════════════════════════════════════════════════════
322
284
  * TABLE
323
285
  * ═══════════════════════════════════════════════════════════════════ */
324
286
 
325
- .jux-table-wrapper { width: 100%; overflow-x: auto; }
287
+ .jux-table-wrapper {
288
+ width: 100%;
289
+ overflow-x: auto;
290
+ border-radius: var(--radius);
291
+ border: 1px solid hsl(var(--border));
292
+ background: hsl(var(--background));
293
+ }
326
294
 
327
295
  .jux-table {
328
296
  width: 100%;
329
297
  border-collapse: collapse;
330
298
  }
331
299
 
332
- .jux-table thead tr { border-top: 1px solid hsl(var(--border)); }
333
- .jux-table tbody tr { border-top: 1px solid hsl(var(--border)); }
334
- .jux-table-striped tbody tr:nth-child(even) { background: hsl(var(--muted)); }
300
+ .jux-table thead tr {
301
+ border-bottom: 1px solid hsl(var(--border));
302
+ background: hsl(var(--muted) / 0.3);
303
+ }
304
+
305
+ .jux-table tbody tr {
306
+ border-bottom: 1px solid hsl(var(--border));
307
+ transition: background-color 0.15s;
308
+ }
309
+
310
+ .jux-table tbody tr:last-child {
311
+ border-bottom: none;
312
+ }
335
313
 
336
314
  .jux-table th,
337
315
  .jux-table td {
338
- border: 1px solid hsl(var(--border));
339
- padding: 0.5rem 1rem;
316
+ padding: 0.75rem 1rem;
340
317
  text-align: left;
318
+ border: none;
319
+ }
320
+
321
+ .jux-table th {
322
+ font-weight: 600;
323
+ font-size: 0.875rem;
324
+ color: hsl(var(--foreground));
341
325
  }
342
326
 
343
- .jux-table th { font-weight: 700; }
327
+ .jux-table td {
328
+ font-size: 0.875rem;
329
+ color: hsl(var(--foreground));
330
+ }
344
331
 
345
- .jux-table-hoverable tbody tr {
346
- transition: background-color 0.1s ease;
332
+ .jux-table-striped tbody tr:nth-child(even) {
333
+ background: hsl(var(--muted) / 0.2);
347
334
  }
348
335
 
349
336
  .jux-table-hoverable tbody tr:hover {
350
- background: hsl(var(--accent)) !important;
337
+ background: hsl(var(--muted) / 0.5);
351
338
  }
352
339
 
353
340
  .jux-table-pagination {
354
- margin-top: 0.75rem;
341
+ margin-top: 1rem;
342
+ padding: 0.75rem 1rem;
355
343
  display: flex;
356
- gap: 0.375rem;
344
+ gap: 0.5rem;
357
345
  justify-content: center;
358
346
  align-items: center;
359
- padding: 0.5rem 0;
347
+ border-top: 1px solid hsl(var(--border));
348
+ background: hsl(var(--muted) / 0.2);
360
349
  }
361
350
 
362
351
  .jux-table-pagination span {
363
352
  font-size: 0.875rem;
364
- color: hsl(var(--muted-foreground));
365
- padding: 0 0.75rem;
353
+ color: hsl(var(--foreground));
354
+ font-weight: 500;
366
355
  }
367
356
 
368
357
  /* ═══════════════════════════════════════════════════════════════════
369
- * MODAL
358
+ * FILE UPLOAD
370
359
  * ═══════════════════════════════════════════════════════════════════ */
371
360
 
372
- .jux-modal-overlay {
373
- position: fixed;
374
- inset: 0;
375
- z-index: 50;
376
- background: rgba(0, 0, 0, 0.8);
377
- backdrop-filter: blur(2px);
361
+ .jux-fileupload-item {
378
362
  display: flex;
379
363
  align-items: center;
380
- justify-content: center;
381
- }
382
-
383
- .jux-modal {
384
- position: relative;
385
- background: hsl(var(--background));
386
- border: 1px solid hsl(var(--border));
387
- border-radius: 0.5rem;
388
- box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
389
- width: 100%;
390
- max-width: 32rem;
391
- z-index: 51;
392
- display: flex;
393
- flex-direction: column;
394
- gap: 1rem;
395
- padding: 1.5rem;
396
- }
397
-
398
- .jux-modal-header {
399
- display: flex;
400
- align-items: flex-start;
401
364
  gap: 0.75rem;
365
+ padding: 0.75rem 1rem;
366
+ background: hsl(var(--muted) / 0.3);
367
+ border: 1px solid hsl(var(--border));
368
+ border-radius: var(--radius);
369
+ font-size: 0.875rem;
402
370
  }
403
371
 
404
- .jux-modal-header-title {
372
+ .jux-fileupload-filename {
405
373
  flex: 1;
406
- font-size: 1.125rem;
407
- font-weight: 600;
374
+ font-weight: 500;
408
375
  color: hsl(var(--foreground));
376
+ overflow: hidden;
377
+ text-overflow: ellipsis;
378
+ white-space: nowrap;
409
379
  }
410
380
 
411
- .jux-modal-content {
412
- font-size: 0.875rem;
381
+ .jux-fileupload-filesize {
413
382
  color: hsl(var(--muted-foreground));
414
- line-height: 1.5;
415
- }
416
-
417
- .jux-modal-footer {
418
- display: flex;
419
- justify-content: flex-end;
420
- gap: 0.5rem;
383
+ font-size: 0.8125rem;
421
384
  }
422
385
 
423
- .jux-modal-close {
424
- position: absolute;
425
- top: 1rem;
426
- right: 1rem;
386
+ .jux-fileupload-remove {
427
387
  background: transparent;
428
388
  border: none;
429
- cursor: pointer;
430
- color: hsl(var(--muted-foreground));
431
- padding: 0.25rem;
432
- }
433
-
434
- .jux-modal-close:hover {
435
- color: hsl(var(--foreground));
436
- }
437
-
438
- /* ═══════════════════════════════════════════════════════════════════
439
- * TABS
440
- * ═══════════════════════════════════════════════════════════════════ */
441
-
442
- .jux-tabs-list {
443
- display: inline-flex;
444
- height: 40px;
445
- align-items: center;
446
- justify-content: center;
447
- border-radius: var(--radius);
448
- background: hsl(var(--muted));
449
- padding: 0.25rem;
450
- }
451
-
452
- .jux-tabs-button {
453
- display: inline-flex;
454
- align-items: center;
455
- justify-content: center;
456
- white-space: nowrap;
457
- border-radius: calc(var(--radius) - 2px);
458
- padding: 0.375rem 0.75rem;
459
- font-size: 0.875rem;
460
- font-weight: 500;
461
389
  color: hsl(var(--muted-foreground));
462
390
  cursor: pointer;
463
- border: none;
464
- background: transparent;
465
- transition: all 0.15s;
466
- }
467
-
468
- .jux-tabs-button-active {
469
- background: hsl(var(--background));
470
- color: hsl(var(--foreground));
471
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
391
+ padding: 0.25rem;
392
+ border-radius: 0.25rem;
393
+ transition: all 0.2s;
472
394
  }
473
395
 
474
- .jux-tabs-panel {
475
- margin-top: 0.5rem;
476
- border-radius: var(--radius);
477
- border: 1px solid hsl(var(--border));
478
- padding: 1.5rem;
396
+ .jux-fileupload-remove:hover {
397
+ color: hsl(var(--destructive));
398
+ background: hsl(var(--destructive) / 0.1);
479
399
  }
480
400
 
481
401
  /* ═══════════════════════════════════════════════════════════════════
482
- * CARD
402
+ * UTILITIES
483
403
  * ═══════════════════════════════════════════════════════════════════ */
484
404
 
485
- .jux-card {
486
- border-radius: 0.5rem;
487
- border: 1px solid hsl(var(--border));
488
- background: hsl(var(--background));
489
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
490
- overflow: hidden;
491
- }
492
-
493
- .jux-card-header {
494
- display: flex;
495
- align-items: center;
496
- gap: 0.75rem;
497
- padding: 1.5rem;
498
- background: hsl(var(--muted) / 0.5);
499
- border-bottom: 1px solid hsl(var(--border));
500
- }
501
-
502
- .jux-card-title {
503
- flex: 1;
504
- font-size: 1.125rem;
505
- font-weight: 600;
506
- color: hsl(var(--foreground));
507
- }
508
-
509
- .jux-card-body {
510
- padding: 1.5rem;
405
+ .jux-muted {
511
406
  font-size: 0.875rem;
512
407
  color: hsl(var(--muted-foreground));
513
408
  }
514
409
 
515
- /* ═══════════════════════════════════════════════════════════════════
516
- * DROPDOWN MENU
517
- * ═══════════════════════════════════════════════════════════════════ */
518
-
519
- .jux-dmenu-wrapper { position: relative; display: inline-block; }
520
-
521
- .jux-dmenu-menu {
522
- position: absolute;
523
- top: calc(100% + 4px);
524
- left: 0;
525
- min-width: 220px;
526
- padding: 4px;
527
- border-radius: 0.5rem;
528
- border: 1px solid hsl(var(--border));
529
- background: hsl(var(--background));
530
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
531
- z-index: 100;
532
- display: none;
533
- flex-direction: column;
534
- }
535
-
536
- .jux-dmenu-item {
537
- display: flex;
538
- align-items: center;
539
- justify-content: space-between;
540
- width: 100%;
541
- padding: 6px 8px;
542
- font-size: 0.875rem;
543
- border-radius: 4px;
544
- border: none;
545
- background: transparent;
546
- color: hsl(var(--foreground));
547
- cursor: pointer;
548
- transition: background 0.1s;
549
- }
550
-
551
- .jux-dmenu-item:hover {
552
- background: hsl(var(--accent));
553
- }
554
-
555
- .jux-dmenu-sep {
556
- height: 1px;
557
- margin: 4px -4px;
558
- background: hsl(var(--border));
559
- }
560
-
561
- /* ═══════════════════════════════════════════════════════════════════
562
- * UTILITIES
563
- * ═══════════════════════════════════════════════════════════════════ */
564
-
565
- hr, .jux-hr {
410
+ hr {
566
411
  margin: 1.5rem 0;
567
412
  border: none;
568
413
  border-top: 1px solid hsl(var(--border));
569
414
  }
570
415
 
571
- code, .jux-inline-code {
416
+ code {
572
417
  border-radius: 0.25rem;
573
418
  background: hsl(var(--muted));
574
- padding: 0.15rem 0.3rem;
419
+ padding: 0.2rem 0.4rem;
575
420
  font-family: ui-monospace, monospace;
576
421
  font-size: 0.875rem;
577
422
  font-weight: 600;
423
+ color: hsl(var(--foreground));
578
424
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "juxscript",
3
- "version": "1.1.179",
3
+ "version": "1.1.180",
4
4
  "type": "module",
5
5
  "description": "A JavaScript UX authorship platform",
6
6
  "main": "index.js",