@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/dist/cirth.css CHANGED
@@ -44,54 +44,48 @@ section {
44
44
  }
45
45
 
46
46
  .container, .container-fluid {
47
- width: 100%;
48
- padding-inline: var(--cirth-spacing);
49
- margin-inline: auto;
50
- }
51
-
52
- @media (min-width: 576px) {
53
- .container {
54
- max-width: 510px;
55
- padding-inline: 0;
56
- }
57
- }
58
-
59
- @media (min-width: 768px) {
60
- .container {
61
- max-width: 700px;
62
- }
47
+ grid-template-columns: minmax(var(--cirth-spacing), 1fr) minmax(0, 1fr) minmax(var(--cirth-spacing), 1fr);
48
+ display: grid;
63
49
  }
64
50
 
65
- @media (min-width: 1024px) {
66
- .container {
67
- max-width: 950px;
68
- }
51
+ .container > *, .container-fluid > * {
52
+ grid-column: 2;
69
53
  }
70
54
 
71
- @media (min-width: 1280px) {
72
- .container {
73
- max-width: 1200px;
74
- }
55
+ .container {
56
+ grid-template-columns: minmax(var(--cirth-spacing), 1fr) minmax(0, var(--cirth-container-max-width)) minmax(var(--cirth-spacing), 1fr);
75
57
  }
76
58
 
77
- @media (min-width: 1536px) {
78
- .container {
79
- max-width: 1450px;
80
- }
59
+ .breakout {
60
+ grid-column: 1 / -1;
81
61
  }
82
62
 
83
- .grid {
63
+ .row {
84
64
  gap: var(--cirth-grid-row-gap) var(--cirth-grid-column-gap);
85
65
  grid-template-columns: 1fr;
86
66
  display: grid;
87
67
  }
88
68
 
89
69
  @media (min-width: 768px) {
90
- .grid {
70
+ .row {
91
71
  grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
92
72
  }
93
73
  }
94
74
 
75
+ .row > * {
76
+ min-width: 0;
77
+ }
78
+
79
+ .row > :where(button, [type="submit"], [type="reset"], [role="button"], input:not([type="checkbox"], [type="radio"]), select, textarea) {
80
+ margin-bottom: 0;
81
+ }
82
+
83
+ .grid {
84
+ gap: var(--cirth-grid-row-gap) var(--cirth-grid-column-gap);
85
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--cirth-grid-min-column)), 1fr));
86
+ display: grid;
87
+ }
88
+
95
89
  .grid > * {
96
90
  min-width: 0;
97
91
  }
@@ -493,6 +487,10 @@ button:focus-visible, button[aria-current]:not([aria-current="false"]):focus-vis
493
487
  pointer-events: none;
494
488
  }
495
489
 
490
+ form:invalid :is(button:not([type="button"], [type="reset"]), [type="submit"]) {
491
+ opacity: var(--cirth-opacity-disabled);
492
+ }
493
+
496
494
  :where(table) {
497
495
  border-collapse: collapse;
498
496
  border-spacing: 0;
@@ -728,52 +726,52 @@ label[aria-disabled="true"] input[disabled] {
728
726
  opacity: 1;
729
727
  }
730
728
 
731
- :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid] {
729
+ :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])) {
732
730
  padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
733
731
  background-position: center right var(--cirth-space-3);
734
732
  background-size: var(--cirth-size-4) auto;
735
733
  background-repeat: no-repeat;
736
734
  }
737
735
 
738
- :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) {
736
+ :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) {
739
737
  background-image: var(--cirth-icon-valid);
740
738
  }
741
739
 
742
- :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) {
740
+ :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) {
743
741
  background-image: var(--cirth-icon-invalid);
744
742
  }
745
743
 
