@cirthcss/cirth 0.8.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.
@@ -484,6 +484,10 @@
484
484
  pointer-events: none;
485
485
  }
486
486
 
487
+ .cirth form:invalid :is(button:not([type="button"], [type="reset"]), [type="submit"]) {
488
+ opacity: var(--cirth-opacity-disabled);
489
+ }
490
+
487
491
  .cirth :where(table) {
488
492
  border-collapse: collapse;
489
493
  border-spacing: 0;
@@ -719,52 +723,52 @@
719
723
  opacity: 1;
720
724
  }
721
725
 
722
- .cirth :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid] {
726
+ .cirth :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])) {
723
727
  padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
724
728
  background-position: center right var(--cirth-space-3);
725
729
  background-size: var(--cirth-size-4) auto;
726
730
  background-repeat: no-repeat;
727
731
  }
728
732
 
729
- .cirth :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) {
733
+ .cirth :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) {
730
734
  background-image: var(--cirth-icon-valid);
731
735
  }
732
736
 
733
- .cirth :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) {
737
+ .cirth :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) {
734
738
  background-image: var(--cirth-icon-invalid);
735
739
  }
736
740
 
737
- .cirth :where(input, select, textarea)[aria-invalid="false"] {
741
+ .cirth :where(input, select, textarea):is([aria-invalid="false"], :user-valid:not([aria-invalid])) {
738
742
  --cirth-border-color: var(--cirth-form-element-valid-border-color);
739
743
  }
740
744
 
741
- .cirth :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus) {
745
+ .cirth :where(input, select, textarea):is([aria-invalid="false"], :user-valid:not([aria-invalid])):is(:active, :focus) {
742
746
  --cirth-border-color: var(--cirth-form-element-valid-active-border-color);
743
747
  }
744
748
 
745
- .cirth :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
749
+ .cirth :where(input, select, textarea):is([aria-invalid="false"], :user-valid:not([aria-invalid])):is(:active, :focus):not([type="checkbox"], [type="radio"]) {
746
750
  --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
747
751
  var(--cirth-form-element-valid-focus-color);
748
752
  }
749
753
 
750
- .cirth :where(input, select, textarea)[aria-invalid="true"] {
754
+ .cirth :where(input, select, textarea):is([aria-invalid="true"], :user-invalid:not([aria-invalid])) {
751
755
  --cirth-border-color: var(--cirth-form-element-invalid-border-color);
752
756
  }
753
757
 
754
- .cirth :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus) {
758
+ .cirth :where(input, select, textarea):is([aria-invalid="true"], :user-invalid:not([aria-invalid])):is(:active, :focus) {
755
759
  --cirth-border-color: var(--cirth-form-element-invalid-active-border-color);
756
760
  }
757
761
 
758
- .cirth :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
762
+ .cirth :where(input, select, textarea):is([aria-invalid="true"], :user-invalid:not([aria-invalid])):is(:active, :focus):not([type="checkbox"], [type="radio"]) {
759
763
  --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
760
764
  var(--cirth-form-element-invalid-focus-color);
761
765
  }
762
766
 
763
- [dir="rtl"] .cirth :where(input, select, textarea):not([type="checkbox"], [type="radio"]):is([aria-invalid], [aria-invalid="true"], [aria-invalid="false"]) {
767
+ [dir="rtl"] .cirth :where(input, select, textarea):not([type="checkbox"], [type="radio"]):is([aria-invalid], :user-invalid:not([aria-invalid]), :user-valid:not([aria-invalid])) {
764
768
  background-position: center left var(--cirth-space-3);
765
769
  }
766
770
 
767
- [dir="rtl"] .cirth textarea[aria-invalid] {
771
+ [dir="rtl"] .cirth textarea:is([aria-invalid], :user-invalid:not([aria-invalid]), :user-valid:not([aria-invalid])) {
768
772
  background-position: top left var(--cirth-space-3);
769
773
  }
770
774
 
@@ -799,7 +803,7 @@
799
803
  display: block;
800
804
  }
801
805
 
802
- .cirth textarea[aria-invalid] {
806
+ .cirth textarea:is([aria-invalid], :user-invalid:not([aria-invalid]), :user-valid:not([aria-invalid])) {
803
807
  --cirth-icon-height: calc(var(--cirth-size-4) * var(--cirth-line-height) +
804
808
  var(--cirth-form-element-spacing-vertical) * 2 +
805
809
  var(--cirth-border-width) * 2);
@@ -815,11 +819,11 @@
815
819
  display: block;
816
820
  }
817
821
 
818
- .cirth :where(input, select, textarea, fieldset, .row)[aria-invalid="false"] + small {
822
+ .cirth :where(input, select, textarea, fieldset, .row):is([aria-invalid="false"], :user-valid:not([aria-invalid])) + small {
819
823
  color: var(--cirth-ins-color);
820
824
  }
821
825
 
822
- .cirth :where(input, select, textarea, fieldset, .row)[aria-invalid="true"] + small {
826
+ .cirth :where(input, select, textarea, fieldset, .row):is([aria-invalid="true"], :user-invalid:not([aria-invalid])) + small {
823
827
  color: var(--cirth-del-color);
824
828
  }
825
829
 
@@ -1464,7 +1468,7 @@
1464
1468
  transform: rotate(0) translateX(0);
1465
1469
  }
1466
1470
 
1467
- .cirth [role="search"], .cirth [role="group"] {
1471
+ .cirth [role="search"], .cirth .group {
1468
1472
  width: 100%;
1469
1473
  margin-bottom: var(--cirth-spacing);
1470
1474
  border-radius: var(--cirth-border-radius);
@@ -1476,61 +1480,61 @@
1476
1480
  position: relative;
1477
1481
  }
1478
1482
 
1479
- .cirth [role="search"] > small, .cirth [role="group"] > small {
1483
+ .cirth [role="search"] > small, .cirth .group > small {
1480
1484
  margin-top: calc(var(--cirth-spacing) * .25);
1481
1485
  flex: 0 0 100%;
1482
1486
  order: 1;
1483
1487
  margin-bottom: 0;
1484
1488
  }
1485
1489
 
1486
- .cirth [role="search"] > *, .cirth [role="search"] input:not([type="checkbox"], [type="radio"]), .cirth [role="search"] select, .cirth [role="group"] > *, .cirth [role="group"] input:not([type="checkbox"], [type="radio"]), .cirth [role="group"] select {
1490
+ .cirth [role="search"] > *, .cirth [role="search"] input:not([type="checkbox"], [type="radio"]), .cirth [role="search"] select, .cirth .group > *, .cirth .group input:not([type="checkbox"], [type="radio"]), .cirth .group select {
1487
1491
  flex: auto;
1488
1492
  margin-bottom: 0;
1489
1493
  position: relative;
1490
1494
  }
1491
1495
 
1492
- .cirth [role="search"] > :is(input, select, textarea), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):is(input, select, textarea), .cirth [role="search"] select:is(input, select, textarea), .cirth [role="group"] > :is(input, select, textarea), .cirth [role="group"] input:not([type="checkbox"], [type="radio"]):is(input, select, textarea), .cirth [role="group"] select:is(input, select, textarea) {
1496
+ .cirth [role="search"] > :is(input, select, textarea), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):is(input, select, textarea), .cirth [role="search"] select:is(input, select, textarea), .cirth .group > :is(input, select, textarea), .cirth .group input:not([type="checkbox"], [type="radio"]):is(input, select, textarea), .cirth .group select:is(input, select, textarea) {
1493
1497
  flex: 99;
1494
1498
  }
1495
1499
 
1496
- .cirth [role="search"] > :not(:first-child), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="search"] select:not(:first-child), .cirth [role="group"] > :not(:first-child), .cirth [role="group"] input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="group"] select:not(:first-child) {
1500
+ .cirth [role="search"] > :not(:first-child), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="search"] select:not(:first-child), .cirth .group > :not(:first-child), .cirth .group input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth .group select:not(:first-child) {
1497
1501
  border-start-start-radius: 0;
1498
1502
  border-end-start-radius: 0;
1499
1503
  margin-inline-start: 0;
1500
1504
  }
1501
1505
 
1502
- .cirth [role="search"] > :not(:last-child), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):not(:last-child), .cirth [role="search"] select:not(:last-child), .cirth [role="group"] > :not(:last-child), .cirth [role="group"] input:not([type="checkbox"], [type="radio"]):not(:last-child), .cirth [role="group"] select:not(:last-child) {
1506
+ .cirth [role="search"] > :not(:last-child), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):not(:last-child), .cirth [role="search"] select:not(:last-child), .cirth .group > :not(:last-child), .cirth .group input:not([type="checkbox"], [type="radio"]):not(:last-child), .cirth .group select:not(:last-child) {
1503
1507
  border-start-end-radius: 0;
1504
1508
  border-end-end-radius: 0;
1505
1509
  }
1506
1510
 
1507
- .cirth [role="search"] > :focus, .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):focus, .cirth [role="search"] select:focus, .cirth [role="group"] > :focus, .cirth [role="group"] input:not([type="checkbox"], [type="radio"]):focus, .cirth [role="group"] select:focus {
1511
+ .cirth [role="search"] > :focus, .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):focus, .cirth [role="search"] select:focus, .cirth .group > :focus, .cirth .group input:not([type="checkbox"], [type="radio"]):focus, .cirth .group select:focus {
1508
1512
  z-index: 2;
1509
1513
  }
1510
1514
 
1511
- :is(.cirth [role="search"] > :has( + small:last-child), .cirth [role="group"] > :has( + small:last-child)) {
1515
+ :is(.cirth [role="search"] > :has( + small:last-child), .cirth .group > :has( + small:last-child)) {
1512
1516
  border-start-end-radius: var(--cirth-border-radius);
1513
1517
  border-end-end-radius: var(--cirth-border-radius);
1514
1518
  }
1515
1519
 
1516
- .cirth [role="search"] button:not(:first-child), .cirth [role="search"] [type="submit"]:not(:first-child), .cirth [role="search"] [type="reset"]:not(:first-child), .cirth [role="search"] [type="button"]:not(:first-child), .cirth [role="search"] [role="button"]:not(:first-child), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="search"] select:not(:first-child), .cirth [role="group"] button:not(:first-child), .cirth [role="group"] [type="submit"]:not(:first-child), .cirth [role="group"] [type="reset"]:not(:first-child), .cirth [role="group"] [type="button"]:not(:first-child), .cirth [role="group"] [role="button"]:not(:first-child), .cirth [role="group"] input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="group"] select:not(:first-child) {
1520
+ .cirth [role="search"] button:not(:first-child), .cirth [role="search"] [type="submit"]:not(:first-child), .cirth [role="search"] [type="reset"]:not(:first-child), .cirth [role="search"] [type="button"]:not(:first-child), .cirth [role="search"] [role="button"]:not(:first-child), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="search"] select:not(:first-child), .cirth .group button:not(:first-child), .cirth .group [type="submit"]:not(:first-child), .cirth .group [type="reset"]:not(:first-child), .cirth .group [type="button"]:not(:first-child), .cirth .group [role="button"]:not(:first-child), .cirth .group input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth .group select:not(:first-child) {
1517
1521
  margin-inline-start: calc(var(--cirth-border-width) * -1);
1518
1522
  }
1519
1523
 
1520
- .cirth [role="search"] button, .cirth [role="search"] [type="submit"], .cirth [role="search"] [type="reset"], .cirth [role="search"] [type="button"], .cirth [role="search"] [role="button"], .cirth [role="group"] button, .cirth [role="group"] [type="submit"], .cirth [role="group"] [type="reset"], .cirth [role="group"] [type="button"], .cirth [role="group"] [role="button"] {
1524
+ .cirth [role="search"] button, .cirth [role="search"] [type="submit"], .cirth [role="search"] [type="reset"], .cirth [role="search"] [type="button"], .cirth [role="search"] [role="button"], .cirth .group button, .cirth .group [type="submit"], .cirth .group [type="reset"], .cirth .group [type="button"], .cirth .group [role="button"] {
1521
1525
  width: auto;
1522
1526
  }
1523
1527
 
1524
1528
  @supports selector(:has(*)) {
1525
- :is(.cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus), .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus)) {
1529
+ :is(.cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus), .cirth .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus)) {
1526
1530
  --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1527
1531
  }
1528
1532
 
1529
- :is(.cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]), .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid])) {
1533
+ :is(.cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]), .cirth .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), .cirth .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid])) {
1530
1534
  border-color: #0000;
1531
1535
  }
