@ttoss/theme 1.4.19 → 1.4.21
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/esm/{chunk-4Y5IVXYK.js → chunk-RAGX2KRO.js} +24 -13
- package/dist/esm/index.js +1 -1
- package/dist/esm/themes/Bruttal/Bruttal.js +1 -1
- package/dist/index.js +24 -13
- package/dist/themes/Bruttal/Bruttal.js +24 -13
- package/package.json +2 -2
- package/src/themes/Bruttal/BruttalTheme.ts +23 -11
|
@@ -415,6 +415,23 @@ var BruttalTheme = {
|
|
|
415
415
|
},
|
|
416
416
|
'&:has(input[type="checkbox"]:disabled)': {
|
|
417
417
|
color: "onMuted"
|
|
418
|
+
},
|
|
419
|
+
'&:has(div > input[type="radio"])': {
|
|
420
|
+
alignItems: "center"
|
|
421
|
+
},
|
|
422
|
+
'&:has(div > input[type="radio"]:disabled)': {
|
|
423
|
+
color: "muted"
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
radio: {
|
|
427
|
+
color: "text",
|
|
428
|
+
fontFamily: "body",
|
|
429
|
+
fontSize: "lg",
|
|
430
|
+
"input:disabled ~ &": {
|
|
431
|
+
color: "muted"
|
|
432
|
+
},
|
|
433
|
+
'input[aria-invalid="true"] ~ &': {
|
|
434
|
+
color: "danger"
|
|
418
435
|
}
|
|
419
436
|
},
|
|
420
437
|
checkbox: {
|
|
@@ -538,27 +555,21 @@ var BruttalTheme = {
|
|
|
538
555
|
outlineColor: "primary"
|
|
539
556
|
},
|
|
540
557
|
":disabled::placeholder": {
|
|
541
|
-
color: "
|
|
558
|
+
color: "onMuted"
|
|
542
559
|
},
|
|
543
560
|
":disabled": {
|
|
544
561
|
borderColor: "onMuted",
|
|
562
|
+
backgroundColor: "muted",
|
|
545
563
|
border: "muted",
|
|
546
|
-
color: "
|
|
547
|
-
},
|
|
548
|
-
":disabled+span>iconify-icon": {
|
|
549
|
-
color: "muted"
|
|
564
|
+
color: "onMuted"
|
|
550
565
|
},
|
|
551
566
|
'&[aria-invalid="true"]': {
|
|
552
|
-
borderColor: "danger"
|
|
553
|
-
|
|
554
|
-
"&.success+span>iconify-icon": {
|
|
555
|
-
color: "positive"
|
|
567
|
+
borderColor: "danger",
|
|
568
|
+
outlineColor: "danger"
|
|
556
569
|
},
|
|
557
570
|
'&[aria-invalid="true"]+span>iconify-icon': {
|
|
558
|
-
color: "danger"
|
|
559
|
-
|
|
560
|
-
'&[aria-invalid="true"]::placeholder': {
|
|
561
|
-
color: "danger"
|
|
571
|
+
color: "danger",
|
|
572
|
+
fontSize: "base"
|
|
562
573
|
}
|
|
563
574
|
}
|
|
564
575
|
},
|
package/dist/esm/index.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -454,6 +454,23 @@ var BruttalTheme = {
|
|
|
454
454
|
},
|
|
455
455
|
'&:has(input[type="checkbox"]:disabled)': {
|
|
456
456
|
color: "onMuted"
|
|
457
|
+
},
|
|
458
|
+
'&:has(div > input[type="radio"])': {
|
|
459
|
+
alignItems: "center"
|
|
460
|
+
},
|
|
461
|
+
'&:has(div > input[type="radio"]:disabled)': {
|
|
462
|
+
color: "muted"
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
radio: {
|
|
466
|
+
color: "text",
|
|
467
|
+
fontFamily: "body",
|
|
468
|
+
fontSize: "lg",
|
|
469
|
+
"input:disabled ~ &": {
|
|
470
|
+
color: "muted"
|
|
471
|
+
},
|
|
472
|
+
'input[aria-invalid="true"] ~ &': {
|
|
473
|
+
color: "danger"
|
|
457
474
|
}
|
|
458
475
|
},
|
|
459
476
|
checkbox: {
|
|
@@ -577,27 +594,21 @@ var BruttalTheme = {
|
|
|
577
594
|
outlineColor: "primary"
|
|
578
595
|
},
|
|
579
596
|
":disabled::placeholder": {
|
|
580
|
-
color: "
|
|
597
|
+
color: "onMuted"
|
|
581
598
|
},
|
|
582
599
|
":disabled": {
|
|
583
600
|
borderColor: "onMuted",
|
|
601
|
+
backgroundColor: "muted",
|
|
584
602
|
border: "muted",
|
|
585
|
-
color: "
|
|
586
|
-
},
|
|
587
|
-
":disabled+span>iconify-icon": {
|
|
588
|
-
color: "muted"
|
|
603
|
+
color: "onMuted"
|
|
589
604
|
},
|
|
590
605
|
'&[aria-invalid="true"]': {
|
|
591
|
-
borderColor: "danger"
|
|
592
|
-
|
|
593
|
-
"&.success+span>iconify-icon": {
|
|
594
|
-
color: "positive"
|
|
606
|
+
borderColor: "danger",
|
|
607
|
+
outlineColor: "danger"
|
|
595
608
|
},
|
|
596
609
|
'&[aria-invalid="true"]+span>iconify-icon': {
|
|
597
|
-
color: "danger"
|
|
598
|
-
|
|
599
|
-
'&[aria-invalid="true"]::placeholder': {
|
|
600
|
-
color: "danger"
|
|
610
|
+
color: "danger",
|
|
611
|
+
fontSize: "base"
|
|
601
612
|
}
|
|
602
613
|
}
|
|
603
614
|
},
|
|
@@ -458,6 +458,23 @@ var BruttalTheme = {
|
|
|
458
458
|
},
|
|
459
459
|
'&:has(input[type="checkbox"]:disabled)': {
|
|
460
460
|
color: "onMuted"
|
|
461
|
+
},
|
|
462
|
+
'&:has(div > input[type="radio"])': {
|
|
463
|
+
alignItems: "center"
|
|
464
|
+
},
|
|
465
|
+
'&:has(div > input[type="radio"]:disabled)': {
|
|
466
|
+
color: "muted"
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
radio: {
|
|
470
|
+
color: "text",
|
|
471
|
+
fontFamily: "body",
|
|
472
|
+
fontSize: "lg",
|
|
473
|
+
"input:disabled ~ &": {
|
|
474
|
+
color: "muted"
|
|
475
|
+
},
|
|
476
|
+
'input[aria-invalid="true"] ~ &': {
|
|
477
|
+
color: "danger"
|
|
461
478
|
}
|
|
462
479
|
},
|
|
463
480
|
checkbox: {
|
|
@@ -581,27 +598,21 @@ var BruttalTheme = {
|
|
|
581
598
|
outlineColor: "primary"
|
|
582
599
|
},
|
|
583
600
|
":disabled::placeholder": {
|
|
584
|
-
color: "
|
|
601
|
+
color: "onMuted"
|
|
585
602
|
},
|
|
586
603
|
":disabled": {
|
|
587
604
|
borderColor: "onMuted",
|
|
605
|
+
backgroundColor: "muted",
|
|
588
606
|
border: "muted",
|
|
589
|
-
color: "
|
|
590
|
-
},
|
|
591
|
-
":disabled+span>iconify-icon": {
|
|
592
|
-
color: "muted"
|
|
607
|
+
color: "onMuted"
|
|
593
608
|
},
|
|
594
609
|
'&[aria-invalid="true"]': {
|
|
595
|
-
borderColor: "danger"
|
|
596
|
-
|
|
597
|
-
"&.success+span>iconify-icon": {
|
|
598
|
-
color: "positive"
|
|
610
|
+
borderColor: "danger",
|
|
611
|
+
outlineColor: "danger"
|
|
599
612
|
},
|
|
600
613
|
'&[aria-invalid="true"]+span>iconify-icon': {
|
|
601
|
-
color: "danger"
|
|
602
|
-
|
|
603
|
-
'&[aria-invalid="true"]::placeholder': {
|
|
604
|
-
color: "danger"
|
|
614
|
+
color: "danger",
|
|
615
|
+
fontSize: "base"
|
|
605
616
|
}
|
|
606
617
|
}
|
|
607
618
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/theme",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.21",
|
|
4
4
|
"description": "Theme for packages.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "ttoss",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
]
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "1fa173691ed00ab80f275d12238ed191c55c225f"
|
|
61
61
|
}
|
|
@@ -304,6 +304,23 @@ export const BruttalTheme: Theme = {
|
|
|
304
304
|
'&:has(input[type="checkbox"]:disabled)': {
|
|
305
305
|
color: 'onMuted',
|
|
306
306
|
},
|
|
307
|
+
'&:has(div > input[type="radio"])': {
|
|
308
|
+
alignItems: 'center',
|
|
309
|
+
},
|
|
310
|
+
'&:has(div > input[type="radio"]:disabled)': {
|
|
311
|
+
color: 'muted',
|
|
312
|
+
},
|
|
313
|
+
},
|
|
314
|
+
radio: {
|
|
315
|
+
color: 'text',
|
|
316
|
+
fontFamily: 'body',
|
|
317
|
+
fontSize: 'lg',
|
|
318
|
+
'input:disabled ~ &': {
|
|
319
|
+
color: 'muted',
|
|
320
|
+
},
|
|
321
|
+
'input[aria-invalid="true"] ~ &': {
|
|
322
|
+
color: 'danger',
|
|
323
|
+
},
|
|
307
324
|
},
|
|
308
325
|
checkbox: {
|
|
309
326
|
'input:not(:checked) ~ &': {
|
|
@@ -426,27 +443,22 @@ export const BruttalTheme: Theme = {
|
|
|
426
443
|
outlineColor: 'primary',
|
|
427
444
|
},
|
|
428
445
|
':disabled::placeholder': {
|
|
429
|
-
color: '
|
|
446
|
+
color: 'onMuted',
|
|
430
447
|
},
|
|
431
448
|
':disabled': {
|
|
432
449
|
borderColor: 'onMuted',
|
|
450
|
+
backgroundColor: 'muted',
|
|
433
451
|
border: 'muted',
|
|
434
|
-
color: '
|
|
435
|
-
},
|
|
436
|
-
':disabled+span>iconify-icon': {
|
|
437
|
-
color: 'muted',
|
|
452
|
+
color: 'onMuted',
|
|
438
453
|
},
|
|
454
|
+
|
|
439
455
|
'&[aria-invalid="true"]': {
|
|
440
456
|
borderColor: 'danger',
|
|
441
|
-
|
|
442
|
-
'&.success+span>iconify-icon': {
|
|
443
|
-
color: 'positive',
|
|
457
|
+
outlineColor: 'danger',
|
|
444
458
|
},
|
|
445
459
|
'&[aria-invalid="true"]+span>iconify-icon': {
|
|
446
460
|
color: 'danger',
|
|
447
|
-
|
|
448
|
-
'&[aria-invalid="true"]::placeholder': {
|
|
449
|
-
color: 'danger',
|
|
461
|
+
fontSize: 'base',
|
|
450
462
|
},
|
|
451
463
|
},
|
|
452
464
|
},
|