@svadmin/lite 0.32.3 → 0.33.1

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.
@@ -10,7 +10,7 @@
10
10
  </script>
11
11
 
12
12
  <header class="lite-header" style="padding: 16px 24px; background: white; border-bottom: 1px solid #E5E6EB; display: flex; justify-content: space-between; align-items: center;">
13
- <h2 style="margin: 0; font-size: 18px; font-weight: 600; color: #1D2129;">{title}</h2>
13
+ <h2 style="margin: 0; font-size: 20px; font-weight: 500; color: #1D2129;">{title}</h2>
14
14
  <div class="lite-inline-lg" style="align-items: center;">
15
15
  {#if children}
16
16
  {@render children()}
package/dist/lite.css CHANGED
@@ -22,9 +22,9 @@
22
22
  html, body {
23
23
  margin: 0;
24
24
  padding: 0;
25
- font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
25
+ font-family: "Helvetica Neue", system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
26
26
  font-size: 14px;
27
- line-height: 1.5;
27
+ line-height: 1.5715;
28
28
  color: #1D2129; /* --foreground */
29
29
  background: #F7F8FA; /* --background */
30
30
  -webkit-font-smoothing: antialiased;
@@ -32,7 +32,7 @@ html, body {
32
32
  }
33
33
 
34
34
  a {
35
- color: #0E42D2; /* readable action text on the work canvas */
35
+ color: #165DFF;
36
36
  text-decoration: none;
37
37
  transition: color 0.15s ease-out;
38
38
  }
@@ -48,7 +48,7 @@ a:hover {
48
48
  }
49
49
 
50
50
  .lite-sidebar {
51
- width: 230px;
51
+ width: 240px;
52
52
  background: #ffffff;
53
53
  color: #1D2129;
54
54
  padding: 16px 0;
@@ -109,20 +109,22 @@ a:hover {
109
109
  .lite-sidebar a {
110
110
  display: block;
111
111
  position: relative;
112
- padding: 8px 16px;
113
- color: #425466;
114
- font-size: 13px;
115
- font-weight: 500;
112
+ padding: 10px 16px;
113
+ color: #4E5969;
114
+ font-size: 14px;
115
+ font-weight: 400;
116
+ line-height: 20px;
116
117
  transition: background 0.15s ease-out, color 0.15s ease-out;
117
118
  }
118
119
  .lite-sidebar a:hover {
119
- background: #F7F8FA;
120
- color: #1D2129;
120
+ background: #F2F3F5;
121
+ color: #4E5969;
121
122
  text-decoration: none;
122
123
  }
123
124
  .lite-sidebar a.active {
124
- background: #F7F8FA;
125
- color: #1D2129;
125
+ background: #F2F3F5;
126
+ color: #165DFF;
127
+ font-weight: 500;
126
128
  text-decoration: none;
127
129
  }
128
130
  .lite-sidebar a.active::before {
@@ -149,8 +151,8 @@ a:hover {
149
151
  .lite-menu-parent {
150
152
  display: block;
151
153
  padding: 8px 16px;
152
- color: #425466;
153
- font-size: 11px;
154
+ color: #86909C;
155
+ font-size: 12px;
154
156
  font-weight: 700;
155
157
  text-transform: none;
156
158
  letter-spacing: 0;
@@ -169,7 +171,7 @@ a:hover {
169
171
 
170
172
  .lite-main {
171
173
  flex: 1;
172
- padding: 28px 32px;
174
+ padding: 24px;
173
175
  min-width: 0;
174
176
  background: #F7F8FA;
175
177
  }
@@ -197,7 +199,7 @@ a:hover {
197
199
  }
198
200
 
199
201
  .lite-header h1 {
200
- font-size: 22px;
202
+ font-size: 20px;
201
203
  font-weight: 600;
202
204
  margin: 0;
203
205
  color: #1D2129;
@@ -220,11 +222,11 @@ a:hover {
220
222
  .lite-breadcrumbs li {
221
223
  display: flex;
222
224
  align-items: center;
223
- font-size: 13px;
224
- color: #425466;
225
+ font-size: 14px;
226
+ color: #4E5969;
225
227
  }
226
228
  .lite-breadcrumbs a {
227
- color: #425466;
229
+ color: #4E5969;
228
230
  }
229
231
  .lite-breadcrumbs a:hover {
230
232
  color: #1D2129;
@@ -259,23 +261,23 @@ a:hover {
259
261
  align-items: center;
260
262
  justify-content: space-between;
261
263
  padding: 14px 16px;
262
- border-bottom: 1px solid #e6ebf1;
264
+ border-bottom: 1px solid #E5E6EB;
263
265
  }
264
266
  .lite-card-header-start {
265
267
  align-items: flex-start;
266
268
  }
267
269
  .lite-card-title {
268
270
  margin: 0;
269
- font-size: 15px;
270
- line-height: 1.35;
271
- font-weight: 600;
272
- color: #0a2540;
271
+ font-size: 16px;
272
+ line-height: 1.5;
273
+ font-weight: 500;
274
+ color: #1D2129;
273
275
  }
274
276
  .lite-card-subtitle {
275
277
  margin: 4px 0 0;
276
278
  font-size: 12px;
277
279
  line-height: 1.4;
278
- color: #425466;
280
+ color: #4E5969;
279
281
  }
280
282
  .lite-card-body {
281
283
  padding: 16px;
@@ -285,10 +287,10 @@ a:hover {
285
287
  align-items: center;
286
288
  justify-content: space-between;
287
289
  padding: 12px 16px;
288
- border-top: 1px solid #e6ebf1;
289
- background: #fcfdfe;
290
- border-bottom-left-radius: 7px;
291
- border-bottom-right-radius: 7px;
290
+ border-top: 1px solid #E5E6EB;
291
+ background: #F7F8FA;
292
+ border-bottom-left-radius: 4px;
293
+ border-bottom-right-radius: 4px;
292
294
  }
293
295
  .lite-card-action {
294
296
  margin-left: 12px;
@@ -317,13 +319,13 @@ a:hover {
317
319
  padding: 8px 0;
318
320
  }
319
321
  .lite-kv-row + .lite-kv-row {
320
- border-top: 1px solid #f1f4f8;
322
+ border-top: 1px solid #F2F3F5;
321
323
  }
322
324
  .lite-kv-label {
323
- color: #425466;
325
+ color: #4E5969;
324
326
  }
325
327
  .lite-kv-value {
326
- color: #0a2540;
328
+ color: #1D2129;
327
329
  font-weight: 600;
328
330
  }
329
331
 
@@ -332,16 +334,16 @@ a:hover {
332
334
  display: block;
333
335
  text-align: left;
334
336
  padding: 12px 14px;
335
- border: 1px solid #e6ebf1;
336
- border-radius: 6px;
337
+ border: 1px solid #E5E6EB;
338
+ border-radius: 4px;
337
339
  background: #fff;
338
- color: #0a2540;
340
+ color: #1D2129;
339
341
  text-decoration: none;
340
342
  transition: background 0.15s ease-out, border-color 0.15s ease-out, box-shadow 0.15s ease-out;
341
343
  }
342
344
  .lite-resource-card:hover {
343
- background: #f8f7fd;
344
- border-color: #cbd5e1;
345
+ background: #F7F8FA;
346
+ border-color: #C9CDD4;
345
347
  text-decoration: none;
346
348
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
347
349
  }
@@ -350,12 +352,12 @@ a:hover {
350
352
  font-size: 14px;
351
353
  font-weight: 600;
352
354
  margin-bottom: 2px;
353
- color: #0a2540;
355
+ color: #1D2129;
354
356
  }
355
357
  .lite-resource-card-desc {
356
358
  display: block;
357
359
  font-size: 12px;
358
- color: #425466;
360
+ color: #4E5969;
359
361
  }
360
362
 
361
363
  /* ─── Category Progress Grid (Parity Dashboard) ────────────── */
@@ -369,7 +371,7 @@ a:hover {
369
371
  flex: 1 1 260px;
370
372
  margin: 8px;
371
373
  padding: 12px 14px;
372
- border: 1px solid #e6ebf1;
374
+ border: 1px solid #E5E6EB;
373
375
  border-radius: 6px;
374
376
  background: #fff;
375
377
  }
@@ -381,12 +383,12 @@ a:hover {
381
383
  }
382
384
  .lite-category-card-header strong {
383
385
  text-transform: capitalize;
384
- color: #0a2540;
386
+ color: #1D2129;
385
387
  font-size: 13px;
386
388
  }
387
389
  .lite-category-card-footer {
388
390
  font-size: 11px;
389
- color: #425466;
391
+ color: #4E5969;
390
392
  display: flex;
391
393
  justify-content: space-between;
392
394
  }
@@ -402,18 +404,18 @@ a:hover {
402
404
 
403
405
  .lite-table th {
404
406
  text-align: left;
405
- padding: 10px 14px;
406
- font-weight: 600;
407
- font-size: 11px;
407
+ padding: 9px 16px;
408
+ font-weight: 500;
409
+ font-size: 14px;
408
410
  text-transform: none;
409
411
  letter-spacing: 0;
410
- color: #425466; /* --muted-foreground */
411
- background: #F7F8FA;
412
+ color: #1D2129;
413
+ background: #F2F3F5;
412
414
  border-bottom: 1px solid #E5E6EB;
413
415
  }
414
416
 
415
417
  .lite-table th a {
416
- color: #425466;
418
+ color: #4E5969;
417
419
  transition: color 0.15s ease-out;
418
420
  }
419
421
  .lite-table th a:hover {
@@ -426,15 +428,16 @@ a:hover {
426
428
  }
427
429
 
428
430
  .lite-table td {
429
- padding: 10px 14px;
430
- border-bottom: 1px solid #F2F3F5; /* slate-100 — softer row divider */
431
- color: #4E5969; /* slate-700 */
432
- font-size: 13px;
431
+ padding: 9px 16px;
432
+ border-bottom: 1px solid #E5E6EB;
433
+ color: #1D2129;
434
+ font-size: 14px;
435
+ line-height: 1.5715;
433
436
  transition: background 0.12s ease-out;
434
437
  }
435
438
 
436
439
  .lite-table tr:hover td {
437
- background: #f8f7fd;
440
+ background: #F7F8FA;
438
441
  }
439
442
 
440
443
  .lite-table td.actions {
@@ -445,62 +448,70 @@ a:hover {
445
448
  /* ─── Buttons ──────────────────────────────────────────────── */
446
449
  .lite-btn {
447
450
  display: inline-block;
448
- padding: 7px 16px;
449
- font-size: 13px;
450
- font-weight: 500;
451
+ height: 32px;
452
+ padding: 0 15px;
453
+ font-size: 14px;
454
+ font-weight: 400;
451
455
  border: 1px solid #E5E6EB;
452
- border-radius: 6px;
456
+ border-radius: 2px;
453
457
  background: #fff;
454
- color: #4E5969;
458
+ color: #1D2129;
455
459
  cursor: pointer;
456
460
  text-decoration: none;
457
461
  vertical-align: middle;
458
- line-height: 1.5;
459
- transition: background 0.15s ease-out, border-color 0.15s ease-out, box-shadow 0.15s ease-out, color 0.15s ease-out, transform 0.1s cubic-bezier(0.16, 1, 0.3, 1);
462
+ line-height: 30px;
463
+ transition: background 0.1s linear, border-color 0.1s linear, color 0.1s linear;
460
464
  }
461
465
  .lite-btn:hover {
462
- background: #F7F8FA;
463
- border-color: #C9CDD4;
466
+ background: #F2F3F5;
467
+ border-color: #E5E6EB;
464
468
  text-decoration: none;
465
469
  }
466
470
  .lite-btn:focus {
467
- outline: none;
468
- box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
471
+ outline: 2px solid #165DFF;
472
+ outline-offset: 2px;
473
+ box-shadow: none;
469
474
  }
470
475
  .lite-btn:active:not(:disabled) {
471
- transform: scale(0.97);
476
+ background: #E5E6EB;
472
477
  }
473
478
 
474
479
  .lite-btn-primary {
475
- background: #165DFF; /* primary-6 */
476
- border-color: #165DFF;
480
+ background: #165DFF;
481
+ border-color: transparent;
477
482
  color: #fff;
478
483
  }
479
484
  .lite-btn-primary:hover {
480
- background: #0E42D2; /* primary-7 */
481
- border-color: #0E42D2;
485
+ background: #4080FF;
486
+ border-color: transparent;
487
+ }
488
+ .lite-btn-primary:active:not(:disabled) {
489
+ background: #0E42D2;
490
+ border-color: transparent;
482
491
  }
483
492
  .lite-btn-primary:focus {
484
- box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.3);
493
+ box-shadow: none;
485
494
  }
486
495
 
487
496
  .lite-btn-danger {
488
- background: #fff;
489
- border-color: #fecaca; /* red-200 */
490
- color: #dc2626; /* red-600 */
497
+ background: #F53F3F;
498
+ border-color: transparent;
499
+ color: #fff;
491
500
  }
492
501
  .lite-btn-danger:hover {
493
- background: #fef2f2; /* red-50 */
494
- border-color: #fca5a5;
502
+ background: #F76560;
503
+ border-color: transparent;
495
504
  }
496
505
  .lite-btn-danger:focus {
497
- box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
506
+ box-shadow: none;
498
507
  }
499
508
 
500
509
  .lite-btn-sm {
501
- padding: 3px 10px;
502
- font-size: 12px;
503
- border-radius: 4px;
510
+ height: 28px;
511
+ padding: 0 15px;
512
+ font-size: 14px;
513
+ line-height: 26px;
514
+ border-radius: 2px;
504
515
  }
505
516
 
506
517
  /* ─── Forms — Text Inputs ─────────────────────────────────── */
@@ -539,12 +550,12 @@ a:hover {
539
550
  .lite-array-item-number {
540
551
  font-size: 12px;
541
552
  font-weight: 600;
542
- color: #94a3b8;
553
+ color: #86909C;
543
554
  }
544
555
 
545
556
  .lite-array-remove,
546
557
  .lite-array-remove-nojs {
547
- color: #dc2626;
558
+ color: #F53F3F;
548
559
  }
549
560
 
550
561
  .lite-array-remove-nojs input {
@@ -563,7 +574,7 @@ a:hover {
563
574
  display: block;
564
575
  font-size: 13px;
565
576
  font-weight: 500;
566
- color: #374151;
577
+ color: #4E5969;
567
578
  margin-bottom: 4px;
568
579
  }
569
580
 
@@ -573,40 +584,52 @@ a:hover {
573
584
 
574
585
  .lite-form-group label {
575
586
  display: block;
576
- font-size: 13px;
587
+ font-size: 14px;
577
588
  font-weight: 500;
578
589
  color: #4E5969;
579
- margin-bottom: 6px;
590
+ margin-bottom: 4px;
580
591
  }
581
592
 
582
593
  .lite-form-group label .required {
583
- color: #ef4444; /* red-500 */
594
+ color: #F53F3F;
584
595
  margin-left: 2px;
585
596
  }
586
597
 
587
598
  .lite-input {
588
599
  display: block;
589
600
  width: 100%;
590
- padding: 8px 12px;
601
+ height: 32px;
602
+ padding: 0 12px;
591
603
  font-size: 14px;
592
604
  font-family: inherit;
593
- border: 1px solid #C9CDD4; /* slate-300 — slightly more visible */
594
- border-radius: 6px;
595
- background: #fff;
605
+ border: 1px solid transparent;
606
+ border-radius: 2px;
607
+ background: #F2F3F5;
596
608
  color: #1D2129;
597
- transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
609
+ transition: border-color 0.1s linear, background 0.1s linear;
610
+ }
611
+ .lite-input:hover {
612
+ background: #E5E6EB;
598
613
  }
599
614
  .lite-input:focus {
600
- outline: none;
615
+ outline: 2px solid #165DFF;
616
+ outline-offset: 2px;
601
617
  border-color: #165DFF;
602
- box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(99, 91, 255, 0.3);
618
+ background: #fff;
619
+ box-shadow: none;
603
620
  }
604
621
 
605
622
  .lite-input-error {
606
- border-color: #ef4444;
623
+ border-color: transparent;
624
+ background: #FFECE8;
625
+ }
626
+ .lite-input-error:hover {
627
+ background: #FDCDC5;
607
628
  }
608
629
  .lite-input-error:focus {
609
- box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
630
+ border-color: #F53F3F;
631
+ background: #fff;
632
+ box-shadow: none;
610
633
  }
611
634
 
612
635
  /* File inputs keep the native form control but replace its browser-localized
@@ -616,8 +639,8 @@ a:hover {
616
639
  display: inline-flex;
617
640
  align-items: center;
618
641
  min-width: 0;
619
- min-height: 38px;
620
- color: #425466;
642
+ min-height: 32px;
643
+ color: #4E5969;
621
644
  vertical-align: middle;
622
645
  }
623
646
 
@@ -648,12 +671,12 @@ a:hover {
648
671
  align-items: center;
649
672
  width: 100%;
650
673
  min-width: 0;
651
- min-height: 38px;
674
+ min-height: 32px;
652
675
  overflow: hidden;
653
- border: 1px solid #C9CDD4;
654
- border-radius: 6px;
676
+ border: 1px solid transparent;
677
+ border-radius: 2px;
678
+ background: #F2F3F5;
655
679
  padding: 6px 10px 6px 6px;
656
- background: #fff;
657
680
  pointer-events: none;
658
681
  }
659
682
 
@@ -687,16 +710,18 @@ a:hover {
687
710
  }
688
711
 
689
712
  .lite-file-picker.lite-input-error .lite-file-picker__visual {
690
- border-color: #ef4444;
713
+ border-color: #F53F3F;
691
714
  }
692
715
 
693
716
  .lite-file-picker__native:focus + .lite-file-picker__visual {
694
717
  border-color: #165DFF;
695
- box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(99, 91, 255, 0.3);
718
+ outline: 2px solid #165DFF;
719
+ outline-offset: 2px;
720
+ box-shadow: none;
696
721
  }
697
722
 
698
723
  .lite-error-text {
699
- color: #ef4444;
724
+ color: #F53F3F;
700
725
  font-size: 12px;
701
726
  margin-top: 4px;
702
727
  }
@@ -710,15 +735,16 @@ textarea.lite-input {
710
735
  .lite-select {
711
736
  display: block;
712
737
  width: 100%;
713
- padding: 8px 36px 8px 12px;
738
+ height: 32px;
739
+ padding: 0 36px 0 12px;
714
740
  font-size: 14px;
715
741
  font-family: inherit;
716
- border: 1px solid #C9CDD4;
717
- border-radius: 6px;
718
- background: #fff;
742
+ border: 1px solid transparent;
743
+ border-radius: 2px;
744
+ background-color: #F2F3F5;
719
745
  color: #1D2129;
720
746
  cursor: pointer;
721
- transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
747
+ transition: border-color 0.1s linear, background-color 0.1s linear;
722
748
  /* Custom dropdown arrow via base64 SVG chevron */
723
749
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
724
750
  background-repeat: no-repeat;
@@ -730,9 +756,11 @@ textarea.lite-input {
730
756
  display: none;
731
757
  }
732
758
  .lite-select:focus {
733
- outline: none;
759
+ outline: 2px solid #165DFF;
760
+ outline-offset: 2px;
734
761
  border-color: #165DFF;
735
- box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(99, 91, 255, 0.3);
762
+ background-color: #fff;
763
+ box-shadow: none;
736
764
  }
737
765
 
738
766
  /* ─── Forms — Custom Checkbox ─────────────────────────────── */
@@ -752,11 +780,11 @@ textarea.lite-input {
752
780
  .lite-checkbox-group label {
753
781
  display: inline-block;
754
782
  position: relative;
755
- padding-left: 28px;
783
+ padding-left: 22px;
756
784
  cursor: pointer;
757
785
  font-size: 14px;
758
- color: #4E5969;
759
- line-height: 20px;
786
+ color: #1D2129;
787
+ line-height: 22px;
760
788
  margin-bottom: 0;
761
789
  -webkit-user-select: none;
762
790
  -moz-user-select: none;
@@ -768,11 +796,11 @@ textarea.lite-input {
768
796
  content: '';
769
797
  position: absolute;
770
798
  left: 0;
771
- top: 0;
772
- width: 18px;
773
- height: 18px;
774
- border: 2px solid #C9CDD4;
775
- border-radius: 4px;
799
+ top: 4px;
800
+ width: 14px;
801
+ height: 14px;
802
+ border: 2px solid #E5E6EB;
803
+ border-radius: 2px;
776
804
  background: #fff;
777
805
  transition: background 0.15s ease-out, border-color 0.15s ease-out;
778
806
  }
@@ -780,10 +808,10 @@ textarea.lite-input {
780
808
  .lite-checkbox-group label::after {
781
809
  content: '';
782
810
  position: absolute;
783
- left: 6px;
784
- top: 2px;
785
- width: 6px;
786
- height: 10px;
811
+ left: 4px;
812
+ top: 5px;
813
+ width: 4px;
814
+ height: 8px;
787
815
  border: solid #fff;
788
816
  border-width: 0 2px 2px 0;
789
817
  transform: rotate(45deg);
@@ -800,7 +828,9 @@ textarea.lite-input {
800
828
  }
801
829
  /* Focus ring on keyboard navigation */
802
830
  .lite-checkbox-group input[type="checkbox"]:focus + label::before {
803
- box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
831
+ outline: 2px solid #165DFF;
832
+ outline-offset: 2px;
833
+ box-shadow: none;
804
834
  }
805
835
 
806
836
  /* ─── Forms — Custom Radio ────────────────────────────────── */
@@ -819,11 +849,11 @@ textarea.lite-input {
819
849
  .lite-radio-group label {
820
850
  display: inline-block;
821
851
  position: relative;
822
- padding-left: 28px;
852
+ padding-left: 22px;
823
853
  cursor: pointer;
824
854
  font-size: 14px;
825
- color: #4E5969;
826
- line-height: 20px;
855
+ color: #1D2129;
856
+ line-height: 22px;
827
857
  margin-bottom: 0;
828
858
  -webkit-user-select: none;
829
859
  -moz-user-select: none;
@@ -835,10 +865,10 @@ textarea.lite-input {
835
865
  content: '';
836
866
  position: absolute;
837
867
  left: 0;
838
- top: 0;
839
- width: 18px;
840
- height: 18px;
841
- border: 2px solid #C9CDD4;
868
+ top: 4px;
869
+ width: 14px;
870
+ height: 14px;
871
+ border: 2px solid #E5E6EB;
842
872
  border-radius: 50%;
843
873
  background: #fff;
844
874
  transition: border-color 0.15s ease-out;
@@ -847,10 +877,10 @@ textarea.lite-input {
847
877
  .lite-radio-group label::after {
848
878
  content: '';
849
879
  position: absolute;
850
- left: 5px;
851
- top: 5px;
852
- width: 8px;
853
- height: 8px;
880
+ left: 4px;
881
+ top: 8px;
882
+ width: 6px;
883
+ height: 6px;
854
884
  border-radius: 50%;
855
885
  background: #165DFF;
856
886
  opacity: 0;
@@ -865,7 +895,9 @@ textarea.lite-input {
865
895
  }
866
896
  /* Focus ring */
867
897
  .lite-radio-group input[type="radio"]:focus + label::before {
868
- box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
898
+ outline: 2px solid #165DFF;
899
+ outline-offset: 2px;
900
+ box-shadow: none;
869
901
  }
870
902
 
871
903
  /* ─── Pagination ───────────────────────────────────────────── */
@@ -878,34 +910,37 @@ textarea.lite-input {
878
910
  .lite-pagination a,
879
911
  .lite-pagination span {
880
912
  display: inline-block;
881
- padding: 6px 12px;
882
- margin-right: 4px;
883
- border: 1px solid #E5E6EB;
884
- border-radius: 6px;
885
- font-size: 13px;
913
+ min-width: 32px;
914
+ height: 32px;
915
+ padding: 0 4px;
916
+ margin-right: 8px;
917
+ border: 0;
918
+ border-radius: 2px;
919
+ font-size: 14px;
920
+ line-height: 32px;
921
+ text-align: center;
886
922
  color: #4E5969;
887
- transition: background 0.15s ease-out, border-color 0.15s ease-out;
923
+ transition: background 0.1s linear, color 0.1s linear;
888
924
  }
889
925
  .lite-pagination a:hover {
890
- background: #F2F3F5;
891
- border-color: #C9CDD4;
926
+ background: #F7F8FA;
927
+ color: #4E5969;
892
928
  text-decoration: none;
893
929
  }
894
930
  .lite-pagination span.active {
895
- background: #165DFF;
896
- border-color: #165DFF;
897
- color: #fff;
931
+ background: #E8F3FF;
932
+ color: #165DFF;
898
933
  }
899
934
  .lite-pagination span.disabled {
900
- color: #94a3b8;
935
+ color: #C9CDD4;
901
936
  cursor: default;
902
- background: #F7F8FA;
937
+ background: transparent;
903
938
  }
904
939
 
905
940
  .lite-pagination-info {
906
941
  margin-left: auto;
907
942
  font-size: 13px;
908
- color: #425466;
943
+ color: #4E5969;
909
944
  }
910
945
 
911
946
  /* ─── Search Bar ───────────────────────────────────────────── */
@@ -1045,15 +1080,15 @@ textarea.lite-input {
1045
1080
  .lite-section-header h2,
1046
1081
  .lite-ordered-list h2 {
1047
1082
  margin: 0;
1048
- font-size: 15px;
1049
- font-weight: 600;
1083
+ font-size: 16px;
1084
+ font-weight: 500;
1050
1085
  color: #1D2129;
1051
1086
  }
1052
1087
 
1053
1088
  .lite-compatibility-header p,
1054
1089
  .lite-section-header p {
1055
1090
  margin: 4px 0 0;
1056
- color: #425466;
1091
+ color: #4E5969;
1057
1092
  font-size: 12px;
1058
1093
  }
1059
1094
 
@@ -1100,10 +1135,10 @@ textarea.lite-input {
1100
1135
  .lite-table .lite-table-sticky-left { left: 0; box-shadow: 1px 0 0 #E5E6EB; }
1101
1136
  .lite-table .lite-table-sticky-right { right: 0; box-shadow: -1px 0 0 #E5E6EB; }
1102
1137
  .lite-table tr:hover .lite-table-sticky-left,
1103
- .lite-table tr:hover .lite-table-sticky-right { background: #f8f7fd; }
1138
+ .lite-table tr:hover .lite-table-sticky-right { background: #F7F8FA; }
1104
1139
 
1105
1140
  .lite-muted {
1106
- color: #425466;
1141
+ color: #4E5969;
1107
1142
  font-size: 12px;
1108
1143
  }
1109
1144
 
@@ -1153,7 +1188,7 @@ textarea.lite-input {
1153
1188
  .lite-ordered-list li span {
1154
1189
  display: block;
1155
1190
  margin-top: 2px;
1156
- color: #425466;
1191
+ color: #4E5969;
1157
1192
  font-size: 12px;
1158
1193
  }
1159
1194
 
@@ -1244,7 +1279,7 @@ textarea.lite-input {
1244
1279
 
1245
1280
  .lite-badge-danger {
1246
1281
  background: #fef2f2;
1247
- color: #dc2626;
1282
+ color: #F53F3F;
1248
1283
  border-color: #fecaca;
1249
1284
  }
1250
1285
 
@@ -1292,7 +1327,7 @@ textarea.lite-input {
1292
1327
  .lite-badge-default { background: #165DFF; color: #fff; border-color: #165DFF; }
1293
1328
  .lite-badge-secondary { background: #F2F3F5; color: #4E5969; border-color: #E5E6EB; }
1294
1329
  .lite-badge-destructive,
1295
- .lite-badge-subtle-destructive { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
1330
+ .lite-badge-subtle-destructive { background: #fef2f2; color: #F53F3F; border-color: #fecaca; }
1296
1331
  .lite-badge-subtle-success { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
1297
1332
  .lite-badge-subtle-warning { background: #fffbeb; color: #92400e; border-color: #fde68a; }
1298
1333
  .lite-badge-subtle-pill {
@@ -1350,20 +1385,20 @@ textarea.lite-input {
1350
1385
  .lite-metric-item-link:hover { background: #F7F8FA; text-decoration: none; }
1351
1386
  .lite-metric-label,
1352
1387
  .lite-metric-value-row { display: flex; align-items: center; justify-content: space-between; }
1353
- .lite-metric-label { color: #425466; font-size: 12px; font-weight: 600; }
1354
- .lite-metric-icon { margin-left: 8px; color: #94a3b8; }
1388
+ .lite-metric-label { color: #4E5969; font-size: 12px; font-weight: 600; }
1389
+ .lite-metric-icon { margin-left: 8px; color: #86909C; }
1355
1390
  .lite-metric-icon-svg { width: 14px; height: 14px; }
1356
1391
  .lite-metric-value { margin-top: 4px; font-size: 23px; line-height: 1.2; color: #1D2129; }
1357
1392
  .lite-metric-value-primary { color: #0E42D2; }
1358
1393
  .lite-metric-value-success { color: #16a34a; }
1359
1394
  .lite-metric-value-warning { color: #d97706; }
1360
- .lite-metric-value-danger { color: #dc2626; }
1395
+ .lite-metric-value-danger { color: #F53F3F; }
1361
1396
  .lite-metric-value-info { color: #2563eb; }
1362
1397
  .lite-metric-loading { display: block; width: 64px; height: 24px; margin-top: 6px; background: #E5E6EB; border-radius: 4px; }
1363
1398
  .lite-metric-trend { margin-left: 8px; font-size: 12px; font-weight: 600; white-space: nowrap; }
1364
1399
  .lite-metric-trend-up { color: #16a34a; }
1365
- .lite-metric-trend-down { color: #dc2626; }
1366
- .lite-metric-trend-label { margin-left: 4px; color: #425466; font-weight: 400; }
1400
+ .lite-metric-trend-down { color: #F53F3F; }
1401
+ .lite-metric-trend-label { margin-left: 4px; color: #4E5969; font-weight: 400; }
1367
1402
  .lite-metric-strip-2 .lite-metric-item { flex-basis: 45%; }
1368
1403
  .lite-metric-strip-3 .lite-metric-item { flex-basis: 30%; }
1369
1404
  .lite-metric-strip-4 .lite-metric-item { flex-basis: 22%; }
@@ -1385,7 +1420,7 @@ textarea.lite-input {
1385
1420
 
1386
1421
  /* ─── Utility classes ──────────────────────────────────────── */
1387
1422
  .lite-text-muted {
1388
- color: #425466;
1423
+ color: #4E5969;
1389
1424
  }
1390
1425
  .lite-text-sm {
1391
1426
  font-size: 12px;
@@ -1409,7 +1444,7 @@ textarea.lite-input {
1409
1444
  align-items: center;
1410
1445
  justify-content: center;
1411
1446
  background: #F2F3F5;
1412
- color: #425466;
1447
+ color: #4E5969;
1413
1448
  font-weight: 500;
1414
1449
  overflow: hidden;
1415
1450
  vertical-align: middle;
@@ -1440,9 +1475,9 @@ textarea.lite-input {
1440
1475
  .lite-avatar-dot-lg { width: 12px; height: 12px; }
1441
1476
 
1442
1477
  .lite-avatar-status-online, .lite-avatar-status-success { background: #22c55e; }
1443
- .lite-avatar-status-busy, .lite-avatar-status-error { background: #ef4444; }
1478
+ .lite-avatar-status-busy, .lite-avatar-status-error { background: #F53F3F; }
1444
1479
  .lite-avatar-status-warning, .lite-avatar-status-away { background: #f59e0b; }
1445
- .lite-avatar-status-offline, .lite-avatar-status-neutral { background: #94a3b8; }
1480
+ .lite-avatar-status-offline, .lite-avatar-status-neutral { background: #86909C; }
1446
1481
 
1447
1482
  .lite-avatar-text-block {
1448
1483
  display: inline-flex;
@@ -1459,7 +1494,7 @@ textarea.lite-input {
1459
1494
  }
1460
1495
  .lite-avatar-subtitle {
1461
1496
  font-size: 11px;
1462
- color: #425466;
1497
+ color: #4E5969;
1463
1498
  line-height: 1.2;
1464
1499
  margin-top: 2px;
1465
1500
  }
@@ -1536,7 +1571,7 @@ textarea.lite-input {
1536
1571
  }
1537
1572
  .lite-progress-success { background: #22c55e; }
1538
1573
  .lite-progress-warning { background: #f59e0b; }
1539
- .lite-progress-danger { background: #ef4444; }
1574
+ .lite-progress-danger { background: #F53F3F; }
1540
1575
  .lite-progress-info { background: #3b82f6; }
1541
1576
 
1542
1577
  /* ─── Phone Field ──────────────────────────────────────────── */
@@ -1580,7 +1615,7 @@ textarea.lite-input {
1580
1615
  }
1581
1616
  .lite-rating-sm { font-size: 12px; }
1582
1617
  .lite-rating-default { font-size: 14px; }
1583
- .lite-rating-lg { font-size: 18px; }
1618
+ .lite-rating-lg { font-size: 20px; }
1584
1619
  .lite-rating-value {
1585
1620
  margin-left: 6px;
1586
1621
  font-size: 13px;
@@ -1594,7 +1629,7 @@ textarea.lite-input {
1594
1629
  }
1595
1630
  .lite-text-success { color: #16a34a; font-weight: 500; }
1596
1631
  .lite-text-warning { color: #d97706; font-weight: 500; }
1597
- .lite-text-danger { color: #dc2626; font-weight: 500; }
1632
+ .lite-text-danger { color: #F53F3F; font-weight: 500; }
1598
1633
  .lite-text-info { color: #2563eb; font-weight: 500; }
1599
1634
  .lite-text-primary { color: #0E42D2; font-weight: 500; }
1600
1635
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@svadmin/lite",
3
- "version": "0.32.3",
3
+ "version": "0.33.1",
4
4
  "description": "SSR-first lightweight admin UI for @svadmin with optional progressive enhancement",
5
5
  "type": "module",
6
6
  "sideEffects": [