1532
1536
 
1533
- :is(.cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus), .cirth [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus)) {
1537
+ :is(.cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus), .cirth .group:has(input:not([type="submit"], [type="button"]):focus, select:focus)) {
1534
1538
  --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1535
1539
  }
1536
1540
 
@@ -1562,35 +1566,35 @@
1562
1566
  var(--cirth-primary-hover-border);
1563
1567
  }
1564
1568
 
1565
- .cirth [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1569
+ .cirth .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1566
1570
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1567
1571
  var(--cirth-primary-border);
1568
1572
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1569
1573
  var(--cirth-primary-hover-border);
1570
1574
  }
1571
1575
 
1572
- .cirth [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1576
+ .cirth .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1573
1577
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1574
1578
  var(--cirth-primary-border);
1575
1579
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1576
1580
  var(--cirth-primary-hover-border);
1577
1581
  }
1578
1582
 
1579
- .cirth [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1583
+ .cirth .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1580
1584
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1581
1585
  var(--cirth-primary-border);
1582
1586
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1583
1587
  var(--cirth-primary-hover-border);
1584
1588
  }
1585
1589
 
1586
- .cirth [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1590
+ .cirth .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1587
1591
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1588
1592
  var(--cirth-primary-border);
1589
1593
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1590
1594
  var(--cirth-primary-hover-border);
1591
1595
  }
