@latitude-ui/widgets 0.0.15 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,888 @@
1
+ lat-input-label {
2
+ color: var(--lat-text-color-subtle);
3
+ //color: var(--lat-text-color-strong);
4
+
5
+ font-size: var(--lat-font-size-small);
6
+ font-family: var(--lat-font-family-sans), sans-serif;
7
+ font-weight: var(--lat-font-weight-normal);
8
+
9
+ user-select: none;
10
+ line-height: 1rem;
11
+
12
+
13
+ label {
14
+ display: inline-flex;
15
+
16
+ align-self: flex-start;
17
+ align-items: center;
18
+ justify-self: start;
19
+
20
+ color: inherit;
21
+ text-align: right;
22
+ line-height: inherit;
23
+ vertical-align: middle;
24
+
25
+ font-size: inherit;
26
+ font-family: inherit;
27
+ font-weight: inherit;
28
+
29
+ .lat-label-asterix {
30
+ color: var(--lat-danger-color);
31
+ margin-left: 4px;
32
+ }
33
+ }
34
+ }
35
+
36
+
37
+ lat-input {
38
+ display: flex;
39
+
40
+ gap: 4px;
41
+ flex-direction: column;
42
+
43
+ align-items: flex-start;
44
+ justify-content: flex-start;
45
+
46
+ font-family: var(--lat-font-family-sans), sans-serif;
47
+ font-weight: var(--lat-font-weight-normal);
48
+
49
+ line-height: normal;
50
+
51
+ & > div[role="textbox"] {
52
+ position: relative;
53
+
54
+ overflow: hidden;
55
+ box-sizing: border-box;
56
+
57
+ margin-inline: calc(0.25rem * -1);
58
+
59
+ button {
60
+ position: relative;
61
+
62
+ box-sizing: border-box;
63
+
64
+ display: flex;
65
+
66
+ align-items: center;
67
+ justify-content: flex-start;
68
+
69
+ width: 100%;
70
+
71
+ height: auto;
72
+ min-height: 28px;
73
+ line-height: 28px;
74
+
75
+ cursor: default;
76
+
77
+ text-align: left;
78
+ touch-action: manipulation;
79
+
80
+ border-radius: 4px;
81
+
82
+ padding-block: 0.25rem;
83
+ padding-inline: 0.25rem;
84
+
85
+ color: var(--lat-text-color);
86
+ background-color: transparent;
87
+
88
+ font-size: inherit;
89
+ font-family: inherit;
90
+ font-weight: inherit;
91
+
92
+ &:hover {
93
+ color: var(--lat-text-color);
94
+ background-color: var(--lat-background-color-active);
95
+ }
96
+
97
+ transition-property: background, border, color, fill, opacity;
98
+ transition-duration: 0.2s;
99
+ }
100
+ }
101
+
102
+ & > * {
103
+ width: 100%;
104
+ }
105
+
106
+ lat-input-label {
107
+ }
108
+
109
+ lat-input-error {
110
+ display: flex;
111
+
112
+ cursor: default;
113
+ flex-direction: column;
114
+
115
+ align-items: flex-start;
116
+
117
+ gap: 4px;
118
+
119
+ color: var(--lat-danger-color);
120
+ text-align: right;
121
+ line-height: inherit;
122
+ vertical-align: middle;
123
+
124
+ font-size: 11px;
125
+ font-family: inherit;
126
+ font-weight: inherit;
127
+ }
128
+ }
129
+
130
+ lat-switch {
131
+ display: inline-flex;
132
+
133
+ cursor: default;
134
+
135
+ align-items: center;
136
+ justify-content: flex-start;
137
+
138
+ font-family: var(--lat-font-family-sans), sans-serif;
139
+ font-weight: var(--lat-font-weight-normal);
140
+
141
+ &[data-size="sm"] {
142
+ height: 24px;
143
+ font-size: 12px;
144
+ line-height: 24px;
145
+
146
+ button {
147
+ width: 32px;
148
+ height: 18px;
149
+ line-height: 18px;
150
+
151
+ & > div {
152
+ width: 14px;
153
+ height: 14px;
154
+ }
155
+
156
+ &[aria-checked="true"] {
157
+ --lat-translate-x: 14px;
158
+ }
159
+
160
+ &[aria-checked="false"] {
161
+ --lat-translate-x: 0;
162
+ }
163
+ }
164
+ }
165
+
166
+ &[data-size="md"] {
167
+ height: 28px;
168
+ font-size: 12px;
169
+ line-height: 28px;
170
+
171
+ button {
172
+ width: 40px;
173
+ height: 22px;
174
+ line-height: 22px;
175
+
176
+ & > div {
177
+ width: 18px;
178
+ height: 18px;
179
+ }
180
+
181
+ &[aria-checked="true"] {
182
+ --lat-translate-x: 18px;
183
+ }
184
+
185
+ &[aria-checked="false"] {
186
+ --lat-translate-x: 0;
187
+ }
188
+ }
189
+ }
190
+
191
+ &[data-size="lg"] {
192
+ height: 32px;
193
+ font-size: 14px;
194
+ line-height: 32px;
195
+
196
+ button {
197
+ width: 44px;
198
+ height: 26px;
199
+ line-height: 26px;
200
+
201
+ & > div {
202
+ width: 22px;
203
+ height: 22px;
204
+ }
205
+
206
+ &[aria-checked="true"] {
207
+ --lat-translate-x: 22px;
208
+ }
209
+
210
+ &[aria-checked="false"] {
211
+ --lat-translate-x: 0;
212
+ }
213
+ }
214
+ }
215
+
216
+ button {
217
+ display: inline-flex;
218
+
219
+ align-items: center;
220
+ justify-content: flex-start;
221
+
222
+ height: 100%;
223
+
224
+ flex-shrink: 0;
225
+
226
+ border-width: 1px;
227
+ border-style: solid;
228
+ border-color: var(--lat-thumb-border-color);
229
+ border-radius: 9999px;
230
+
231
+ color: var(--lat-text-color);
232
+ background-color: var(--lat-thumb-background-color);
233
+
234
+
235
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
236
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
237
+ transition-duration: .2s;
238
+
239
+ padding: 2px 1px;
240
+ margin-right: .5rem;
241
+
242
+
243
+ & > div {
244
+ display: block;
245
+ box-sizing: border-box;
246
+
247
+ border-width: 0;
248
+ border-style: solid;
249
+ border-color: var(--lat-outline-color-strong);
250
+ border-radius: 9999px;
251
+
252
+ box-shadow: inset 0 0 0 var(--lat-thumb-border-width) var(--lat-thumb-border-color);
253
+ background-color: var(--lat-thumb-color);
254
+
255
+ transition-property: transform;
256
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
257
+ transition-duration: .2s;
258
+
259
+ transform: translate(var(--lat-translate-x), 0)
260
+ }
261
+
262
+ &[aria-checked="true"] {
263
+ --lat-thumb-color: #ffffff;
264
+ --lat-thumb-border-width: 0;
265
+ --lat-thumb-border-color: var(--lat-primary-color);
266
+ --lat-thumb-background-color: var(--lat-primary-color);
267
+ }
268
+
269
+ &[aria-checked="false"] {
270
+ --lat-thumb-color: #ffffff;
271
+ --lat-thumb-border-width: 1px;
272
+ --lat-thumb-border-color: var(--lat-outline-color-strong);
273
+ --lat-thumb-background-color: var(--lat-background-color-subtle);
274
+ }
275
+ }
276
+ }
277
+
278
+ @mixin textbox-size(
279
+ $size,
280
+ $height,
281
+ $font-size,
282
+ $line-height,
283
+ $padding-block,
284
+ $padding-inline,
285
+ ) {
286
+ &[data-size="#{$size}"] {
287
+ --lat-textbox-height: #{$height};
288
+ --lat-textbox-font-size: #{$font-size};
289
+ --lat-textbox-line-height: #{$line-height};
290
+ --lat-textbox-padding-block: #{$padding-block};
291
+ --lat-textbox-padding-inline: #{$padding-inline};
292
+
293
+ @content;
294
+ }
295
+ }
296
+
297
+
298
+ lat-textbox, lat-textarea, lat-select {
299
+ --lat-textbox-height: auto;
300
+ --lat-textbox-line-height: inherit;
301
+ --lat-textbox-font-size: var(--lat-font-size-small);
302
+ --lat-textbox-font-family: var(--lat-font-family-sans);
303
+ --lat-textbox-font-weight: var(--lat-font-weight-normal);
304
+ --lat-textbox-padding-block: 0;
305
+ --lat-textbox-padding-inline: 0;
306
+ --lat-textbox-border-style: solid;
307
+ --lat-textbox-border-color: transparent;
308
+ --lat-textbox-border-width: 1px;
309
+ --lat-textbox-border-radius: 4px;
310
+ --lat-textbox-color: initial;
311
+ --lat-textbox-background-color: initial;
312
+ --lat-textbox-placeholder-color: initial;
313
+ }
314
+
315
+ lat-textbox, lat-textarea, lat-select {
316
+ --lat-textbox-color: var(--lat-text-color);
317
+ --lat-textbox-placeholder-color: var(--lat-text-color-subtle);
318
+ --lat-textbox-border-width: 0.0625rem;
319
+ --lat-textbox-border-color: var(--lat-outline-color-strong);
320
+ --lat-textbox-background-color: #ffffff;
321
+ }
322
+
323
+ lat-textbox {
324
+ position: relative;
325
+ box-sizing: border-box;
326
+
327
+ display: inline-flex;
328
+ overflow: hidden;
329
+
330
+ width: 100%;
331
+
332
+ font-size: var(--lat-textbox-font-size);
333
+ font-family: var(--lat-textbox-font-family), sans-serif;
334
+ font-weight: var(--lat-textbox-font-weight);
335
+
336
+ border-width: var(--lat-textbox-border-width);
337
+ border-style: var(--lat-textbox-border-style);
338
+ border-color: var(--lat-textbox-border-color);
339
+ border-radius: var(--lat-textbox-border-radius);
340
+
341
+ color: var(--lat-textbox-color);
342
+ background-color: var(--lat-textbox-background-color);
343
+
344
+ transition-property: background, border, color, fill, opacity;
345
+ transition-duration: .2s;
346
+
347
+ &:hover {
348
+ --lat-textbox-color: var(--lat-text-color);
349
+ --lat-textbox-border-color: var(--lat-outline-color-hover);
350
+ }
351
+
352
+ &:focus-within {
353
+ --lat-textbox-color: var(--lat-text-color);
354
+ --lat-textbox-border-color: var(--lat-outline-color-active);
355
+ }
356
+
357
+ &[data-dirty="true"][data-invalid="true"] {
358
+ --lat-textbox-border-color: var(--lat-danger-color);
359
+ }
360
+
361
+ &[data-readonly="true"] {
362
+ --lat-textbox-color: var(--lat-text-color);
363
+ --lat-textbox-border-color: transparent;
364
+ --lat-textbox-background-color: #ffffff;
365
+
366
+ margin-inline: calc(var(--lat-textbox-padding-inline) * -1);
367
+
368
+ input, textarea {
369
+ cursor: default;
370
+ }
371
+
372
+ &:hover {
373
+ --lat-textbox-color: var(--lat-text-color);
374
+ --lat-textbox-border-color: transparent;
375
+ --lat-textbox-background-color: var(--lat-background-color-hover);
376
+ }
377
+
378
+ &:focus-within {
379
+ --lat-textbox-color: var(--lat-text-color);
380
+ --lat-textbox-border-color: transparent;
381
+ --lat-textbox-background-color: var(--lat-background-color-active);
382
+ }
383
+ }
384
+
385
+ input, textarea {
386
+ position: relative;
387
+ overflow: hidden;
388
+ box-sizing: border-box;
389
+
390
+ display: inline-flex;
391
+
392
+ align-items: center;
393
+ justify-content: center;
394
+
395
+ text-align: left;
396
+ touch-action: manipulation;
397
+
398
+ width: 100%;
399
+
400
+ height: var(--lat-textbox-height);
401
+ line-height: var(--lat-textbox-line-height);
402
+
403
+ font-size: inherit;
404
+ font-family: inherit;
405
+ font-weight: inherit;
406
+
407
+ margin: 0;
408
+ padding: 0;
409
+
410
+ border: none;
411
+ outline: none;
412
+
413
+ padding-block: var(--lat-textbox-padding-block);
414
+ padding-inline: var(--lat-textbox-padding-inline);
415
+
416
+ flex-grow: 1;
417
+
418
+ vertical-align: top;
419
+
420
+ color: inherit;
421
+ background-color: initial;
422
+
423
+ &::placeholder {
424
+ color: var(--lat-textbox-placeholder-color);
425
+
426
+ font-size: var(--lat-textbox-font-size);
427
+ font-family: var(--lat-textbox-font-family), sans-serif;
428
+ font-weight: var(--lat-textbox-font-weight);
429
+ }
430
+ }
431
+
432
+ &[data-rows] {
433
+ height: auto;
434
+ box-sizing: content-box;
435
+
436
+ textarea {
437
+ height: auto;
438
+ overflow: auto;
439
+ }
440
+ }
441
+
442
+ @include textbox-size(
443
+ "sm",
444
+ 1.5rem,
445
+ 0.75rem,
446
+ 1.125rem,
447
+ 0.25rem,
448
+ 0.5rem
449
+ );
450
+
451
+ @include textbox-size(
452
+ "md",
453
+ 1.75rem,
454
+ 0.75rem,
455
+ 1.125rem,
456
+ 0.25rem,
457
+ 0.5rem
458
+ );
459
+
460
+ @include textbox-size(
461
+ "lg",
462
+ 2rem,
463
+ 0.875rem,
464
+ 1.3125rem,
465
+ 0.25rem,
466
+ 0.5rem
467
+ );
468
+ }
469
+
470
+
471
+ lat-select {
472
+ position: relative;
473
+ box-sizing: border-box;
474
+
475
+ display: inline-flex;
476
+
477
+ overflow: hidden;
478
+
479
+ min-width: 100px;
480
+ max-width: 100%;
481
+
482
+
483
+ lat-select-trigger {
484
+ position: relative;
485
+ box-sizing: border-box;
486
+
487
+ display: flex;
488
+ flex-wrap: nowrap;
489
+ overflow-x: hidden;
490
+
491
+ align-items: center;
492
+ justify-content: space-between;
493
+
494
+ cursor: pointer;
495
+ user-select: none;
496
+
497
+ width: 100%;
498
+ max-width: 100%;
499
+
500
+ line-height: var(--lat-textbox-line-height);
501
+
502
+ font-size: var(--lat-textbox-font-size);
503
+ font-family: var(--lat-textbox-font-family), sans-serif;
504
+ font-weight: var(--lat-textbox-font-weight);
505
+
506
+ border-width: var(--lat-textbox-border-width);
507
+ border-style: var(--lat-textbox-border-style);
508
+ border-color: var(--lat-textbox-border-color);
509
+ border-radius: var(--lat-textbox-border-radius);
510
+
511
+ color: var(--lat-textbox-color);
512
+ background-color: var(--lat-textbox-background-color);
513
+
514
+ transition-property: background, border, color, fill, opacity;
515
+ transition-duration: .2s;
516
+
517
+ &:hover {
518
+ --lat-textbox-color: var(--lat-text-color);
519
+ --lat-textbox-border-color: var(--lat-outline-color-hover);
520
+ }
521
+
522
+ &:focus-within {
523
+ --lat-textbox-color: var(--lat-text-color);
524
+ --lat-textbox-border-color: var(--lat-outline-color-active);
525
+ }
526
+
527
+ @include textbox-size(
528
+ "sm",
529
+ 1.5rem,
530
+ 0.75rem,
531
+ 1.125rem,
532
+ 0.25rem,
533
+ 0.5rem
534
+ );
535
+
536
+ @include textbox-size(
537
+ "md",
538
+ 1.75rem,
539
+ 0.75rem,
540
+ 1.125rem,
541
+ 0.25rem,
542
+ 0.5rem
543
+ );
544
+
545
+ @include textbox-size(
546
+ "lg",
547
+ 2rem,
548
+ 0.875rem,
549
+ 1.3125rem,
550
+ 0.25rem,
551
+ 0.5rem
552
+ );
553
+
554
+ lat-select-values {
555
+ display: flex;
556
+ flex-wrap: nowrap;
557
+ overflow-x: hidden;
558
+
559
+ gap: 0.5rem;
560
+ height: 100%;
561
+
562
+ margin-inline: 0.5rem;
563
+
564
+ lat-select-value {
565
+ display: flex;
566
+ overflow: hidden;
567
+
568
+ min-width: 0;
569
+ min-height: 0;
570
+
571
+ flex-shrink: 0;
572
+ align-items: center;
573
+ justify-content: flex-start;
574
+
575
+ cursor: pointer;
576
+ user-select: none;
577
+
578
+ font-size: calc(var(--lat-textbox-font-size) - 1px);
579
+
580
+ span {
581
+ display: inline-block;
582
+
583
+ padding-block: 2px;
584
+ padding-inline: 8px;
585
+
586
+ border-radius: 4px;
587
+
588
+ background-color: var(--lat-background-color-subtle-hover);
589
+ }
590
+
591
+ }
592
+ }
593
+
594
+ lat-select-values + .lat-select-control {
595
+ position: relative;
596
+ box-sizing: content-box;
597
+
598
+ display: flex;
599
+
600
+ flex-direction: column;
601
+
602
+ border-left-style: solid;
603
+ border-left-width: 1px;
604
+ border-left-color: var(--lat-textbox-border-color);
605
+
606
+ lat-button {
607
+ --lat-button-height: var(--lat-textbox-height);
608
+ width: var(--lat-textbox-height);
609
+
610
+ &:hover {
611
+ background-color: transparent;
612
+ }
613
+ }
614
+ }
615
+
616
+
617
+ }
618
+
619
+ &[type="single"] {
620
+
621
+ lat-select-values {
622
+ margin-inline: 0;
623
+ }
624
+
625
+ lat-select-value,
626
+ lat-select-values {
627
+ flex: 1 1 auto;
628
+ }
629
+
630
+ lat-select-value {
631
+ span {
632
+ box-sizing: border-box;
633
+
634
+ display: block;
635
+
636
+ background-color: transparent;
637
+
638
+ overflow: hidden;
639
+ text-overflow: ellipsis;
640
+ white-space: nowrap;
641
+ }
642
+ }
643
+ }
644
+
645
+ }
646
+
647
+ .lat-select-dropdown-backdrop {
648
+ opacity: 1;
649
+ visibility: hidden;
650
+
651
+ &.cdk-overlay-backdrop-showing {
652
+ opacity: 0;
653
+ visibility: visible;
654
+ }
655
+ }
656
+
657
+ lat-select-dropdown {
658
+
659
+ box-sizing: border-box;
660
+
661
+ display: flex;
662
+
663
+ flex-direction: column;
664
+
665
+ outline: none;
666
+ pointer-events: auto;
667
+
668
+ max-height: 300px;
669
+
670
+ padding-block: 4px;
671
+ padding-inline: 0;
672
+
673
+ border-radius: 4px;
674
+
675
+ box-shadow: var(--lat-box-shadow-large);
676
+ background-color: var(--lat-background-color);
677
+
678
+ &[data-side="top"] {
679
+ margin: 0 0 4px 0;
680
+ }
681
+
682
+ &[data-side="right"] {
683
+ margin: 0 0 0 4px;
684
+ }
685
+
686
+ &[data-side="bottom"] {
687
+ margin: 4px 0 0 0;
688
+ }
689
+
690
+ &[data-side="left"] {
691
+ margin: 0 4px 0 0;
692
+ }
693
+
694
+
695
+ lat-textbox {
696
+ margin: 2px 4px 4px;
697
+ width: auto;
698
+ }
699
+
700
+ lat-listbox {
701
+ [role="listbox"] {
702
+ box-sizing: border-box;
703
+
704
+ scrollbar-width: none; /* Firefox */
705
+ -ms-overflow-style: none; /* IE and Edge */
706
+
707
+ &::-webkit-scrollbar {
708
+ display: none;
709
+ }
710
+ }
711
+
712
+ [role="option"] {
713
+ box-sizing: border-box;
714
+
715
+ display: inline-flex;
716
+
717
+ flex-wrap: nowrap;
718
+ flex-direction: row;
719
+
720
+ width: auto;
721
+
722
+ gap: 10px;
723
+ margin-inline: 4px;
724
+ padding-inline: 10px;
725
+
726
+ align-items: center;
727
+ justify-content: flex-start;
728
+
729
+ height: 28px;
730
+ min-height: 28px;
731
+ border-radius: 4px;
732
+
733
+ cursor: pointer;
734
+ user-select: none;
735
+
736
+ font-size: var(--lat-font-size-small);
737
+ font-family: var(--lat-font-family-sans), sans-serif;
738
+ font-weight: var(--lat-font-weight-normal);
739
+
740
+ color: var(--lat-text-color);
741
+ background-color: var(--lat-background-color);
742
+
743
+ transition-property: background, border, color, fill, opacity;
744
+ transition-duration: 0.2s;
745
+
746
+ &:hover {
747
+ fill: var(--lat-text-color);
748
+ color: var(--lat-text-color);
749
+ border-color: var(--lat-background-color-subtle-hover);
750
+ background-color: var(--lat-background-color-subtle-hover);
751
+ }
752
+
753
+ span {
754
+ display: inline-flex;
755
+
756
+ overflow: hidden;
757
+ text-overflow: ellipsis;
758
+ white-space: nowrap;
759
+ }
760
+
761
+ //&:active {
762
+ // fill: var(--lat-text-color);
763
+ // color: var(--lat-text-color);
764
+ // border-color: var(--lat-background-color-subtle-active);
765
+ // background-color: var(--lat-background-color-subtle-active);
766
+ //}
767
+ }
768
+ }
769
+
770
+ //
771
+
772
+ //}
773
+ }
774
+
775
+ lat-textbox[type="number"] {
776
+ lat-spinners {
777
+ position: relative;
778
+ box-sizing: content-box;
779
+
780
+ display: flex;
781
+
782
+ flex-direction: column;
783
+
784
+ align-items: center;
785
+ justify-content: center;
786
+
787
+ width: var(--lat-textbox-height);
788
+ max-height: var(--lat-textbox-height);
789
+ line-height: var(--lat-textbox-height);
790
+
791
+ border-left-style: solid;
792
+ border-left-width: 1px;
793
+ border-left-color: var(--lat-textbox-border-color);
794
+
795
+ transition-property: background, border, color, fill, opacity;
796
+ transition-duration: .2s;
797
+
798
+ lat-button {
799
+ --lat-button-height: calc(var(--lat-textbox-height) / 2);
800
+
801
+ width: 100%;
802
+ border-radius: 0;
803
+ }
804
+ }
805
+ }
806
+
807
+ lat-checkbox {
808
+ display: inline-flex;
809
+
810
+ cursor: default;
811
+
812
+ align-items: center;
813
+ justify-content: flex-start;
814
+
815
+ font-family: var(--lat-font-family-sans), sans-serif;
816
+ font-weight: var(--lat-font-weight-normal);
817
+
818
+ &[data-size="sm"] {
819
+ height: 24px;
820
+ font-size: 12px;
821
+ line-height: 24px;
822
+
823
+ button {
824
+ width: 14px;
825
+ height: 14px;
826
+ line-height: 14px;
827
+ }
828
+ }
829
+
830
+ &[data-size="md"] {
831
+ height: 28px;
832
+ font-size: 12px;
833
+ line-height: 28px;
834
+
835
+ button {
836
+ width: 18px;
837
+ height: 18px;
838
+ line-height: 18px;
839
+ }
840
+ }
841
+
842
+ &[data-size="lg"] {
843
+ height: 32px;
844
+ font-size: 14px;
845
+ line-height: 32px;
846
+
847
+ button {
848
+ width: 22px;
849
+ height: 22px;
850
+ line-height: 22px;
851
+ }
852
+ }
853
+
854
+ button {
855
+ display: inline-flex;
856
+
857
+ align-items: center;
858
+ justify-content: center;
859
+
860
+ flex-shrink: 0;
861
+
862
+ border-width: 1px;
863
+ border-style: solid;
864
+ border-color: var(--lat-checkbox-border-color);
865
+ border-radius: 4px;
866
+
867
+ color: var(--lat-checkbox-text-color);
868
+ background-color: var(--lat-checkbox-background-color);
869
+
870
+ transition-property: background, border, color, fill, opacity;
871
+ transition-duration: .2s;
872
+
873
+ &[aria-checked="true"] {
874
+ --lat-checkbox-text-color: #ffffff;
875
+ --lat-checkbox-border-color: var(--lat-primary-color);
876
+ --lat-checkbox-background-color: var(--lat-primary-color);
877
+ }
878
+
879
+ &[aria-checked="false"] {
880
+ --lat-checkbox-text-color: #ffffff;
881
+ --lat-checkbox-border-color: var(--lat-outline-color);
882
+ --lat-checkbox-background-color: var(--lat-background-color);
883
+ }
884
+ }
885
+ }
886
+
887
+
888
+