@cirthcss/cirth 0.7.0 → 0.8.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.
package/README.md CHANGED
@@ -52,7 +52,7 @@
52
52
  Include one stylesheet and write ordinary semantic HTML.
53
53
 
54
54
  ```html
55
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@cirthcss/cirth@0.7.0/dist/cirth.min.css">
55
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@cirthcss/cirth@0.8.1/dist/cirth.min.css">
56
56
  ```
57
57
 
58
58
  ```html
@@ -36,40 +36,13 @@ main {
36
36
  }
37
37
 
38
38
  body > header, body > main, body > footer {
39
- width: 100%;
40
- padding: var(--cirth-block-spacing-vertical) var(--cirth-block-spacing-horizontal);
41
- margin-inline: auto;
39
+ grid-template-columns: minmax(var(--cirth-spacing), 1fr) minmax(0, var(--cirth-container-max-width)) minmax(var(--cirth-spacing), 1fr);
40
+ padding-block: var(--cirth-block-spacing-vertical);
41
+ display: grid;
42
42
  }
43
43
 
44
- @media (min-width: 576px) {
45
- body > header, body > main, body > footer {
46
- max-width: 510px;
47
- padding-inline: 0;
48
- }
49
- }
50
-
51
- @media (min-width: 768px) {
52
- body > header, body > main, body > footer {
53
- max-width: 700px;
54
- }
55
- }
56
-
57
- @media (min-width: 1024px) {
58
- body > header, body > main, body > footer {
59
- max-width: 950px;
60
- }
61
- }
62
-
63
- @media (min-width: 1280px) {
64
- body > header, body > main, body > footer {
65
- max-width: 1200px;
66
- }
67
- }
68
-
69
- @media (min-width: 1536px) {
70
- body > header, body > main, body > footer {
71
- max-width: 1450px;
72
- }
44
+ body > header > *, body > main > *, body > footer > * {
45
+ grid-column: 2;
73
46
  }
74
47
 
75
48
  section {
@@ -391,6 +364,10 @@ button:focus-visible, button[aria-current]:not([aria-current="false"]):focus-vis
391
364
  pointer-events: none;
392
365
  }
393
366
 
367
+ form:invalid :is(button:not([type="button"], [type="reset"]), [type="submit"]) {
368
+ opacity: var(--cirth-opacity-disabled);
369
+ }
370
+
394
371
  :where(table) {
395
372
  border-collapse: collapse;
396
373
  border-spacing: 0;
@@ -622,52 +599,52 @@ label[aria-disabled="true"] input[disabled] {
622
599
  opacity: 1;
623
600
  }
624
601
 
625
- :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid] {
602
+ :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"]):is([aria-invalid], :user-invalid:not([aria-invalid]), :user-valid:not([aria-invalid])) {
626
603
  padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
627
604
  background-position: center right var(--cirth-space-3);
628
605
  background-size: var(--cirth-size-4) auto;
629
606
  background-repeat: no-repeat;
630
607
  }
631
608
 
632
- :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid="false"]:not(select) {
609
+ :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"]):is([aria-invalid="false"], :user-valid:not([aria-invalid])):not(select) {
633
610
  background-image: var(--cirth-icon-valid);
634
611
  }
635
612
 
636
- :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid="true"]:not(select) {
613
+ :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"]):is([aria-invalid="true"], :user-invalid:not([aria-invalid])):not(select) {
637
614
  background-image: var(--cirth-icon-invalid);
638
615
  }
639
616
 
640
- :where(input, select, textarea)[aria-invalid="false"] {
617
+ :where(input, select, textarea):is([aria-invalid="false"], :user-valid:not([aria-invalid])) {
641
618
  --cirth-border-color: var(--cirth-form-element-valid-border-color);
642
619
  }
643
620
 
644
- :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus) {
621
+ :where(input, select, textarea):is([aria-invalid="false"], :user-valid:not([aria-invalid])):is(:active, :focus) {
645
622
  --cirth-border-color: var(--cirth-form-element-valid-active-border-color);
646
623
  }
647
624
 
648
- :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
625
+ :where(input, select, textarea):is([aria-invalid="false"], :user-valid:not([aria-invalid])):is(:active, :focus):not([type="checkbox"], [type="radio"]) {
649
626
  --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
650
627
  var(--cirth-form-element-valid-focus-color);
651
628
  }
652
629
 
653
- :where(input, select, textarea)[aria-invalid="true"] {
630
+ :where(input, select, textarea):is([aria-invalid="true"], :user-invalid:not([aria-invalid])) {
654
631
  --cirth-border-color: var(--cirth-form-element-invalid-border-color);
655
632
  }
656
633
 
657
- :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus) {
634
+ :where(input, select, textarea):is([aria-invalid="true"], :user-invalid:not([aria-invalid])):is(:active, :focus) {
658
635
  --cirth-border-color: var(--cirth-form-element-invalid-active-border-color);
659
636
  }
660
637
 
661
- :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
638
+ :where(input, select, textarea):is([aria-invalid="true"], :user-invalid:not([aria-invalid])):is(:active, :focus):not([type="checkbox"], [type="radio"]) {
662
639
  --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
663
640
  var(--cirth-form-element-invalid-focus-color);
664
641
  }
665
642
 
666
- [dir="rtl"] :where(input, select, textarea):not([type="checkbox"], [type="radio"]):is([aria-invalid], [aria-invalid="true"], [aria-invalid="false"]) {
643
+ [dir="rtl"] :where(input, select, textarea):not([type="checkbox"], [type="radio"]):is([aria-invalid], :user-invalid:not([aria-invalid]), :user-valid:not([aria-invalid])) {
667
644
  background-position: center left var(--cirth-space-3);
668
645
  }
669
646
 
670
- [dir="rtl"] textarea[aria-invalid] {
647
+ [dir="rtl"] textarea:is([aria-invalid], :user-invalid:not([aria-invalid]), :user-valid:not([aria-invalid])) {
671
648
  background-position: top left var(--cirth-space-3);
672
649
  }
673
650
 
@@ -702,7 +679,7 @@ textarea {
702
679
  display: block;
703
680
  }
704
681
 
705
- textarea[aria-invalid] {
682
+ textarea:is([aria-invalid], :user-invalid:not([aria-invalid]), :user-valid:not([aria-invalid])) {
706
683
  --cirth-icon-height: calc(var(--cirth-size-4) * var(--cirth-line-height) +
707
684
  var(--cirth-form-element-spacing-vertical) * 2 +
708
685
  var(--cirth-border-width) * 2);
@@ -718,11 +695,11 @@ textarea[aria-invalid] {
718
695
  display: block;
719
696
  }
720
697
 
721
- :where(input, select, textarea, fieldset)[aria-invalid="false"] + small {
698
+ :where(input, select, textarea, fieldset):is([aria-invalid="false"], :user-valid:not([aria-invalid])) + small {
722
699
  color: var(--cirth-ins-color);
723
700
  }
724
701
 
725
- :where(input, select, textarea, fieldset)[aria-invalid="true"] + small {
702
+ :where(input, select, textarea, fieldset):is([aria-invalid="true"], :user-invalid:not([aria-invalid])) + small {
726
703
  color: var(--cirth-del-color);
727
704
  }
728
705
 
@@ -1190,7 +1167,7 @@ article > footer {
1190
1167
  border-bottom-left-radius: var(--cirth-border-radius);
1191
1168
  }
1192
1169
 
1193
- [role="search"], [role="group"] {
1170
+ [role="search"], [role="group"]:not(fieldset) {
1194
1171
  width: 100%;
1195
1172
  margin-bottom: var(--cirth-spacing);
1196
1173
  border-radius: var(--cirth-border-radius);
@@ -1202,61 +1179,86 @@ article > footer {
1202
1179
  position: relative;
1203
1180
  }
1204
1181
 
1205
- [role="search"] > small, [role="group"] > small {
1182
+ [role="search"] > small, [role="group"]:not(fieldset) > small {
1206
1183
  margin-top: calc(var(--cirth-spacing) * .25);
1207
1184
  flex: 0 0 100%;
1208
1185
  order: 1;
1209
1186
  margin-bottom: 0;
1210
1187
  }
1211
1188
 
1212
- [role="search"] > *, [role="search"] input:not([type="checkbox"], [type="radio"]), [role="search"] select, [role="group"] > *, [role="group"] input:not([type="checkbox"], [type="radio"]), [role="group"] select {
1189
+ [role="search"] > *, [role="search"] input:not([type="checkbox"], [type="radio"]), [role="search"] select, [role="group"]:not(fieldset) > *, [role="group"]:not(fieldset) input:not([type="checkbox"], [type="radio"]), [role="group"]:not(fieldset) select {
1213
1190
  flex: auto;
1214
1191
  margin-bottom: 0;
1215
1192
  position: relative;
1216
1193
  }
1217
1194
 
1218
- [role="search"] > :is(input, select, textarea), [role="search"] input:not([type="checkbox"], [type="radio"]):is(input, select, textarea), [role="search"] select:is(input, select, textarea), [role="group"] > :is(input, select, textarea), [role="group"] input:not([type="checkbox"], [type="radio"]):is(input, select, textarea), [role="group"] select:is(input, select, textarea) {
1195
+ [role="search"] > :is(input, select, textarea), [role="search"] input:not([type="checkbox"], [type="radio"]):is(input, select, textarea), [role="search"] select:is(input, select, textarea), [role="group"]:not(fieldset) > :is(input, select, textarea), [role="group"]:not(fieldset) input:not([type="checkbox"], [type="radio"]):is(input, select, textarea), [role="group"]:not(fieldset) select:is(input, select, textarea) {
1219
1196
  flex: 99;
1220
1197
  }
1221
1198
 
1222
- [role="search"] > :not(:first-child), [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="search"] select:not(:first-child), [role="group"] > :not(:first-child), [role="group"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="group"] select:not(:first-child) {
1199
+ [role="search"] > :not(:first-child), [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="search"] select:not(:first-child), [role="group"]:not(fieldset) > :not(:first-child), [role="group"]:not(fieldset) input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="group"]:not(fieldset) select:not(:first-child) {
1223
1200
  border-start-start-radius: 0;
1224
1201
  border-end-start-radius: 0;
1225
1202
  margin-inline-start: 0;
1226
1203
  }
1227
1204
 
1228
- [role="search"] > :not(:last-child), [role="search"] input:not([type="checkbox"], [type="radio"]):not(:last-child), [role="search"] select:not(:last-child), [role="group"] > :not(:last-child), [role="group"] input:not([type="checkbox"], [type="radio"]):not(:last-child), [role="group"] select:not(:last-child) {
1205
+ [role="search"] > :not(:last-child), [role="search"] input:not([type="checkbox"], [type="radio"]):not(:last-child), [role="search"] select:not(:last-child), [role="group"]:not(fieldset) > :not(:last-child), [role="group"]:not(fieldset) input:not([type="checkbox"], [type="radio"]):not(:last-child), [role="group"]:not(fieldset) select:not(:last-child) {
1229
1206
  border-start-end-radius: 0;
1230
1207
  border-end-end-radius: 0;
1231
1208
  }
1232
1209
 
1233
- [role="search"] > :focus, [role="search"] input:not([type="checkbox"], [type="radio"]):focus, [role="search"] select:focus, [role="group"] > :focus, [role="group"] input:not([type="checkbox"], [type="radio"]):focus, [role="group"] select:focus {
1210
+ [role="search"] > :focus, [role="search"] input:not([type="checkbox"], [type="radio"]):focus, [role="search"] select:focus, [role="group"]:not(fieldset) > :focus, [role="group"]:not(fieldset) input:not([type="checkbox"], [type="radio"]):focus, [role="group"]:not(fieldset) select:focus {
1234
1211
  z-index: 2;
1235
1212
  }
1236
1213
 
1237
- :is([role="search"] > :has( + small:last-child), [role="group"] > :has( + small:last-child)) {
1214
+ [role="search"] > :has( + small:last-child) {
1215
+ border-start-end-radius: var(--cirth-border-radius);
1216
+ border-end-end-radius: var(--cirth-border-radius);
1217
+ }
1218
+
1219
+ [role="group"]:not(fieldset) > :has( + small:last-child) {
1238
1220
  border-start-end-radius: var(--cirth-border-radius);
1239
1221
  border-end-end-radius: var(--cirth-border-radius);
1240
1222
  }
1241
1223
 
1242
- [role="search"] button:not(:first-child), [role="search"] [type="submit"]:not(:first-child), [role="search"] [type="reset"]:not(:first-child), [role="search"] [type="button"]:not(:first-child), [role="search"] [role="button"]:not(:first-child), [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="search"] select:not(:first-child), [role="group"] button:not(:first-child), [role="group"] [type="submit"]:not(:first-child), [role="group"] [type="reset"]:not(:first-child), [role="group"] [type="button"]:not(:first-child), [role="group"] [role="button"]:not(:first-child), [role="group"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="group"] select:not(:first-child) {
1224
+ [role="search"] button:not(:first-child), [role="search"] [type="submit"]:not(:first-child), [role="search"] [type="reset"]:not(:first-child), [role="search"] [type="button"]:not(:first-child), [role="search"] [role="button"]:not(:first-child), [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="search"] select:not(:first-child), [role="group"]:not(fieldset) button:not(:first-child), [role="group"]:not(fieldset) [type="submit"]:not(:first-child), [role="group"]:not(fieldset) [type="reset"]:not(:first-child), [role="group"]:not(fieldset) [type="button"]:not(:first-child), [role="group"]:not(fieldset) [role="button"]:not(:first-child), [role="group"]:not(fieldset) input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="group"]:not(fieldset) select:not(:first-child) {
1243
1225
  margin-inline-start: calc(var(--cirth-border-width) * -1);
1244
1226
  }
1245
1227
 
1246
- [role="search"] button, [role="search"] [type="submit"], [role="search"] [type="reset"], [role="search"] [type="button"], [role="search"] [role="button"], [role="group"] button, [role="group"] [type="submit"], [role="group"] [type="reset"], [role="group"] [type="button"], [role="group"] [role="button"] {
1228
+ [role="search"] button, [role="search"] [type="submit"], [role="search"] [type="reset"], [role="search"] [type="button"], [role="search"] [role="button"], [role="group"]:not(fieldset) button, [role="group"]:not(fieldset) [type="submit"], [role="group"]:not(fieldset) [type="reset"], [role="group"]:not(fieldset) [type="button"], [role="group"]:not(fieldset) [role="button"] {
1247
1229
  width: auto;
1248
1230
  }
1249
1231
 
1250
1232
  @supports selector(:has(*)) {
1251
- :is([role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus), [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus)) {
1233
+ [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
1252
1234
  --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1253
1235
  }
1254
1236
 
1255
- :is([role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]), [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid])) {
1237
+ [role="group"]:not(fieldset):has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
1238
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1239
+ }
1240
+
1241
+ [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]) {
1256
1242
  border-color: #0000;
1257
1243
  }
1258
1244
 
1259
- :is([role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus), [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus)) {
1245
+ [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]) {
1246
+ border-color: #0000;
1247
+ }
1248
+
1249
+ [role="group"]:not(fieldset):has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]) {
1250
+ border-color: #0000;
1251
+ }
1252
+
1253
+ [role="group"]:not(fieldset):has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]) {
1254
+ border-color: #0000;
1255
+ }
1256
+
1257
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) {
1258
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1259
+ }
1260
+
1261
+ [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) {
1260
1262
  --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1261
1263
  }
1262
1264
 
@@ -1288,35 +1290,35 @@ article > footer {
1288
1290
  var(--cirth-primary-hover-border);
1289
1291
  }
1290
1292
 
1291
- [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1293
+ [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1292
1294
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1293
1295
  var(--cirth-primary-border);
1294
1296
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1295
1297
  var(--cirth-primary-hover-border);
1296
1298
  }
1297
1299
 
1298
- [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1300
+ [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1299
1301
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1300
1302
  var(--cirth-primary-border);
1301
1303
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1302
1304
  var(--cirth-primary-hover-border);
1303
1305
  }
1304
1306
 
1305
- [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1307
+ [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1306
1308
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1307
1309
  var(--cirth-primary-border);
1308
1310
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1309
1311
  var(--cirth-primary-hover-border);
1310
1312
  }
1311
1313
 
1312
- [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1314
+ [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1313
1315
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1314
1316
  var(--cirth-primary-border);
1315
1317
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1316
1318
  var(--cirth-primary-hover-border);
1317
1319
  }
1318
1320
 
1319
- [role="search"] button:focus, [role="search"] [type="submit"]:focus, [role="search"] [type="reset"]:focus, [role="search"] [type="button"]:focus, [role="search"] [role="button"]:focus, [role="group"] button:focus, [role="group"] [type="submit"]:focus, [role="group"] [type="reset"]:focus, [role="group"] [type="button"]:focus, [role="group"] [role="button"]:focus {
1321
+ [role="search"] button:focus, [role="search"] [type="submit"]:focus, [role="search"] [type="reset"]:focus, [role="search"] [type="button"]:focus, [role="search"] [role="button"]:focus, [role="group"]:not(fieldset) button:focus, [role="group"]:not(fieldset) [type="submit"]:focus, [role="group"]:not(fieldset) [type="reset"]:focus, [role="group"]:not(fieldset) [type="button"]:focus, [role="group"]:not(fieldset) [role="button"]:focus {
1320
1322
  box-shadow: none;
1321
1323
  }
1322
1324
  }
@@ -1526,7 +1528,7 @@ nav li :where(a:not([role="button"]), [role="link"]):not(:hover) {
1526
1528
  text-decoration: none;
1527
1529
  }
1528
1530
 
1529
- nav li [role="group"], nav li [role="search"] {
1531
+ nav li [role="group"]:not(fieldset), nav li [role="search"] {
1530
1532
  width: auto;
1531
1533
  margin-bottom: 0;
1532
1534
  }
@@ -1943,6 +1945,7 @@ progress::-moz-progress-bar {
1943
1945
  --cirth-typography-spacing-vertical: var(--cirth-space-4);
1944
1946
  --cirth-block-spacing-vertical: var(--cirth-spacing);
1945
1947
  --cirth-block-spacing-horizontal: var(--cirth-spacing);
1948
+ --cirth-container-max-width: 60rem;
1946
1949
  --cirth-form-element-spacing-vertical: var(--cirth-space-2);
1947
1950
  --cirth-form-element-spacing-horizontal: var(--cirth-space-4);
1948
1951
  --cirth-form-label-font-weight: var(--cirth-font-weight);
@@ -2081,7 +2084,7 @@ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
2081
2084
  --cirth-border-radius: var(--cirth-radius-pill);
2082
2085
  }
2083
2086
 
2084
- [role="search"] button, [role="search"] [type="submit"], [role="search"] [type="button"], [role="search"] [role="button"], [role="group"] button, [role="group"] [type="submit"], [role="group"] [type="button"], [role="group"] [role="button"] {
2087
+ [role="search"] button, [role="search"] [type="submit"], [role="search"] [type="button"], [role="search"] [role="button"], [role="group"]:not(fieldset) button, [role="group"]:not(fieldset) [type="submit"], [role="group"]:not(fieldset) [type="button"], [role="group"]:not(fieldset) [role="button"] {
2085
2088
  --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
2086
2089
  }
2087
2090
 
@@ -2166,7 +2169,7 @@ details summary[role="button"]:after {
2166
2169
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2167
2170
  --cirth-switch-background-color: oklch(61.3% .032 264);
2168
2171
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2169
- --cirth-switch-color: oklch(100% 0 0);
2172
+ --cirth-switch-color: var(--cirth-primary-inverse);
2170
2173
  --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2171
2174
  --cirth-range-border-color: oklch(91.7% .006 264);
2172
2175
  --cirth-range-active-border-color: oklch(83% .016 264);
@@ -2274,7 +2277,7 @@ details summary[role="button"]:after {
2274
2277
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2275
2278
  --cirth-switch-background-color: oklch(52.7% .032 264);
2276
2279
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2277
- --cirth-switch-color: oklch(100% 0 0);
2280
+ --cirth-switch-color: var(--cirth-primary-inverse);
2278
2281
  --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2279
2282
  --cirth-range-border-color: oklch(26.7% .011 264);
2280
2283
  --cirth-range-active-border-color: oklch(31% .016 264);
@@ -2382,7 +2385,7 @@ details summary[role="button"]:after {
2382
2385
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2383
2386
  --cirth-switch-background-color: oklch(52.7% .032 264);
2384
2387
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2385
- --cirth-switch-color: oklch(100% 0 0);
2388
+ --cirth-switch-color: var(--cirth-primary-inverse);
2386
2389
  --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2387
2390
  --cirth-range-border-color: oklch(26.7% .011 264);
2388
2391
  --cirth-range-active-border-color: oklch(31% .016 264);