1592
1596
 
1593
- .cirth [role="search"] button:focus, .cirth [role="search"] [type="submit"]:focus, .cirth [role="search"] [type="reset"]:focus, .cirth [role="search"] [type="button"]:focus, .cirth [role="search"] [role="button"]:focus, .cirth [role="group"] button:focus, .cirth [role="group"] [type="submit"]:focus, .cirth [role="group"] [type="reset"]:focus, .cirth [role="group"] [type="button"]:focus, .cirth [role="group"] [role="button"]:focus {
1597
+ .cirth [role="search"] button:focus, .cirth [role="search"] [type="submit"]:focus, .cirth [role="search"] [type="reset"]:focus, .cirth [role="search"] [type="button"]:focus, .cirth [role="search"] [role="button"]:focus, .cirth .group button:focus, .cirth .group [type="submit"]:focus, .cirth .group [type="reset"]:focus, .cirth .group [type="button"]:focus, .cirth .group [role="button"]:focus {
1594
1598
  box-shadow: none;
1595
1599
  }
1596
1600
  }
@@ -1848,7 +1852,7 @@
1848
1852
  text-decoration: none;
1849
1853
  }
1850
1854
 
1851
- .cirth nav li [role="group"], .cirth nav li [role="search"] {
1855
+ .cirth nav li .group, .cirth nav li [role="search"] {
1852
1856
  width: auto;
1853
1857
  margin-bottom: 0;
1854
1858
  }
@@ -2443,7 +2447,7 @@
2443
2447
  --cirth-border-radius: var(--cirth-radius-pill);
2444
2448
  }
