@ttoss/theme 1.4.19 → 1.4.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.
|
@@ -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: {
|
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: {
|
|
@@ -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: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/theme",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.20",
|
|
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": "7ca7111316e8fe781e55ac921f0e478985110151"
|
|
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) ~ &': {
|