746
- :where(input, select, textarea)[aria-invalid="false"] {
744
+ :where(input, select, textarea):is([aria-invalid="false"], :user-valid:not([aria-invalid])) {
747
745
  --cirth-border-color: var(--cirth-form-element-valid-border-color);
748
746
  }
749
747
 
750
- :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus) {
748
+ :where(input, select, textarea):is([aria-invalid="false"], :user-valid:not([aria-invalid])):is(:active, :focus) {
751
749
  --cirth-border-color: var(--cirth-form-element-valid-active-border-color);
752
750
  }
753
751
 
754
- :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
752
+ :where(input, select, textarea):is([aria-invalid="false"], :user-valid:not([aria-invalid])):is(:active, :focus):not([type="checkbox"], [type="radio"]) {
755
753
  --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
756
754
  var(--cirth-form-element-valid-focus-color);
757
755
  }
758
756
 
759
- :where(input, select, textarea)[aria-invalid="true"] {
757
+ :where(input, select, textarea):is([aria-invalid="true"], :user-invalid:not([aria-invalid])) {
760
758
  --cirth-border-color: var(--cirth-form-element-invalid-border-color);
761
759
  }
762
760
 
763
- :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus) {
761
+ :where(input, select, textarea):is([aria-invalid="true"], :user-invalid:not([aria-invalid])):is(:active, :focus) {
764
762
  --cirth-border-color: var(--cirth-form-element-invalid-active-border-color);
765
763
  }
766
764
 
767
- :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
765
+ :where(input, select, textarea):is([aria-invalid="true"], :user-invalid:not([aria-invalid])):is(:active, :focus):not([type="checkbox"], [type="radio"]) {
768
766
  --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
769
767
  var(--cirth-form-element-invalid-focus-color);
770
768
  }
771
769
 
772
- [dir="rtl"] :where(input, select, textarea):not([type="checkbox"], [type="radio"]):is([aria-invalid], [aria-invalid="true"], [aria-invalid="false"]) {
770
+ [dir="rtl"] :where(input, select, textarea):not([type="checkbox"], [type="radio"]):is([aria-invalid], :user-invalid:not([aria-invalid]), :user-valid:not([aria-invalid])) {
773
771
  background-position: center left var(--cirth-space-3);
774
772
  }
775
773
 
776
- [dir="rtl"] textarea[aria-invalid] {
774
+ [dir="rtl"] textarea:is([aria-invalid], :user-invalid:not([aria-invalid]), :user-valid:not([aria-invalid])) {
777
775
  background-position: top left var(--cirth-space-3);
778
776
  }
779
777
 
@@ -808,7 +806,7 @@ textarea {
808
806
  display: block;
809
807
  }
810
808
 
811
- textarea[aria-invalid] {
809
+ textarea:is([aria-invalid], :user-invalid:not([aria-invalid]), :user-valid:not([aria-invalid])) {
812
810
  --cirth-icon-height: calc(var(--cirth-size-4) * var(--cirth-line-height) +
813
811
  var(--cirth-form-element-spacing-vertical) * 2 +
814
812
  var(--cirth-border-width) * 2);
@@ -816,7 +814,7 @@ textarea[aria-invalid] {
816
814
  background-size: var(--cirth-size-4) var(--cirth-icon-height);
817
815
  }
818
816
 
819
- :where(input, select, textarea, fieldset, .grid) + small {
817
+ :where(input, select, textarea, fieldset, .row) + small {
820
818
  width: 100%;
821
819
  margin-top: calc(var(--cirth-spacing) * -.75);
822
820
  margin-bottom: var(--cirth-spacing);
@@ -824,11 +822,11 @@ textarea[aria-invalid] {
824
822
  display: block;
825
823
  }
826
824
 
827
- :where(input, select, textarea, fieldset, .grid)[aria-invalid="false"] + small {
825
+ :where(input, select, textarea, fieldset, .row):is([aria-invalid="false"], :user-valid:not([aria-invalid])) + small {
828
826
  color: var(--cirth-ins-color);
829
827
  }
830
828
 
831
- :where(input, select, textarea, fieldset, .grid)[aria-invalid="true"] + small {
829
+ :where(input, select, textarea, fieldset, .row):is([aria-invalid="true"], :user-invalid:not([aria-invalid])) + small {
832
830
  color: var(--cirth-del-color);
833
831
  }
834
832
 
@@ -1473,7 +1471,7 @@ label > details.dropdown {
1473
1471
  transform: rotate(0) translateX(0);
1474
1472
  }
1475
1473
 
1476
- [role="search"], [role="group"] {
1474
+ [role="search"], .group {
1477
1475
  width: 100%;
1478
1476
  margin-bottom: var(--cirth-spacing);
1479
1477
  border-radius: var(--cirth-border-radius);
@@ -1485,61 +1483,61 @@ label > details.dropdown {
1485
1483
  position: relative;
1486
1484
  }
1487
1485
 
1488
- [role="search"] > small, [role="group"] > small {
1486
+ [role="search"] > small, .group > small {
1489
1487
  margin-top: calc(var(--cirth-spacing) * .25);
1490
1488
  flex: 0 0 100%;
1491
1489
  order: 1;
1492
1490
  margin-bottom: 0;
1493
1491
  }
1494
1492
 
1495
- [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 {
1493
+ [role="search"] > *, [role="search"] input:not([type="checkbox"], [type="radio"]), [role="search"] select, .group > *, .group input:not([type="checkbox"], [type="radio"]), .group select {
1496
1494
  flex: auto;
1497
1495
  margin-bottom: 0;
1498
1496
  position: relative;
1499
1497
  }
1500
1498
 
1501
- [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) {
1499
+ [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), .group > :is(input, select, textarea), .group input:not([type="checkbox"], [type="radio"]):is(input, select, textarea), .group select:is(input, select, textarea) {
1502
1500
  flex: 99;
1503
1501
  }
1504
1502
 
1505
- [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) {
1503
+ [role="search"] > :not(:first-child), [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="search"] select:not(:first-child), .group > :not(:first-child), .group input:not([type="checkbox"], [type="radio"]):not(:first-child), .group select:not(:first-child) {
1506
1504
  border-start-start-radius: 0;
1507
1505
  border-end-start-radius: 0;
1508
1506
  margin-inline-start: 0;
1509
1507
  }
1510
1508
 
1511
- [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) {
1509
+ [role="search"] > :not(:last-child), [role="search"] input:not([type="checkbox"], [type="radio"]):not(:last-child), [role="search"] select:not(:last-child), .group > :not(:last-child), .group input:not([type="checkbox"], [type="radio"]):not(:last-child), .group select:not(:last-child) {
1512
1510
  border-start-end-radius: 0;
1513
1511
  border-end-end-radius: 0;
1514
1512
  }
1515
1513
 
1516
- [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 {
1514
+ [role="search"] > :focus, [role="search"] input:not([type="checkbox"], [type="radio"]):focus, [role="search"] select:focus, .group > :focus, .group input:not([type="checkbox"], [type="radio"]):focus, .group select:focus {
1517
1515
  z-index: 2;
1518
1516
  }
1519
1517
 
1520
- :is([role="search"] > :has( + small:last-child), [role="group"] > :has( + small:last-child)) {
1518
+ :is([role="search"] > :has( + small:last-child), .group > :has( + small:last-child)) {
1521
1519
  border-start-end-radius: var(--cirth-border-radius);
1522
1520
  border-end-end-radius: var(--cirth-border-radius);
1523
1521
  }
1524
1522
 
1525
- [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) {
1523
+ [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), .group button:not(:first-child), .group [type="submit"]:not(:first-child), .group [type="reset"]:not(:first-child), .group [type="button"]:not(:first-child), .group [role="button"]:not(:first-child), .group input:not([type="checkbox"], [type="radio"]):not(:first-child), .group select:not(:first-child) {
1526
1524
  margin-inline-start: calc(var(--cirth-border-width) * -1);
1527
1525
  }
1528
1526
 
1529
- [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"] {
1527
+ [role="search"] button, [role="search"] [type="submit"], [role="search"] [type="reset"], [role="search"] [type="button"], [role="search"] [role="button"], .group button, .group [type="submit"], .group [type="reset"], .group [type="button"], .group [role="button"] {
1530
1528
  width: auto;
1531
1529
  }
1532
1530
 
1533
1531
  @supports selector(:has(*)) {
1534
- :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)) {
1532
+ :is([role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus), .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus)) {
1535
1533
  --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1536
1534
  }
1537
1535
 
1538
- :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])) {
1536
+ :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]), .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid])) {
1539
1537
  border-color: #0000;
1540
1538
  }
1541
1539
 
1542
- :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)) {
1540
+ :is([role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus), .group:has(input:not([type="submit"], [type="button"]):focus, select:focus)) {
1543
1541
  --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1544
1542
  }
1545
1543
 
@@ -1571,35 +1569,35 @@ label > details.dropdown {
1571
1569
  var(--cirth-primary-hover-border);
1572
1570
  }
1573
1571
 
1574
- [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1572
+ .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1575
1573
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1576
1574
  var(--cirth-primary-border);
1577
1575
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1578
1576
  var(--cirth-primary-hover-border);
1579
1577
  }
1580
1578
 
1581
- [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1579
+ .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1582
1580
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1583
1581
  var(--cirth-primary-border);
1584
1582
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1585
1583
  var(--cirth-primary-hover-border);
1586
1584
  }
1587
1585
 
1588
- [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1586
+ .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1589
1587
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1590
1588
  var(--cirth-primary-border);
1591
1589
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1592
1590
  var(--cirth-primary-hover-border);
1593
1591
  }
1594
1592
 
1595
- [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1593
+ .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1596
1594
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1597
1595
  var(--cirth-primary-border);
1598
1596
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1599
1597
  var(--cirth-primary-hover-border);
1600
1598
  }
1601
1599
 
1602
- [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 {
1600
+ [role="search"] button:focus, [role="search"] [type="submit"]:focus, [role="search"] [type="reset"]:focus, [role="search"] [type="button"]:focus, [role="search"] [role="button"]:focus, .group button:focus, .group [type="submit"]:focus, .group [type="reset"]:focus, .group [type="button"]:focus, .group [role="button"]:focus {
1603
1601
  box-shadow: none;
1604
1602
  }
1605
1603
  }
@@ -1857,7 +1855,7 @@ nav li :where(a:not([role="button"]), [role="link"]):not(:hover) {
1857
1855
  text-decoration: none;
1858
1856
  }
1859
1857
 
1860
- nav li [role="group"], nav li [role="search"] {
1858
+ nav li .group, nav li [role="search"] {
1861
1859
  width: auto;
1862
1860
  margin-bottom: 0;
1863
1861
  }
@@ -2302,8 +2300,10 @@ progress::-moz-progress-bar {
2302
2300
  --cirth-typography-spacing-vertical: var(--cirth-space-4);
2303
2301
  --cirth-block-spacing-vertical: var(--cirth-spacing);
2304
2302
  --cirth-block-spacing-horizontal: var(--cirth-spacing);
2303
+ --cirth-container-max-width: 60rem;
2305
2304
  --cirth-grid-column-gap: var(--cirth-spacing);
2306
2305
  --cirth-grid-row-gap: var(--cirth-spacing);
2306
+ --cirth-grid-min-column: 12rem;
2307
2307
  --cirth-form-element-spacing-vertical: var(--cirth-space-2);
2308
2308
  --cirth-form-element-spacing-horizontal: var(--cirth-space-4);
2309
2309
  --cirth-form-label-font-weight: var(--cirth-font-weight);
@@ -2450,7 +2450,7 @@ nav details.dropdown summary:focus-visible {
2450
2450
  --cirth-border-radius: var(--cirth-radius-pill);
2451
2451
  }
2452
2452
 
2453
- :is([role="search"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus), [role="group"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus)) {
2453
+ :is([role="search"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus), .group:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus)) {
2454
2454
  --cirth-group-box-shadow-focus-with-button: 0
2455
2455
  0
2456
2456
  0
@@ -2458,7 +2458,7 @@ nav details.dropdown summary:focus-visible {
2458
2458
  var(--cirth-secondary-focus);
2459
2459
  }
2460
2460
 
2461
- :is([role="search"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus), [role="group"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus)) {
2461
+ :is([role="search"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus), .group:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus)) {
2462
2462
  --cirth-group-box-shadow-focus-with-button: 0
2463
2463
  0
2464
2464
  0
@@ -2466,7 +2466,7 @@ nav details.dropdown summary:focus-visible {
2466
2466
  var(--cirth-contrast-focus);
2467
2467
  }
2468
2468
 
2469
- [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"] {
2469
+ [role="search"] button, [role="search"] [type="submit"], [role="search"] [type="button"], [role="search"] [role="button"], .group button, .group [type="submit"], .group [type="button"], .group [role="button"] {
2470
2470
  --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
2471
2471
  }
2472
2472
 
@@ -2551,7 +2551,7 @@ details summary[role="button"]:not(.outline):after {
2551
2551
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2552
2552
  --cirth-switch-background-color: oklch(61.3% .032 264);
2553
2553
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2554
- --cirth-switch-color: oklch(100% 0 0);
2554
+ --cirth-switch-color: var(--cirth-primary-inverse);
2555
2555
  --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2556
2556
  --cirth-range-border-color: oklch(91.7% .006 264);
2557
2557
  --cirth-range-active-border-color: oklch(83% .016 264);
@@ -2664,7 +2664,7 @@ details summary[role="button"]:not(.outline):after {
2664
2664
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2665
2665
  --cirth-switch-background-color: oklch(52.7% .032 264);
2666
2666
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2667
- --cirth-switch-color: oklch(100% 0 0);
2667
+ --cirth-switch-color: var(--cirth-primary-inverse);
2668
2668
  --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2669
2669
  --cirth-range-border-color: oklch(26.7% .011 264);
2670
2670
  --cirth-range-active-border-color: oklch(31% .016 264);
@@ -2781,7 +2781,7 @@ details summary[role="button"]:not(.outline):after {
2781
2781
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2782
2782
  --cirth-switch-background-color: oklch(52.7% .032 264);
2783
2783
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2784
- --cirth-switch-color: oklch(100% 0 0);
2784
+ --cirth-switch-color: var(--cirth-primary-inverse);
2785
2785
  --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2786
2786
  --cirth-range-border-color: oklch(26.7% .011 264);
2787
2787
  --cirth-range-active-border-color: oklch(31% .016 264);