2445
2449
 
2446
- :is(.cirth [role="search"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus), .cirth [role="group"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus)) {
2450
+ :is(.cirth [role="search"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus), .cirth .group:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus)) {
2447
2451
  --cirth-group-box-shadow-focus-with-button: 0
2448
2452
  0
2449
2453
  0
@@ -2451,7 +2455,7 @@
2451
2455
  var(--cirth-secondary-focus);
2452
2456
  }
2453
2457
 
2454
- :is(.cirth [role="search"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus), .cirth [role="group"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus)) {
2458
+ :is(.cirth [role="search"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus), .cirth .group:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus)) {
2455
2459
  --cirth-group-box-shadow-focus-with-button: 0
2456
2460
  0
2457
2461
  0
@@ -2459,7 +2463,7 @@
2459
2463
  var(--cirth-contrast-focus);
2460
2464
  }
2461
2465
 
2462
- .cirth [role="search"] button, .cirth [role="search"] [type="submit"], .cirth [role="search"] [type="button"], .cirth [role="search"] [role="button"], .cirth [role="group"] button, .cirth [role="group"] [type="submit"], .cirth [role="group"] [type="button"], .cirth [role="group"] [role="button"] {
2466
+ .cirth [role="search"] button, .cirth [role="search"] [type="submit"], .cirth [role="search"] [type="button"], .cirth [role="search"] [role="button"], .cirth .group button, .cirth .group [type="submit"], .cirth .group [type="button"], .cirth .group [role="button"] {
2463
2467
  --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
2464
2468
  }
2465
2469
 
@@ -2544,7 +2548,7 @@
2544
2548
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2545
2549
  --cirth-switch-background-color: oklch(61.3% .032 264);
2546
2550
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2547
- --cirth-switch-color: oklch(100% 0 0);
2551
+ --cirth-switch-color: var(--cirth-primary-inverse);
2548
2552
  --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2549
2553
  --cirth-range-border-color: oklch(91.7% .006 264);
2550
2554
  --cirth-range-active-border-color: oklch(83% .016 264);
@@ -2657,7 +2661,7 @@
2657
2661
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2658
2662
  --cirth-switch-background-color: oklch(52.7% .032 264);
2659
2663
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2660
- --cirth-switch-color: oklch(100% 0 0);
2664
+ --cirth-switch-color: var(--cirth-primary-inverse);
2661
2665
  --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2662
2666
  --cirth-range-border-color: oklch(26.7% .011 264);
2663
2667
  --cirth-range-active-border-color: oklch(31% .016 264);
@@ -2774,7 +2778,7 @@
2774
2778
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2775
2779
  --cirth-switch-background-color: oklch(52.7% .032 264);
2776
2780
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2777
- --cirth-switch-color: oklch(100% 0 0);
2781
+ --cirth-switch-color: var(--cirth-primary-inverse);
2778
2782
  --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2779
2783
  --cirth-range-border-color: oklch(26.7% .011 264);
2780
2784
  --cirth-range-active-border-color: oklch(31% .016 264);