@dwntgrnd/devlens 0.1.0 → 0.1.2

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/dist/index.css DELETED
@@ -1,1148 +0,0 @@
1
- /* src/styles/devlens.css */
2
- .te-drawer * {
3
- box-sizing: border-box;
4
- }
5
- .te-header {
6
- display: flex;
7
- align-items: center;
8
- justify-content: space-between;
9
- padding: 10px 12px;
10
- border-bottom: 1px solid #313244;
11
- flex-shrink: 0;
12
- }
13
- .te-header-title {
14
- display: flex;
15
- align-items: center;
16
- gap: 8px;
17
- font-weight: 600;
18
- font-size: 14px;
19
- }
20
- .te-header-actions {
21
- display: flex;
22
- align-items: center;
23
- gap: 8px;
24
- }
25
- .te-dock-strip {
26
- display: flex;
27
- gap: 2px;
28
- background: #313244;
29
- padding: 2px;
30
- border-radius: 6px;
31
- }
32
- .te-dock-btn {
33
- padding: 4px 6px;
34
- border: none;
35
- background: transparent;
36
- color: #a6adc8;
37
- cursor: pointer;
38
- border-radius: 4px;
39
- display: flex;
40
- align-items: center;
41
- }
42
- .te-dock-btn:hover {
43
- color: #cdd6f4;
44
- background: #45475a;
45
- }
46
- .te-dock-active {
47
- background: #45475a !important;
48
- color: #89b4fa !important;
49
- }
50
- .te-tabs {
51
- display: flex;
52
- border-bottom: 1px solid #313244;
53
- flex-shrink: 0;
54
- }
55
- .te-tab {
56
- flex: 1;
57
- padding: 8px;
58
- border: none;
59
- background: transparent;
60
- color: #a6adc8;
61
- cursor: pointer;
62
- font-size: 12px;
63
- font-weight: 500;
64
- display: flex;
65
- align-items: center;
66
- justify-content: center;
67
- gap: 6px;
68
- border-bottom: 2px solid transparent;
69
- font-family: inherit;
70
- }
71
- .te-tab:hover {
72
- color: #cdd6f4;
73
- }
74
- .te-tab-active {
75
- color: #89b4fa;
76
- border-bottom-color: #89b4fa;
77
- }
78
- .te-content {
79
- flex: 1;
80
- overflow-y: auto;
81
- padding: 8px;
82
- }
83
- .te-badge {
84
- background: #f38ba8;
85
- color: #1e1e2e;
86
- font-size: 10px;
87
- font-weight: 700;
88
- padding: 1px 6px;
89
- border-radius: 10px;
90
- min-width: 18px;
91
- text-align: center;
92
- }
93
- .te-badge-sm {
94
- font-size: 9px;
95
- padding: 0 4px;
96
- min-width: 14px;
97
- }
98
- .te-accordion {
99
- border: none;
100
- }
101
- .te-accordion-item {
102
- border-bottom: 1px solid #313244;
103
- }
104
- .te-accordion-item:last-child {
105
- border-bottom: none;
106
- }
107
- .te-accordion-trigger {
108
- padding: 8px 4px;
109
- font-size: 12px;
110
- font-weight: 600;
111
- color: #cdd6f4;
112
- text-decoration: none;
113
- font-family: inherit;
114
- }
115
- .te-accordion-trigger:hover {
116
- text-decoration: none;
117
- color: #89b4fa;
118
- }
119
- .te-accordion-trigger svg {
120
- color: #6c7086;
121
- }
122
- .te-accordion-content {
123
- font-size: 13px;
124
- }
125
- .te-change-badge {
126
- background: #fab387;
127
- color: #1e1e2e;
128
- font-size: 9px;
129
- font-weight: 700;
130
- padding: 0 5px;
131
- border-radius: 8px;
132
- margin-left: 6px;
133
- }
134
- .te-token-list {
135
- display: flex;
136
- flex-direction: column;
137
- gap: 12px;
138
- }
139
- .te-control {
140
- padding: 8px;
141
- background: #181825;
142
- border-radius: 6px;
143
- border: 1px solid #313244;
144
- }
145
- .te-control-header {
146
- display: flex;
147
- align-items: center;
148
- justify-content: space-between;
149
- margin-bottom: 6px;
150
- }
151
- .te-label {
152
- font-size: 11px;
153
- font-weight: 600;
154
- color: #bac2de;
155
- text-transform: uppercase;
156
- letter-spacing: 0.05em;
157
- display: flex;
158
- align-items: center;
159
- gap: 4px;
160
- }
161
- .te-modified-dot {
162
- width: 6px;
163
- height: 6px;
164
- border-radius: 50%;
165
- background: #fab387;
166
- display: inline-block;
167
- }
168
- .te-control-actions {
169
- display: flex;
170
- gap: 4px;
171
- }
172
- .te-icon-btn {
173
- padding: 4px;
174
- border: none;
175
- background: transparent;
176
- color: #6c7086;
177
- cursor: pointer;
178
- border-radius: 4px;
179
- display: flex;
180
- align-items: center;
181
- }
182
- .te-icon-btn:hover {
183
- color: #cdd6f4;
184
- background: #313244;
185
- }
186
- .te-reset-btn:hover {
187
- color: #f38ba8 !important;
188
- }
189
- .te-muted {
190
- color: #6c7086;
191
- font-size: 11px;
192
- }
193
- .te-color-row {
194
- display: flex;
195
- gap: 8px;
196
- align-items: center;
197
- margin-bottom: 6px;
198
- }
199
- .te-color-swatch {
200
- width: 32px;
201
- height: 32px;
202
- border: 1px solid #45475a;
203
- border-radius: 4px;
204
- cursor: pointer;
205
- padding: 0;
206
- background: none;
207
- }
208
- .te-color-swatch::-webkit-color-swatch-wrapper {
209
- padding: 2px;
210
- }
211
- .te-color-swatch::-webkit-color-swatch {
212
- border: none;
213
- border-radius: 2px;
214
- }
215
- .te-text-input {
216
- background: #11111b;
217
- border: 1px solid #313244;
218
- color: #cdd6f4;
219
- padding: 4px 8px;
220
- border-radius: 4px;
221
- font-size: 12px;
222
- font-family: monospace;
223
- outline: none;
224
- }
225
- .te-text-input:focus {
226
- border-color: #89b4fa;
227
- }
228
- .te-hex-input {
229
- width: 80px;
230
- }
231
- .te-num-input {
232
- width: 72px;
233
- }
234
- .te-select {
235
- background: #11111b;
236
- border: 1px solid #313244;
237
- color: #cdd6f4;
238
- padding: 4px 8px;
239
- border-radius: 4px;
240
- font-size: 12px;
241
- font-family: inherit;
242
- outline: none;
243
- cursor: pointer;
244
- }
245
- .te-select:focus {
246
- border-color: #89b4fa;
247
- }
248
- .te-select-full {
249
- width: 100%;
250
- }
251
- .te-slider-group {
252
- display: flex;
253
- flex-direction: column;
254
- gap: 4px;
255
- }
256
- .te-slider-row {
257
- display: flex;
258
- align-items: center;
259
- gap: 8px;
260
- }
261
- .te-slider-label {
262
- width: 12px;
263
- font-size: 10px;
264
- font-weight: 700;
265
- color: #6c7086;
266
- text-align: center;
267
- }
268
- .te-slider-value {
269
- width: 40px;
270
- font-size: 10px;
271
- color: #a6adc8;
272
- text-align: right;
273
- font-family: monospace;
274
- }
275
- .te-slider {
276
- flex: 1;
277
- height: 4px;
278
- -webkit-appearance: none;
279
- appearance: none;
280
- background: #313244;
281
- border-radius: 2px;
282
- outline: none;
283
- }
284
- .te-slider::-webkit-slider-thumb {
285
- -webkit-appearance: none;
286
- width: 12px;
287
- height: 12px;
288
- border-radius: 50%;
289
- background: #89b4fa;
290
- cursor: pointer;
291
- }
292
- .te-slider-full {
293
- width: 100%;
294
- margin-top: 4px;
295
- }
296
- .te-length-row {
297
- display: flex;
298
- gap: 6px;
299
- margin-bottom: 4px;
300
- }
301
- .te-font-preview {
302
- margin-top: 6px;
303
- padding: 4px 8px;
304
- background: #11111b;
305
- border-radius: 4px;
306
- color: #cdd6f4;
307
- font-family: var(--devlens-preview-font, inherit);
308
- }
309
- .te-shadow-preview {
310
- margin-top: 8px;
311
- width: 100%;
312
- height: 24px;
313
- background: #313244;
314
- border-radius: 4px;
315
- }
316
- .te-diff {
317
- display: flex;
318
- flex-direction: column;
319
- gap: 8px;
320
- }
321
- .te-diff-header {
322
- display: flex;
323
- align-items: center;
324
- justify-content: space-between;
325
- flex-wrap: wrap;
326
- gap: 8px;
327
- }
328
- .te-diff-title {
329
- font-weight: 600;
330
- font-size: 13px;
331
- }
332
- .te-diff-actions {
333
- display: flex;
334
- gap: 6px;
335
- }
336
- .te-diff-empty {
337
- color: #6c7086;
338
- text-align: center;
339
- padding: 32px 16px;
340
- font-size: 13px;
341
- }
342
- .te-diff-content {
343
- background: #11111b;
344
- border: 1px solid #313244;
345
- border-radius: 6px;
346
- padding: 12px;
347
- font-size: 11px;
348
- font-family: monospace;
349
- color: #a6e3a1;
350
- overflow-x: auto;
351
- white-space: pre-wrap;
352
- word-break: break-all;
353
- margin: 0;
354
- }
355
- .te-diff-section {
356
- margin-bottom: 12px;
357
- }
358
- .te-diff-section-title {
359
- font-size: 12px;
360
- font-weight: 600;
361
- margin-bottom: 4px;
362
- color: #a6adc8;
363
- display: flex;
364
- align-items: center;
365
- }
366
- .te-btn {
367
- display: flex;
368
- align-items: center;
369
- gap: 4px;
370
- padding: 5px 10px;
371
- border-radius: 4px;
372
- font-size: 11px;
373
- font-weight: 600;
374
- cursor: pointer;
375
- border: 1px solid transparent;
376
- font-family: inherit;
377
- }
378
- .te-btn-primary {
379
- background: #89b4fa;
380
- color: #1e1e2e;
381
- border-color: #89b4fa;
382
- }
383
- .te-btn-primary:hover {
384
- background: #74c7ec;
385
- }
386
- .te-btn-secondary {
387
- background: transparent;
388
- color: #a6adc8;
389
- border-color: #45475a;
390
- }
391
- .te-btn-secondary:hover {
392
- background: #313244;
393
- color: #cdd6f4;
394
- }
395
- .te-scale {
396
- display: flex;
397
- flex-direction: column;
398
- }
399
- .te-scale-reset-row {
400
- display: flex;
401
- justify-content: flex-end;
402
- margin-bottom: 4px;
403
- }
404
- .te-scale-control-row {
405
- display: flex;
406
- flex-direction: column;
407
- }
408
- .te-scale-preview {
409
- background: #11111b;
410
- border-radius: 6px;
411
- padding: 8px 10px;
412
- display: flex;
413
- flex-direction: column;
414
- gap: 2px;
415
- }
416
- .te-scale-preview-header {
417
- display: flex;
418
- justify-content: space-between;
419
- align-items: center;
420
- margin-bottom: 6px;
421
- padding-bottom: 4px;
422
- border-bottom: 1px solid #313244;
423
- }
424
- .te-scale-row {
425
- display: flex;
426
- align-items: baseline;
427
- justify-content: space-between;
428
- padding: 3px 0;
429
- }
430
- .te-scale-sample {
431
- color: #cdd6f4;
432
- font-family: var(--devlens-preview-font, inherit);
433
- white-space: nowrap;
434
- overflow: hidden;
435
- text-overflow: ellipsis;
436
- max-width: 60%;
437
- }
438
- .te-scale-meta {
439
- display: flex;
440
- align-items: baseline;
441
- gap: 8px;
442
- flex-shrink: 0;
443
- }
444
- .te-scale-px {
445
- font-size: 11px;
446
- color: #a6adc8;
447
- font-family: monospace;
448
- }
449
- .te-scale-step {
450
- font-size: 10px;
451
- color: #6c7086;
452
- font-family: monospace;
453
- width: 28px;
454
- text-align: right;
455
- }
456
- .te-managed-row {
457
- display: flex;
458
- align-items: center;
459
- justify-content: space-between;
460
- padding: 6px 8px;
461
- background: #181825;
462
- border-radius: 6px;
463
- border: 1px solid #313244;
464
- opacity: 0.7;
465
- }
466
- .te-managed-meta {
467
- display: flex;
468
- align-items: center;
469
- gap: 6px;
470
- }
471
- .te-managed-value {
472
- font-size: 11px;
473
- font-family: monospace;
474
- color: #a6adc8;
475
- }
476
- .te-managed-badge {
477
- font-size: 9px;
478
- font-weight: 700;
479
- text-transform: uppercase;
480
- letter-spacing: 0.05em;
481
- padding: 1px 5px;
482
- border-radius: 4px;
483
- background: #313244;
484
- color: #6c7086;
485
- }
486
- .te-usage-hint {
487
- position: relative;
488
- display: inline-flex;
489
- align-items: center;
490
- color: #6c7086;
491
- cursor: help;
492
- }
493
- .te-usage-hint-tooltip {
494
- display: none;
495
- position: absolute;
496
- bottom: calc(100% + 6px);
497
- left: 50%;
498
- transform: translateX(-50%);
499
- background: #313244;
500
- color: #cdd6f4;
501
- font-size: 10px;
502
- font-weight: 400;
503
- text-transform: none;
504
- letter-spacing: normal;
505
- padding: 4px 8px;
506
- border-radius: 4px;
507
- white-space: nowrap;
508
- pointer-events: none;
509
- z-index: 10;
510
- }
511
- .te-usage-hint:hover .te-usage-hint-tooltip {
512
- display: block;
513
- }
514
- .te-inspector-empty {
515
- display: flex;
516
- flex-direction: column;
517
- align-items: center;
518
- justify-content: center;
519
- padding: 32px 16px;
520
- color: #6c7086;
521
- text-align: center;
522
- font-size: 13px;
523
- }
524
- .te-selector-toggle {
525
- border-color: #45475a;
526
- }
527
- .te-selector-active {
528
- border-color: #89b4fa !important;
529
- color: #89b4fa !important;
530
- background: rgba(137, 180, 250, 0.1) !important;
531
- animation: te-pulse 1.5s ease-in-out infinite;
532
- }
533
- @keyframes te-pulse {
534
- 0%, 100% {
535
- border-color: #89b4fa;
536
- }
537
- 50% {
538
- border-color: transparent;
539
- }
540
- }
541
- .te-element-info {
542
- border-bottom: 1px solid #313244;
543
- padding: 8px 0;
544
- margin-bottom: 8px;
545
- }
546
- .te-element-tag {
547
- font-family: monospace;
548
- color: #89b4fa;
549
- font-size: 14px;
550
- font-weight: 600;
551
- }
552
- .te-element-text {
553
- color: #6c7086;
554
- font-size: 12px;
555
- white-space: nowrap;
556
- overflow: hidden;
557
- text-overflow: ellipsis;
558
- margin-top: 2px;
559
- }
560
- .te-breadcrumb {
561
- display: inline-flex;
562
- flex-wrap: wrap;
563
- font-family: monospace;
564
- font-size: 11px;
565
- color: #6c7086;
566
- gap: 0;
567
- margin-top: 4px;
568
- }
569
- .te-class-group {
570
- margin-bottom: 12px;
571
- }
572
- .te-class-group-header {
573
- font-size: 11px;
574
- font-weight: 500;
575
- text-transform: uppercase;
576
- letter-spacing: 0.05em;
577
- color: #6c7086;
578
- margin-bottom: 4px;
579
- display: flex;
580
- align-items: center;
581
- justify-content: space-between;
582
- }
583
- .te-class-chips {
584
- display: flex;
585
- flex-wrap: wrap;
586
- gap: 4px;
587
- }
588
- .te-chip {
589
- display: inline-flex;
590
- align-items: center;
591
- gap: 4px;
592
- font-family: monospace;
593
- font-size: 11px;
594
- background: #181825;
595
- border: 1px solid #313244;
596
- padding: 2px 6px;
597
- border-radius: 4px;
598
- position: relative;
599
- cursor: default;
600
- color: #cdd6f4;
601
- }
602
- .te-chip-modified {
603
- background: rgba(250, 179, 135, 0.15);
604
- border-color: #fab387;
605
- }
606
- .te-chip-remove {
607
- display: none;
608
- font-size: 14px;
609
- color: #6c7086;
610
- cursor: pointer;
611
- border: none;
612
- background: none;
613
- padding: 0;
614
- line-height: 1;
615
- }
616
- .te-chip:hover .te-chip-remove {
617
- display: inline-flex;
618
- }
619
- .te-chip-remove:hover {
620
- color: #f38ba8;
621
- }
622
- .te-chip-edit {
623
- font-family: monospace;
624
- font-size: 11px;
625
- background: #11111b;
626
- border: 1px solid #89b4fa;
627
- color: #cdd6f4;
628
- padding: 2px 6px;
629
- border-radius: 4px;
630
- outline: none;
631
- }
632
- .te-chip-add-btn {
633
- border: none;
634
- background: none;
635
- color: #6c7086;
636
- cursor: pointer;
637
- padding: 2px;
638
- border-radius: 4px;
639
- display: flex;
640
- align-items: center;
641
- }
642
- .te-chip-add-btn:hover {
643
- color: #89b4fa;
644
- background: #313244;
645
- }
646
- .te-add-class-input {
647
- font-family: monospace;
648
- font-size: 11px;
649
- background: #11111b;
650
- border: 1px solid #313244;
651
- color: #cdd6f4;
652
- padding: 2px 6px;
653
- border-radius: 4px;
654
- outline: none;
655
- }
656
- .te-add-class-input:focus {
657
- border-color: #89b4fa;
658
- }
659
- .te-add-success {
660
- border-color: #a6e3a1 !important;
661
- transition: border-color 300ms ease;
662
- }
663
- .te-diff-separator {
664
- border-top: 1px dashed #45475a;
665
- margin: 8px 0;
666
- }
667
- .te-diff-copy-all {
668
- width: 100%;
669
- justify-content: center;
670
- margin-top: 8px;
671
- }
672
- .te-switch {
673
- display: inline-flex;
674
- align-items: center;
675
- gap: 8px;
676
- cursor: pointer;
677
- border: none;
678
- background: transparent;
679
- padding: 4px 0;
680
- font-family: inherit;
681
- }
682
- .te-switch-compact {
683
- gap: 6px;
684
- }
685
- .te-switch-track {
686
- display: inline-flex;
687
- align-items: center;
688
- border-radius: 999px;
689
- padding: 2px;
690
- transition: background 200ms ease;
691
- flex-shrink: 0;
692
- }
693
- .te-switch-thumb {
694
- background: #cdd6f4;
695
- border-radius: 50%;
696
- transition: transform 200ms ease;
697
- }
698
- .te-switch-label {
699
- font-size: 11px;
700
- font-weight: 600;
701
- font-family: monospace;
702
- transition: color 200ms ease;
703
- white-space: nowrap;
704
- }
705
- .te-switch-active .te-switch-track {
706
- animation: te-pulse 1.5s ease-in-out infinite;
707
- }
708
- .te-suggest-dropdown {
709
- z-index: 10001;
710
- }
711
- .te-suggest-item {
712
- padding: 4px 8px;
713
- font-family: monospace;
714
- font-size: 11px;
715
- color: #cdd6f4;
716
- cursor: pointer;
717
- white-space: nowrap;
718
- overflow: hidden;
719
- text-overflow: ellipsis;
720
- }
721
- .te-suggest-item:hover,
722
- .te-suggest-item-active {
723
- background: #313244;
724
- color: #89b4fa;
725
- }
726
- .te-suggest-match {
727
- color: #89b4fa;
728
- font-weight: 700;
729
- }
730
- .te-chip-conflict {
731
- background: rgba(249, 226, 175, 0.15);
732
- border-color: #f9e2af;
733
- }
734
- .te-conflict-warning {
735
- color: #f9e2af;
736
- font-size: 12px;
737
- }
738
- .te-chip-tooltip {
739
- position: relative;
740
- display: inline-flex;
741
- align-items: center;
742
- color: #f9e2af;
743
- font-size: 10px;
744
- cursor: help;
745
- margin-left: 2px;
746
- }
747
- .te-chip-tooltip-text {
748
- display: none;
749
- position: absolute;
750
- bottom: calc(100% + 6px);
751
- left: 50%;
752
- transform: translateX(-50%);
753
- background: #313244;
754
- color: #cdd6f4;
755
- font-size: 10px;
756
- font-weight: 400;
757
- padding: 4px 8px;
758
- border-radius: 4px;
759
- white-space: nowrap;
760
- pointer-events: none;
761
- z-index: 10002;
762
- font-family:
763
- -apple-system,
764
- BlinkMacSystemFont,
765
- sans-serif;
766
- }
767
- .te-chip-tooltip:hover .te-chip-tooltip-text {
768
- display: block;
769
- }
770
- .te-migration-section {
771
- margin: 8px 0;
772
- padding: 8px;
773
- background: #181825;
774
- border-radius: 6px;
775
- border: 1px solid #313244;
776
- }
777
- .te-migration-header {
778
- font-size: 11px;
779
- font-weight: 600;
780
- text-transform: uppercase;
781
- letter-spacing: 0.05em;
782
- color: #6c7086;
783
- margin-bottom: 6px;
784
- display: flex;
785
- align-items: center;
786
- gap: 6px;
787
- }
788
- .te-migration-row {
789
- display: flex;
790
- align-items: center;
791
- gap: 6px;
792
- padding: 4px 6px;
793
- border-radius: 4px;
794
- cursor: pointer;
795
- font-family: monospace;
796
- font-size: 11px;
797
- margin-bottom: 2px;
798
- }
799
- .te-migration-row:hover {
800
- background: #313244;
801
- }
802
- .te-migration-from {
803
- color: #f38ba8;
804
- text-decoration: line-through;
805
- opacity: 0.9;
806
- }
807
- .te-migration-arrow {
808
- color: #6c7086;
809
- flex-shrink: 0;
810
- }
811
- .te-migration-to {
812
- color: #a6e3a1;
813
- }
814
- .te-migration-confidence {
815
- font-size: 9px;
816
- font-weight: 700;
817
- text-transform: uppercase;
818
- padding: 1px 4px;
819
- border-radius: 3px;
820
- margin-left: auto;
821
- flex-shrink: 0;
822
- }
823
- .te-migration-confidence[data-confidence=high] {
824
- background: rgba(166, 227, 161, 0.15);
825
- color: #a6e3a1;
826
- }
827
- .te-migration-confidence[data-confidence=medium] {
828
- background: rgba(249, 226, 175, 0.15);
829
- color: #f9e2af;
830
- }
831
- .te-migration-dismiss {
832
- border: none;
833
- background: none;
834
- color: #6c7086;
835
- cursor: pointer;
836
- font-size: 14px;
837
- padding: 0 2px;
838
- line-height: 1;
839
- flex-shrink: 0;
840
- }
841
- .te-migration-dismiss:hover {
842
- color: #f38ba8;
843
- }
844
- .te-typo-audit {
845
- margin: 8px 0;
846
- padding: 8px;
847
- background: #181825;
848
- border-radius: 6px;
849
- border: 1px solid #313244;
850
- }
851
- .te-typo-audit-header {
852
- font-size: 11px;
853
- font-weight: 600;
854
- text-transform: uppercase;
855
- letter-spacing: 0.05em;
856
- color: #6c7086;
857
- margin-bottom: 6px;
858
- display: flex;
859
- align-items: center;
860
- gap: 6px;
861
- }
862
- .te-typo-status {
863
- font-size: 12px;
864
- font-weight: 600;
865
- display: flex;
866
- align-items: center;
867
- gap: 6px;
868
- margin-bottom: 4px;
869
- }
870
- .te-typo-detail {
871
- font-size: 11px;
872
- color: #a6adc8;
873
- font-family: monospace;
874
- margin-bottom: 2px;
875
- }
876
- .te-typo-detail-muted {
877
- font-size: 11px;
878
- color: #6c7086;
879
- font-family: monospace;
880
- margin-bottom: 2px;
881
- }
882
- .te-typo-actions {
883
- display: flex;
884
- align-items: center;
885
- gap: 8px;
886
- margin-top: 8px;
887
- padding-top: 6px;
888
- border-top: 1px solid #313244;
889
- }
890
- .te-raw-css-section {
891
- padding: 0;
892
- }
893
- .te-raw-css-clear {
894
- border: none;
895
- background: none;
896
- color: #89b4fa;
897
- cursor: pointer;
898
- font-size: 10px;
899
- font-family: inherit;
900
- padding: 0;
901
- text-decoration: underline;
902
- text-underline-offset: 2px;
903
- }
904
- .te-raw-css-clear:hover {
905
- color: #74c7ec;
906
- }
907
- .te-chip-custom {
908
- border-left: 2px solid #89b4fa;
909
- }
910
- .te-chip-prop {
911
- color: #89b4fa;
912
- font-weight: 600;
913
- margin-right: 2px;
914
- }
915
- .te-chip-value {
916
- cursor: text;
917
- }
918
- .te-chip-value:hover {
919
- text-decoration: underline dotted;
920
- text-underline-offset: 2px;
921
- }
922
- .te-token-form {
923
- padding: 4px 0;
924
- }
925
- .te-token-form-back {
926
- border: none;
927
- background: none;
928
- color: #89b4fa;
929
- cursor: pointer;
930
- font-size: 11px;
931
- font-family: inherit;
932
- padding: 2px 0;
933
- margin-bottom: 8px;
934
- display: inline-flex;
935
- align-items: center;
936
- gap: 4px;
937
- }
938
- .te-token-form-back:hover {
939
- color: #74c7ec;
940
- text-decoration: underline;
941
- }
942
- .te-token-form-title {
943
- font-size: 14px;
944
- font-weight: 600;
945
- color: #cdd6f4;
946
- margin-bottom: 4px;
947
- }
948
- .te-token-form-context {
949
- font-size: 11px;
950
- color: #6c7086;
951
- margin-bottom: 12px;
952
- font-family: monospace;
953
- }
954
- .te-token-form-field {
955
- margin-bottom: 12px;
956
- }
957
- .te-token-form-field .te-label {
958
- margin-bottom: 4px;
959
- }
960
- .te-token-form-error {
961
- color: #f38ba8;
962
- font-size: 10px;
963
- margin-top: 2px;
964
- }
965
- .te-token-form-checkbox {
966
- display: flex;
967
- align-items: center;
968
- gap: 6px;
969
- font-size: 11px;
970
- font-family: monospace;
971
- color: #cdd6f4;
972
- padding: 2px 0;
973
- cursor: pointer;
974
- }
975
- .te-token-form-checkbox input[type=checkbox] {
976
- margin: 0;
977
- cursor: pointer;
978
- }
979
- .te-token-form-prop-name {
980
- color: #89b4fa;
981
- }
982
- .te-token-form-prop-value {
983
- color: #a6adc8;
984
- }
985
- .te-token-form-radio-group {
986
- display: flex;
987
- flex-direction: column;
988
- gap: 4px;
989
- }
990
- .te-token-form-radio {
991
- display: flex;
992
- align-items: center;
993
- gap: 6px;
994
- font-size: 11px;
995
- color: #cdd6f4;
996
- cursor: pointer;
997
- }
998
- .te-token-form-radio input[type=radio] {
999
- margin: 0;
1000
- cursor: pointer;
1001
- }
1002
- .te-token-form-actions {
1003
- display: flex;
1004
- gap: 6px;
1005
- margin-top: 12px;
1006
- }
1007
- .te-creation-zone {
1008
- margin-top: 12px;
1009
- padding-top: 12px;
1010
- border-top: 1px solid #313244;
1011
- }
1012
- .te-creation-trigger {
1013
- width: 100%;
1014
- justify-content: center;
1015
- font-size: 11px;
1016
- opacity: 0.6;
1017
- }
1018
- .te-creation-trigger:hover {
1019
- opacity: 1;
1020
- }
1021
- .te-creation-form {
1022
- display: flex;
1023
- flex-direction: column;
1024
- gap: 10px;
1025
- }
1026
- .te-creation-header {
1027
- display: flex;
1028
- align-items: center;
1029
- justify-content: space-between;
1030
- }
1031
- .te-creation-title {
1032
- font-size: 14px;
1033
- font-weight: 600;
1034
- color: #cdd6f4;
1035
- }
1036
- .te-creation-cancel {
1037
- border: none;
1038
- background: none;
1039
- color: #89b4fa;
1040
- cursor: pointer;
1041
- font-size: 11px;
1042
- font-family: inherit;
1043
- padding: 2px 0;
1044
- }
1045
- .te-creation-cancel:hover {
1046
- color: #74c7ec;
1047
- text-decoration: underline;
1048
- }
1049
- .te-creation-row {
1050
- display: flex;
1051
- flex-direction: column;
1052
- gap: 4px;
1053
- }
1054
- .te-creation-row .te-control {
1055
- padding: 0;
1056
- margin: 0;
1057
- background: none;
1058
- border: none;
1059
- }
1060
- .te-creation-row-label {
1061
- font-size: 11px;
1062
- font-weight: 600;
1063
- color: #bac2de;
1064
- text-transform: uppercase;
1065
- letter-spacing: 0.05em;
1066
- }
1067
- .te-creation-swatch {
1068
- width: 20px;
1069
- height: 20px;
1070
- border-radius: 4px;
1071
- border: 1px solid #45475a;
1072
- flex-shrink: 0;
1073
- }
1074
- .te-format-toggle {
1075
- display: flex;
1076
- background: #313244;
1077
- border-radius: 6px;
1078
- padding: 2px;
1079
- margin-bottom: 8px;
1080
- }
1081
- .te-format-btn {
1082
- flex: 1;
1083
- background: transparent;
1084
- border: none;
1085
- color: #6c7086;
1086
- font-size: 10px;
1087
- font-weight: 600;
1088
- padding: 4px 8px;
1089
- border-radius: 4px;
1090
- cursor: pointer;
1091
- font-family: inherit;
1092
- }
1093
- .te-format-btn:hover {
1094
- color: #a6adc8;
1095
- }
1096
- .te-format-active {
1097
- background: #45475a;
1098
- color: #cdd6f4;
1099
- }
1100
- .te-trigger {
1101
- position: fixed;
1102
- bottom: 20px;
1103
- right: 20px;
1104
- z-index: 9998;
1105
- width: 48px;
1106
- height: 48px;
1107
- border-radius: 50%;
1108
- border: none;
1109
- background: #1e1e2e;
1110
- color: #cdd6f4;
1111
- cursor: pointer;
1112
- display: flex;
1113
- align-items: center;
1114
- justify-content: center;
1115
- box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
1116
- font-family:
1117
- -apple-system,
1118
- BlinkMacSystemFont,
1119
- "Segoe UI",
1120
- Roboto,
1121
- Helvetica,
1122
- Arial,
1123
- sans-serif;
1124
- }
1125
- .te-trigger-dot-baseline {
1126
- position: absolute;
1127
- top: -2px;
1128
- left: -2px;
1129
- width: 8px;
1130
- height: 8px;
1131
- border-radius: 50%;
1132
- background: #a6e3a1;
1133
- }
1134
- .te-trigger-badge {
1135
- position: absolute;
1136
- top: -2px;
1137
- right: -2px;
1138
- width: 14px;
1139
- height: 14px;
1140
- border-radius: 50%;
1141
- background: #f38ba8;
1142
- font-size: 9px;
1143
- font-weight: 700;
1144
- display: flex;
1145
- align-items: center;
1146
- justify-content: center;
1147
- color: #1e1e2e;
1148
- }