@cirthcss/cirth 0.11.0 → 0.13.0

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.
@@ -225,7 +225,7 @@
225
225
  }
226
226
 
227
227
  .cirth button, .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"] {
228
- -webkit-appearance: button;
228
+ appearance: auto;
229
229
  }
230
230
 
231
231
  .cirth button, .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"], .cirth [role="button"] {
@@ -234,6 +234,7 @@
234
234
  --cirth-color: var(--cirth-primary-inverse);
235
235
  --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
236
236
  max-width: 100%;
237
+ min-block-size: calc(var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
237
238
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
238
239
  border: var(--cirth-border-width) solid var(--cirth-border-color);
239
240
  border-radius: var(--cirth-border-radius);
@@ -258,6 +259,7 @@
258
259
  --cirth-color: var(--cirth-primary-inverse);
259
260
  --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
260
261
  max-width: 100%;
262
+ min-block-size: calc(var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
261
263
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
262
264
  border: var(--cirth-border-width) solid var(--cirth-border-color);
263
265
  border-radius: var(--cirth-border-radius);
@@ -511,7 +513,7 @@
511
513
  }
512
514
 
513
515
  .cirth [type="search"] {
514
- -webkit-appearance: textfield;
516
+ appearance: textfield;
515
517
  outline-offset: -2px;
516
518
  }
517
519
 
@@ -520,7 +522,7 @@
520
522
  }
521
523
 
522
524
  .cirth ::file-selector-button {
523
- -webkit-appearance: button;
525
+ appearance: auto;
524
526
  font: inherit;
525
527
  }
526
528
 
@@ -534,7 +536,11 @@
534
536
  }
535
537
 
536
538
  .cirth input:not([type="checkbox"], [type="radio"], [type="range"]) {
537
- height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
539
+ height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
540
+ }
541
+
542
+ .cirth select, .cirth textarea {
543
+ min-block-size: calc(var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
538
544
  }
539
545
 
540
546
  .cirth fieldset {
@@ -588,6 +594,12 @@
588
594
  --cirth-border-color: var(--cirth-form-element-active-border-color);
589
595
  }
590
596
 
597
+ .cirth input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="range"], [type="file"], [readonly]):hover:not(:active, :focus, [disabled], [aria-invalid]), .cirth :where(select, textarea):not([readonly]):hover:not(:active, :focus, [disabled], [aria-invalid]) {
598
+ --cirth-border-color: color-mix(in oklch,
599
+ var(--cirth-form-element-border-color) 65%,
600
+ var(--cirth-color));
601
+ }
602
+
591
603
  .cirth input:not([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly]):focus, .cirth :where(select, textarea):not([readonly]):focus {
592
604
  --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
593
605
  var(--cirth-form-element-focus-color);
@@ -606,7 +618,7 @@
606
618
  .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], [type="range"]):not(select:focus)) {
607
619
  padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
608
620
  background-position: center right var(--cirth-space-3);
609
- background-size: var(--cirth-size-4) auto;
621
+ background-size: var(--cirth-font-size-md) auto;
610
622
  background-repeat: no-repeat;
611
623
  }
612
624
 
@@ -665,7 +677,7 @@
665
677
  padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
666
678
  background-image: var(--cirth-icon-chevron);
667
679
  background-position: center right var(--cirth-space-3);
668
- background-size: var(--cirth-size-4) auto;
680
+ background-size: var(--cirth-font-size-md) auto;
669
681
  background-repeat: no-repeat;
670
682
  }
671
683
 
@@ -683,12 +695,16 @@
683
695
  display: block;
684
696
  }
685
697
 
698
+ .cirth textarea:not([rows]) {
699
+ min-block-size: calc(4lh + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
700
+ }
701
+
686
702
  .cirth textarea:is([aria-invalid], :user-invalid:not([aria-invalid], [type="range"]):not(select:focus)) {
687
- --cirth-icon-height: calc(var(--cirth-size-4) * var(--cirth-line-height) +
703
+ --cirth-icon-height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) +
688
704
  var(--cirth-form-element-spacing-vertical) * 2 +
689
705
  var(--cirth-border-width) * 2);
690
706
  background-position: top right var(--cirth-space-3);
691
- background-size: var(--cirth-size-4) var(--cirth-icon-height);
707
+ background-size: var(--cirth-font-size-md) var(--cirth-icon-height);
692
708
  }
693
709
 
694
710
  .cirth :where(input, select, textarea, fieldset) + small {
@@ -730,10 +746,6 @@
730
746
  .cirth [type="checkbox"]:checked, .cirth [type="checkbox"]:checked:active, .cirth [type="checkbox"]:checked:focus, .cirth [type="radio"]:checked, .cirth [type="radio"]:checked:active, .cirth [type="radio"]:checked:focus {
731
747
  --cirth-background-color: var(--cirth-primary-background);
732
748
  --cirth-border-color: var(--cirth-primary-border);
733
- background-image: var(--cirth-icon-checkbox);
734
- background-position: center;
735
- background-repeat: no-repeat;
736
- background-size: .9em;
737
749
  }
738
750
 
739
751
  .cirth [type="checkbox"] ~ label, .cirth [type="radio"] ~ label {
@@ -746,13 +758,34 @@
746
758
  margin-inline-end: 1em;
747
759
  }
748
760
 
749
- .cirth [type="checkbox"]:indeterminate {
761
+ .cirth [type="checkbox"]:not([role="switch"]):checked:before, .cirth [type="checkbox"]:not([role="switch"]):indeterminate:before {
762
+ background-color: var(--cirth-primary-inverse);
763
+ content: "";
764
+ width: 100%;
765
+ height: 100%;
766
+ display: block;
767
+ mask-position: center;
768
+ mask-size: .9em;
769
+ mask-repeat: no-repeat;
770
+ }
771
+
772
+ @media (forced-colors: active) {
773
+ .cirth [type="checkbox"]:not([role="switch"]):checked:before, .cirth [type="checkbox"]:not([role="switch"]):indeterminate:before {
774
+ background-color: canvastext;
775
+ }
776
+ }
777
+
778
+ .cirth [type="checkbox"]:not([role="switch"]):checked:before {
779
+ mask-image: var(--cirth-icon-checkbox);
780
+ }
781
+
782
+ .cirth [type="checkbox"]:not([role="switch"]):indeterminate {
750
783
  --cirth-background-color: var(--cirth-primary-background);
751
784
  --cirth-border-color: var(--cirth-primary-border);
752
- background-image: var(--cirth-icon-minus);
753
- background-position: center;
754
- background-repeat: no-repeat;
755
- background-size: .9em;
785
+ }
786
+
787
+ .cirth [type="checkbox"]:not([role="switch"]):indeterminate:before {
788
+ mask-image: var(--cirth-icon-minus);
756
789
  }
757
790
 
758
791
  .cirth [type="radio"] {
@@ -761,7 +794,6 @@
761
794
 
762
795
  .cirth [type="radio"]:checked, .cirth [type="radio"]:checked:active, .cirth [type="radio"]:checked:focus {
763
796
  --cirth-background-color: var(--cirth-primary-inverse);
764
- background-image: none;
765
797
  border-width: .42em;
766
798
  }
767
799
 
@@ -799,7 +831,6 @@
799
831
  .cirth [type="checkbox"][role="switch"]:checked {
800
832
  --cirth-background-color: var(--cirth-switch-checked-background-color);
801
833
  --cirth-border-color: var(--cirth-switch-checked-background-color);
802
- background-image: none;
803
834
  }
804
835
 
805
836
  .cirth [type="checkbox"][role="switch"]:checked:before {
@@ -846,7 +877,7 @@
846
877
 
847
878
  .cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
848
879
  --cirth-icon-position: var(--cirth-space-3);
849
- --cirth-icon-width: var(--cirth-size-4);
880
+ --cirth-icon-width: var(--cirth-font-size-md);
850
881
  min-width: 0;
851
882
  background-image: var(--cirth-icon-date);
852
883
  background-position: center right var(--cirth-icon-position);
@@ -920,6 +951,7 @@
920
951
  }
921
952
 
922
953
  .cirth [type="file"]::file-selector-button {
954
+ min-block-size: 0;
923
955
  padding: calc(var(--cirth-form-element-spacing-vertical) * .5) var(--cirth-form-element-spacing-horizontal);
924
956
  margin-inline-end: calc(var(--cirth-spacing) / 2);
925
957
  }
@@ -1028,7 +1060,7 @@
1028
1060
  }
1029
1061
 
1030
1062
  .cirth details summary {
1031
- line-height: var(--cirth-size-4);
1063
+ line-height: var(--cirth-font-size-md);
1032
1064
  cursor: pointer;
1033
1065
  transition: color var(--cirth-transition);
1034
1066
  list-style-type: none;
@@ -1047,18 +1079,28 @@
1047
1079
  }
1048
1080
 
1049
1081
  .cirth details summary:after {
1050
- width: var(--cirth-size-4);
1051
- height: var(--cirth-size-4);
1082
+ width: var(--cirth-font-size-md);
1083
+ height: var(--cirth-font-size-md);
1052
1084
  float: right;
1053
- background-image: var(--cirth-icon-chevron);
1054
- background-position: 100%;
1055
- background-size: var(--cirth-size-4) auto;
1056
- content: "";
1057
- transition: transform var(--cirth-transition);
1058
- background-repeat: no-repeat;
1085
+ background-color: var(--cirth-muted-color);
1086
+ mask-image: var(--cirth-icon-chevron);
1087
+ mask-position: 100%;
1088
+ mask-size: var(--cirth-font-size-md) auto;
1059
1089
  margin-inline-start: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
1060
1090
  display: block;
1061
1091
  transform: rotate(-90deg);
1092
+ mask-repeat: no-repeat;
1093
+ }
1094
+
1095
+ @media (forced-colors: active) {
1096
+ .cirth details summary:after {
1097
+ background-color: canvastext;
1098
+ }
1099
+ }
1100
+
1101
+ .cirth details summary:after {
1102
+ content: "";
1103
+ transition: transform var(--cirth-transition);
1062
1104
  }
1063
1105
 
1064
1106
  .cirth details summary:focus {
@@ -1081,7 +1123,7 @@
1081
1123
  }
1082
1124
 
1083
1125
  .cirth details summary[role="button"]:after {
1084
- height: calc(var(--cirth-size-4) * var(--cirth-line-height, var(--cirth-line-height-normal)));
1126
+ height: calc(var(--cirth-font-size-md) * var(--cirth-line-height, var(--cirth-line-height-normal)));
1085
1127
  }
1086
1128
 
1087
1129
  .cirth details[open] > summary {
@@ -1179,12 +1221,7 @@
1179
1221
  z-index: 2;
1180
1222
  }
1181
1223
 
1182
- .cirth [role="search"] > :has( + small:last-child) {
1183
- border-start-end-radius: var(--cirth-border-radius);
1184
- border-end-end-radius: var(--cirth-border-radius);
1185
- }
1186
-
1187
- .cirth [role="group"]:not(fieldset) > :has( + small:last-child) {
1224
+ .cirth [role="search"] > :has( + small:last-child), .cirth [role="group"]:not(fieldset) > :has( + small:last-child) {
1188
1225
  border-start-end-radius: var(--cirth-border-radius);
1189
1226
  border-end-end-radius: var(--cirth-border-radius);
1190
1227
  }
@@ -1197,98 +1234,27 @@
1197
1234
  width: auto;
1198
1235
  }
1199
1236
 
1200
- @supports selector(:has(*)) {
1201
- .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
1202
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1203
- }
1204
-
1205
- .cirth [role="group"]:not(fieldset):has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
1206
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1207
- }
1208
-
1209
- .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]) {
1210
- border-color: #0000;
1211
- }
1212
-
1213
- .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]) {
1214
- border-color: #0000;
1215
- }
1216
-
1217
- .cirth [role="group"]:not(fieldset):has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]) {
1218
- border-color: #0000;
1219
- }
1220
-
1221
- .cirth [role="group"]:not(fieldset):has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]) {
1222
- border-color: #0000;
1223
- }
1224
-
1225
- .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) {
1226
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1227
- }
1228
-
1229
- .cirth [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) {
1230
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1231
- }
1232
-
1233
- .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1234
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1235
- var(--cirth-primary-border);
1236
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1237
- var(--cirth-primary-hover-border);
1238
- }
1239
-
1240
- .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1241
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1242
- var(--cirth-primary-border);
1243
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1244
- var(--cirth-primary-hover-border);
1245
- }
1246
-
1247
- .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1248
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1249
- var(--cirth-primary-border);
1250
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1251
- var(--cirth-primary-hover-border);
1252
- }
1253
-
1254
- .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1255
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1256
- var(--cirth-primary-border);
1257
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1258
- var(--cirth-primary-hover-border);
1259
- }
1260
-
1261
- .cirth [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1262
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1263
- var(--cirth-primary-border);
1264
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1265
- var(--cirth-primary-hover-border);
1266
- }
1237
+ .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus), .cirth [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
+ }
1267
1240
 
1268
- .cirth [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1269
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1270
- var(--cirth-primary-border);
1271
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1272
- var(--cirth-primary-hover-border);
1273
- }
1241
+ .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"]:not(fieldset):has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), .cirth [role="group"]:not(fieldset):has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]) {
1242
+ border-color: #0000;
1243
+ }
1274
1244
 
1275
- .cirth [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1276
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1277
- var(--cirth-primary-border);
1278
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1279
- var(--cirth-primary-hover-border);
1280
- }
1245
+ .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus), .cirth [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) {
1246
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1247
+ }
1281
1248
 
1282
- .cirth [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1283
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1284
- var(--cirth-primary-border);
1285
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1286
- var(--cirth-primary-hover-border);
1287
- }
1249
+ .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button, .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"], .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"], .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"], .cirth [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) button, .cirth [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"], .cirth [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"], .cirth [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1250
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1251
+ var(--cirth-primary-border);
1252
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1253
+ var(--cirth-primary-hover-border);
1254
+ }
1288
1255
 
1289
- .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"]:not(fieldset) button:focus, .cirth [role="group"]:not(fieldset) [type="submit"]:focus, .cirth [role="group"]:not(fieldset) [type="reset"]:focus, .cirth [role="group"]:not(fieldset) [type="button"]:focus, .cirth [role="group"]:not(fieldset) [role="button"]:focus {
1290
- box-shadow: none;
1291
- }
1256
+ .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"]:not(fieldset) button:focus, .cirth [role="group"]:not(fieldset) [type="submit"]:focus, .cirth [role="group"]:not(fieldset) [type="reset"]:focus, .cirth [role="group"]:not(fieldset) [type="button"]:focus, .cirth [role="group"]:not(fieldset) [role="button"]:focus {
1257
+ box-shadow: none;
1292
1258
  }
1293
1259
 
1294
1260
  .cirth [role="search"] > :not([hidden], input[type="hidden"]):nth-child(1 of :not([hidden], input[type="hidden"])) {
@@ -1296,12 +1262,7 @@
1296
1262
  border-end-start-radius: var(--cirth-radius-pill);
1297
1263
  }
1298
1264
 
1299
- .cirth [role="search"] > :not([hidden], input[type="hidden"]):nth-last-child(1 of :not([hidden], input[type="hidden"])) {
1300
- border-start-end-radius: var(--cirth-radius-pill);
1301
- border-end-end-radius: var(--cirth-radius-pill);
1302
- }
1303
-
1304
- .cirth [role="search"] > :has( + small:last-child) {
1265
+ .cirth [role="search"] > :not([hidden], input[type="hidden"]):nth-last-child(1 of :not([hidden], input[type="hidden"])), .cirth [role="search"] > :has( + small:last-child) {
1305
1266
  border-start-end-radius: var(--cirth-radius-pill);
1306
1267
  border-end-end-radius: var(--cirth-radius-pill);
1307
1268
  }
@@ -1315,13 +1276,10 @@
1315
1276
  vertical-align: -.125em;
1316
1277
  width: 1em;
1317
1278
  height: 1em;
1318
- -webkit-mask-image: var(--cirth-icon-loading);
1319
1279
  mask-image: var(--cirth-icon-loading);
1320
1280
  background-color: currentColor;
1321
1281
  display: inline-block;
1322
- -webkit-mask-size: 1em;
1323
1282
  mask-size: 1em;
1324
- -webkit-mask-repeat: no-repeat;
1325
1283
  mask-repeat: no-repeat;
1326
1284
  }
1327
1285
 
@@ -1362,7 +1320,7 @@
1362
1320
  .cirth meter {
1363
1321
  appearance: none;
1364
1322
  width: 100%;
1365
- height: var(--cirth-size-2);
1323
+ height: var(--cirth-space-2);
1366
1324
  margin-bottom: calc(var(--cirth-spacing) * .5);
1367
1325
  border: var(--cirth-border-width-1) solid var(--cirth-meter-border-color);
1368
1326
  border-radius: var(--cirth-border-radius);
@@ -1466,7 +1424,7 @@
1466
1424
  }
1467
1425
 
1468
1426
  .cirth dialog > article > header :is(a, button)[rel="prev"] {
1469
- margin: 0;
1427
+ margin: calc(calc((var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-font-size-md)) / 2) * -1);
1470
1428
  float: right;
1471
1429
  margin-inline-start: var(--cirth-spacing);
1472
1430
  padding: 0;
@@ -1485,22 +1443,37 @@
1485
1443
  }
1486
1444
 
1487
1445
  .cirth dialog > article :is(a, button)[rel="prev"] {
1488
- width: var(--cirth-size-4);
1489
- height: var(--cirth-size-4);
1490
- margin-top: calc(var(--cirth-spacing) * -1);
1491
- margin-bottom: var(--cirth-spacing);
1492
- background-image: var(--cirth-icon-close);
1493
- background-position: center;
1494
- background-size: auto var(--cirth-size-4);
1446
+ width: calc(var(--cirth-font-size-md) + calc((var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-font-size-md)) / 2) * 2);
1447
+ height: calc(var(--cirth-font-size-md) + calc((var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-font-size-md)) / 2) * 2);
1448
+ margin-top: calc(var(--cirth-spacing) * -1 - calc((var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-font-size-md)) / 2));
1449
+ margin-right: calc(calc((var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-font-size-md)) / 2) * -1);
1450
+ margin-bottom: calc(var(--cirth-spacing) - calc((var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-font-size-md)) / 2));
1495
1451
  opacity: .5;
1496
1452
  transition: opacity var(--cirth-transition);
1497
1453
  background-color: #0000;
1498
- background-repeat: no-repeat;
1499
1454
  border: none;
1500
1455
  margin-inline-start: auto;
1501
1456
  display: block;
1502
1457
  }
1503
1458
 
1459
+ .cirth dialog > article :is(a, button)[rel="prev"]:before {
1460
+ background-color: var(--cirth-muted-color);
1461
+ content: "";
1462
+ width: 100%;
1463
+ height: 100%;
1464
+ mask-image: var(--cirth-icon-close);
1465
+ mask-position: center;
1466
+ mask-size: auto var(--cirth-font-size-md);
1467
+ display: block;
1468
+ mask-repeat: no-repeat;
1469
+ }
1470
+
1471
+ @media (forced-colors: active) {
1472
+ .cirth dialog > article :is(a, button)[rel="prev"]:before {
1473
+ background-color: canvastext;
1474
+ }
1475
+ }
1476
+
1504
1477
  .cirth dialog > article :is(a, button)[rel="prev"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1505
1478
  opacity: 1;
1506
1479
  }
@@ -1566,6 +1539,7 @@
1566
1539
 
1567
1540
  .cirth nav li button, .cirth nav li [role="button"], .cirth nav li [type="button"], .cirth nav li input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), .cirth nav li select {
1568
1541
  height: auto;
1542
+ min-block-size: var(--cirth-space-6);
1569
1543
  margin-inline: inherit;
1570
1544
  padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
1571
1545
  margin-bottom: 0;
@@ -1635,6 +1609,8 @@
1635
1609
  box-shadow: var(--cirth-popover-box-shadow);
1636
1610
  color: var(--cirth-popover-color);
1637
1611
  transition: opacity var(--cirth-transition), display var(--cirth-transition) allow-discrete, overlay var(--cirth-transition) allow-discrete;
1612
+ margin: auto;
1613
+ inset: 0;
1638
1614
  }
1639
1615
 
1640
1616
  @starting-style {
@@ -1651,7 +1627,7 @@
1651
1627
  vertical-align: baseline;
1652
1628
  appearance: none;
1653
1629
  width: 100%;
1654
- height: var(--cirth-size-2);
1630
+ height: var(--cirth-space-2);
1655
1631
  margin-bottom: calc(var(--cirth-spacing) * .5);
1656
1632
  border: var(--cirth-border-width-1) solid var(--cirth-progress-border-color);
1657
1633
  border-radius: var(--cirth-border-radius);
@@ -1737,27 +1713,23 @@
1737
1713
  }
1738
1714
 
1739
1715
  .cirth {
1740
- --cirth-color-black: #000;
1741
- --cirth-color-white: #fff;
1742
- --cirth-color-transparent: transparent;
1743
- --cirth-color-current: currentColor;
1744
1716
  --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
1745
1717
  --cirth-font-family-sans: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
1746
1718
  "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
1747
1719
  --cirth-font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif;
1748
1720
  --cirth-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
1749
1721
  monospace, var(--cirth-font-family-emoji);
1750
- --cirth-font-family-display: var(--cirth-font-family-serif);
1751
1722
  --cirth-font-size-xs: .75rem;
1752
1723
  --cirth-font-size-sm: .875rem;
1753
1724
  --cirth-font-size-md: 1rem;
1754
1725
  --cirth-font-size-lg: 1.125rem;
1755
1726
  --cirth-font-size-xl: 1.25rem;
1756
- --cirth-font-size-2xl: 1.425rem;
1757
- --cirth-font-size-3xl: 1.6rem;
1758
- --cirth-font-size-4xl: 1.8rem;
1759
- --cirth-font-size-5xl: 2rem;
1760
- --cirth-font-size-6xl: 2.3rem;
1727
+ --cirth-font-size-2xl: 1.5rem;
1728
+ --cirth-font-size-3xl: 1.75rem;
1729
+ --cirth-font-size-4xl: 2rem;
1730
+ --cirth-font-size-5xl: 2.25rem;
1731
+ --cirth-font-size-6xl: 2.75rem;
1732
+ --cirth-font-size-7xl: 3.5rem;
1761
1733
  --cirth-font-weight-light: 300;
1762
1734
  --cirth-font-weight-regular: 400;
1763
1735
  --cirth-font-weight-medium: 500;
@@ -1784,19 +1756,6 @@
1784
1756
  --cirth-space-16: 4rem;
1785
1757
  --cirth-space-20: 5rem;
1786
1758
  --cirth-space-24: 6rem;
1787
- --cirth-size-0: 0;
1788
- --cirth-size-1: .25rem;
1789
- --cirth-size-2: .5rem;
1790
- --cirth-size-3: .75rem;
1791
- --cirth-size-4: 1rem;
1792
- --cirth-size-5: 1.25rem;
1793
- --cirth-size-6: 1.5rem;
1794
- --cirth-size-8: 2rem;
1795
- --cirth-size-10: 2.5rem;
1796
- --cirth-size-12: 3rem;
1797
- --cirth-size-16: 4rem;
1798
- --cirth-size-20: 5rem;
1799
- --cirth-size-24: 6rem;
1800
1759
  --cirth-radius-none: 0;
1801
1760
  --cirth-radius-xs: .125rem;
1802
1761
  --cirth-radius-sm: .25rem;
@@ -1809,9 +1768,6 @@
1809
1768
  --cirth-border-width-1: .0625rem;
1810
1769
  --cirth-border-width-2: .125rem;
1811
1770
  --cirth-border-width-4: .25rem;
1812
- --cirth-outline-width-1: .0625rem;
1813
- --cirth-outline-width-2: .125rem;
1814
- --cirth-outline-width-4: .25rem;
1815
1771
  --cirth-duration-instant: 0s;
1816
1772
  --cirth-duration-fast: .1s;
1817
1773
  --cirth-duration-normal: .2s;
@@ -1822,7 +1778,6 @@
1822
1778
  --cirth-ease-out: cubic-bezier(0, 0, .2, 1);
1823
1779
  --cirth-ease-in-out: cubic-bezier(.4, 0, .2, 1);
1824
1780
  --cirth-opacity-disabled: .5;
1825
- --cirth-opacity-muted: .72;
1826
1781
  --cirth-opacity-overlay: .75;
1827
1782
  --cirth-z-index-dropdown: 1000;
1828
1783
  --cirth-z-index-sticky: 1020;
@@ -1830,6 +1785,7 @@
1830
1785
  --cirth-z-index-modal-backdrop: 1040;
1831
1786
  --cirth-z-index-modal: 1050;
1832
1787
  --cirth-font-family: var(--cirth-font-family-sans);
1788
+ --cirth-font-family-display: var(--cirth-font-family-serif);
1833
1789
  --cirth-line-height: var(--cirth-line-height-normal);
1834
1790
  --cirth-font-weight: var(--cirth-font-weight-regular);
1835
1791
  --cirth-font-size: 100%;
@@ -1841,7 +1797,8 @@
1841
1797
  --cirth-code-border-radius: min(var(--cirth-border-radius),
1842
1798
  var(--cirth-radius-sm));
1843
1799
  --cirth-border-width: var(--cirth-border-width-1);
1844
- --cirth-outline-width: var(--cirth-outline-width-2);
1800
+ --cirth-outline-width: var(--cirth-border-width-2);
1801
+ --cirth-background-color: var(--cirth-canvas);
1845
1802
  --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-out);
1846
1803
  --cirth-spacing: var(--cirth-space-4);
1847
1804
  --cirth-typography-spacing-vertical: var(--cirth-space-4);
@@ -1869,13 +1826,9 @@
1869
1826
  --cirth-nav-link-spacing-vertical: var(--cirth-space-2);
1870
1827
  --cirth-nav-link-spacing-horizontal: var(--cirth-space-2);
1871
1828
  --cirth-nav-breadcrumb-divider: ">";
1872
- --cirth-icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
1873
- --cirth-icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
1874
- --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
1875
- --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
1876
- --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
1877
- --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
1878
- --cirth-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
1829
+ --cirth-icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
1830
+ --cirth-icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
1831
+ --cirth-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
1879
1832
  --cirth-icon-loading: url("data:image/svg+xml,%3Csvg fill='none' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E g %7B animation: rotate 2s linear infinite; transform-origin: center center; %7D circle %7B stroke-dasharray: 75,100; stroke-dashoffset: -5; animation: dash 1.5s ease-in-out infinite; stroke-linecap: round; %7D @keyframes rotate %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D @keyframes dash %7B 0%25 %7B stroke-dasharray: 1,100; stroke-dashoffset: 0; %7D 50%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -17.5; %7D 100%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -62; %7D %7D %3C/style%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='rgb(136, 146, 164)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E");
1880
1833
  }
1881
1834
 
@@ -1897,21 +1850,27 @@
1897
1850
  }
1898
1851
 
1899
1852
  .cirth h1 {
1900
- --cirth-font-size: clamp(2.25rem, 1.7rem + 2.2vw, 3.5rem);
1853
+ --cirth-font-size: clamp(var(--cirth-font-size-5xl),
1854
+ 1.7rem + 2.2vw,
1855
+ var(--cirth-font-size-7xl));
1901
1856
  --cirth-line-height: var(--cirth-line-height-tight);
1902
1857
  --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
1903
1858
  --cirth-typography-spacing-top: var(--cirth-space-12);
1904
1859
  }
1905
1860
 
1906
1861
  .cirth h2 {
1907
- --cirth-font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
1862
+ --cirth-font-size: clamp(var(--cirth-font-size-2xl),
1863
+ 1.3rem + 1vw,
1864
+ var(--cirth-font-size-4xl));
1908
1865
  --cirth-line-height: 1.15;
1909
1866
  --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
1910
1867
  --cirth-typography-spacing-top: var(--cirth-space-12);
1911
1868
  }
1912
1869
 
1913
1870
  .cirth h3 {
1914
- --cirth-font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem);
1871
+ --cirth-font-size: clamp(var(--cirth-font-size-xl),
1872
+ 1.15rem + .5vw,
1873
+ var(--cirth-font-size-2xl));
1915
1874
  --cirth-line-height: 1.2;
1916
1875
  --cirth-letter-spacing: var(--cirth-letter-spacing-snug);
1917
1876
  --cirth-typography-spacing-top: var(--cirth-space-10);
@@ -1959,7 +1918,7 @@
1959
1918
  }
1960
1919
 
1961
1920
  .cirth input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth :where(select, textarea) {
1962
- --cirth-outline-width: var(--cirth-outline-width-1);
1921
+ --cirth-outline-width: var(--cirth-border-width-1);
1963
1922
  --cirth-line-height: var(--cirth-line-height-relaxed);
1964
1923
  }
1965
1924
 
@@ -2005,107 +1964,131 @@
2005
1964
  filter: brightness(0) invert();
2006
1965
  }
2007
1966
 
1967
+ .cirth {
1968
+ --cirth-canvas: light-dark(oklch(97.4% .004 69.35), oklch(20.15% .003 264));
1969
+ --cirth-color: light-dark(oklch(35.3% .021 264), oklch(83% .016 264));
1970
+ --cirth-text-selection-color: light-dark(oklch(65.7% .121 69.35 / .25), oklch(70% .129 69.35 / .1875));
1971
+ --cirth-muted-color: light-dark(oklch(52.7% .032 264), oklch(61.3% .032 264));
1972
+ --cirth-muted-border-color: light-dark(oklch(93.85% .003 264), oklch(26.7% .011 264));
1973
+ --cirth-error: light-dark(oklch(44% .151 29.73), oklch(74.3% .133 29.73));
1974
+ --cirth-success: light-dark(oklch(52.7% .1 160.59), oklch(65.7% .125 160.59));
1975
+ --cirth-warning: light-dark(oklch(48.3% .086 78), oklch(70% .124 78));
1976
+ --cirth-primary: light-dark(oklch(52.7% .097 69.35), oklch(70% .129 69.35));
1977
+ --cirth-secondary: light-dark(oklch(52.7% .032 264), oklch(70% .028 264));
1978
+ --cirth-secondary-underline: light-dark(oklch(52.7% .032 264 / .5), oklch(70% .028 264 / .5));
1979
+ --cirth-secondary-hover: light-dark(oklch(44% .028 264), oklch(78.7% .021 264));
1980
+ --cirth-secondary-hover-background: light-dark(oklch(44% .028 264), oklch(52.7% .032 264));
1981
+ --cirth-secondary-focus: light-dark(oklch(48.3% .03 264 / .7), oklch(70% .028 264 / .7));
1982
+ --cirth-contrast: light-dark(oklch(22.3% .006 264), oklch(91.7% .006 264));
1983
+ --cirth-contrast-background: light-dark(oklch(22.3% .006 264), oklch(96% 0 264));
1984
+ --cirth-contrast-underline: light-dark(oklch(22.3% .006 264 / .5), oklch(91.7% .006 264 / .5));
1985
+ --cirth-contrast-hover: light-dark(oklch(0% 0 0), oklch(100% 0 0));
1986
+ --cirth-contrast-hover-background: light-dark(oklch(0% 0 0), oklch(100% 0 0));
1987
+ --cirth-contrast-focus: light-dark(oklch(48.3% .03 264 / .7), oklch(87.3% .011 264 / .5));
1988
+ --cirth-contrast-inverse: light-dark(oklch(100% 0 0), oklch(0% 0 0));
1989
+ --cirth-link-visited-color: light-dark(oklch(48.3% .03 264), oklch(65.7% .03 264));
1990
+ --cirth-box-shadow: light-dark(.0145rem .029rem .174rem oklch(65.7% .03 264 / .01698), .0335rem .067rem .402rem oklch(65.7% .03 264 / .024), .0625rem .125rem .75rem oklch(65.7% .03 264 / .03), .1125rem .225rem 1.35rem oklch(65.7% .03 264 / .036), .2085rem .417rem 2.502rem oklch(65.7% .03 264 / .04302), .5rem 1rem 6rem oklch(65.7% .03 264 / .06), 0 0 0 .0625rem oklch(65.7% .03 264 / .015),
1991
+ .0145rem .029rem .174rem oklch(9% 0 312 / .01698), .0335rem .067rem .402rem oklch(9% 0 312 / .024), .0625rem .125rem .75rem oklch(9% 0 312 / .03), .1125rem .225rem 1.35rem oklch(9% 0 312 / .036), .2085rem .417rem 2.502rem oklch(9% 0 312 / .04302), .5rem 1rem 6rem oklch(9% 0 312 / .06), 0 0 0 .0625rem oklch(9% 0 312 / .015));
1992
+ --cirth-h1-color: light-dark(oklch(22.3% .006 264), oklch(96% 0 264));
1993
+ --cirth-h2-color: light-dark(oklch(26.7% .011 264), oklch(91.7% .006 264));
1994
+ --cirth-h3-color: light-dark(oklch(31% .016 264), oklch(83% .016 264));
1995
+ --cirth-h4-color: light-dark(oklch(35.3% .021 264), oklch(78.7% .021 264));
1996
+ --cirth-h5-color: light-dark(oklch(39.7% .025 264), oklch(74.3% .025 264));
1997
+ --cirth-h6-color: light-dark(oklch(44% .028 264), oklch(65.7% .03 264));
1998
+ --cirth-mark-color: light-dark(oklch(18% 0 264), oklch(100% 0 0));
1999
+ --cirth-code-background-color: light-dark(oklch(97% 0 288), oklch(23.4% .00725 264));
2000
+ --cirth-code-color: light-dark(oklch(52.7% .032 264), oklch(65.7% .03 264));
2001
+ --cirth-form-element-background-color: light-dark(oklch(99% 0 336), oklch(24.5% .0085 264));
2002
+ --cirth-form-element-selected-background-color: light-dark(oklch(91.7% .006 264), oklch(31% .016 264));
2003
+ --cirth-form-element-border-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
2004
+ --cirth-form-element-color: light-dark(oklch(26.7% .011 264), oklch(91.7% .006 264));
2005
+ --cirth-form-element-active-background-color: light-dark(oklch(100% 0 0), oklch(23.4% .00725 264));
2006
+ --cirth-switch-background-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
2007
+ --cirth-range-border-color: light-dark(oklch(91.7% .006 264), oklch(26.7% .011 264));
2008
+ --cirth-range-active-border-color: light-dark(oklch(83% .016 264), oklch(31% .016 264));
2009
+ --cirth-card-background-color: light-dark(oklch(100% 0 0), oklch(22.3% .006 264));
2010
+ --cirth-card-sectioning-background-color: light-dark(oklch(99% 0 336), oklch(23.4% .00725 264));
2011
+ --cirth-dropdown-background-color: light-dark(oklch(100% 0 0), oklch(22.3% .006 264));
2012
+ --cirth-dropdown-border-color: light-dark(oklch(96% 0 264), oklch(26.7% .011 264));
2013
+ --cirth-dropdown-hover-background-color: light-dark(oklch(96% 0 264), oklch(26.7% .011 264));
2014
+ --cirth-progress-background-color: light-dark(oklch(91.7% .006 264), oklch(26.7% .011 264));
2015
+ --cirth-progress-border-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
2016
+ }
2017
+
2008
2018
  .cirth:where([data-theme="light"]), .cirth :where([data-theme="light"]), .cirth:where(:not([data-theme="dark"])) {
2009
- --lightningcss-light: initial;
2010
- --lightningcss-dark: ;
2011
2019
  color-scheme: light;
2012
- --cirth-background-color: oklch(97.4% .004 69.35);
2013
- --cirth-color: oklch(35.3% .021 264);
2014
- --cirth-text-selection-color: oklch(65.7% .121 69.35 / .25);
2015
- --cirth-muted-color: oklch(52.7% .032 264);
2016
- --cirth-muted-border-color: oklch(93.85% .003 264);
2017
- --cirth-primary: oklch(52.7% .097 69.35);
2018
- --cirth-primary-background: oklch(52.7% .097 69.35);
2020
+ --cirth-error-text: color-mix(in oklch, var(--cirth-error) 80.2%, black);
2021
+ --cirth-error-border: oklch(from var(--cirth-error) calc(l * 1.493) calc(c * 1.298) h);
2022
+ --cirth-error-active: oklch(from var(--cirth-error) calc(l * 1.198) calc(c * 1.199) h);
2023
+ --cirth-error-surface: oklch(from var(--cirth-error) 93% .05 h);
2024
+ --cirth-success-text: color-mix(in oklch, var(--cirth-success) 67%, black);
2025
+ --cirth-success-border: oklch(from var(--cirth-success) calc(l * 1.163) calc(c * 1.17) h);
2026
+ --cirth-success-active: var(--cirth-success);
2027
+ --cirth-success-surface: oklch(from var(--cirth-success) 93% .05 h);
2028
+ --cirth-warning-text: color-mix(in oklch, var(--cirth-warning) 73.1%, black);
2029
+ --cirth-warning-border: oklch(from var(--cirth-warning) calc(l * 1.269) calc(c * 1.267) h);
2030
+ --cirth-warning-active: oklch(from var(--cirth-warning) calc(l * 1.091) calc(c * 1.081) h);
2031
+ --cirth-warning-surface: oklch(from var(--cirth-warning) 93% .05 h);
2032
+ --cirth-primary-background: var(--cirth-primary);
2019
2033
  --cirth-primary-border: var(--cirth-primary-background);
2020
- --cirth-primary-underline: oklch(52.7% .097 69.35 / .5);
2021
- --cirth-primary-hover: oklch(44% .081 69.35);
2022
- --cirth-primary-hover-background: oklch(48.3% .089 69.35);
2034
+ --cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
2035
+ --cirth-primary-hover: color-mix(in oklch, var(--cirth-primary) 83.5%, black);
2036
+ --cirth-primary-hover-background: color-mix(in oklch,
2037
+ var(--cirth-primary) 91.7%,
2038
+ black);
2023
2039
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2024
2040
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
2025
- --cirth-primary-focus: oklch(52.7% .097 69.35 / .75);
2041
+ --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 75%);
2026
2042
  --cirth-primary-inverse: oklch(100% 0 0);
2027
- --cirth-secondary: oklch(52.7% .032 264);
2028
2043
  --cirth-secondary-background: oklch(48.3% .03 264);
2029
2044
  --cirth-secondary-border: var(--cirth-secondary-background);
2030
- --cirth-secondary-underline: oklch(52.7% .032 264 / .5);
2031
- --cirth-secondary-hover: oklch(44% .028 264);
2032
- --cirth-secondary-hover-background: oklch(44% .028 264);
2033
2045
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2034
2046
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2035
- --cirth-secondary-focus: oklch(48.3% .03 264 / .7);
2036
2047
  --cirth-secondary-inverse: oklch(100% 0 0);
2037
- --cirth-contrast: oklch(22.3% .006 264);
2038
- --cirth-contrast-background: oklch(22.3% .006 264);
2039
2048
  --cirth-contrast-border: var(--cirth-contrast-background);
2040
- --cirth-contrast-underline: oklch(22.3% .006 264 / .5);
2041
- --cirth-contrast-hover: oklch(0% 0 0);
2042
- --cirth-contrast-hover-background: oklch(0% 0 0);
2043
2049
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2044
2050
  --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
2045
- --cirth-contrast-focus: oklch(48.3% .03 264 / .7);
2046
- --cirth-contrast-inverse: oklch(100% 0 0);
2047
- --cirth-link-visited-color: oklch(48.3% .03 264);
2048
- --cirth-box-shadow: .0145rem .029rem .174rem oklch(65.7% .03 264 / .01698), .0335rem .067rem .402rem oklch(65.7% .03 264 / .024), .0625rem .125rem .75rem oklch(65.7% .03 264 / .03), .1125rem .225rem 1.35rem oklch(65.7% .03 264 / .036), .2085rem .417rem 2.502rem oklch(65.7% .03 264 / .04302), .5rem 1rem 6rem oklch(65.7% .03 264 / .06), 0 0 0 .0625rem oklch(65.7% .03 264 / .015);
2049
- --cirth-h1-color: oklch(22.3% .006 264);
2050
- --cirth-h2-color: oklch(26.7% .011 264);
2051
- --cirth-h3-color: oklch(31% .016 264);
2052
- --cirth-h4-color: oklch(35.3% .021 264);
2053
- --cirth-h5-color: oklch(39.7% .025 264);
2054
- --cirth-h6-color: oklch(44% .028 264);
2055
- --cirth-mark-background-color: oklch(93% .05 78);
2056
- --cirth-mark-color: oklch(18% 0 264);
2057
- --cirth-ins-color: oklch(35.3% .067 160.59);
2058
- --cirth-del-color: oklch(35.3% .122 29.73);
2051
+ --cirth-mark-background-color: var(--cirth-warning-surface);
2052
+ --cirth-ins-color: var(--cirth-success-text);
2053
+ --cirth-del-color: var(--cirth-error-text);
2059
2054
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2060
2055
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
2061
2056
  --cirth-button-box-shadow: 0 0 0 #0000;
2062
2057
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
2063
2058
  --cirth-table-border-color: var(--cirth-muted-border-color);
2064
2059
  --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2065
- --cirth-code-background-color: oklch(97% 0 288);
2066
- --cirth-code-color: oklch(52.7% .032 264);
2067
2060
  --cirth-code-kbd-background-color: var(--cirth-color);
2068
2061
  --cirth-code-kbd-color: var(--cirth-background-color);
2069
- --cirth-form-element-background-color: oklch(99% 0 336);
2070
- --cirth-form-element-selected-background-color: oklch(91.7% .006 264);
2071
- --cirth-form-element-border-color: oklch(61.3% .032 264);
2072
- --cirth-form-element-color: oklch(26.7% .011 264);
2073
2062
  --cirth-form-element-placeholder-color: var(--cirth-muted-color);
2074
- --cirth-form-element-active-background-color: oklch(100% 0 0);
2075
2063
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
2076
2064
  --cirth-form-element-focus-color: var(--cirth-primary-border);
2077
2065
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2078
- --cirth-form-element-invalid-border-color: oklch(65.7% .196 29.73);
2079
- --cirth-form-element-invalid-active-border-color: oklch(52.7% .181 29.73);
2066
+ --cirth-form-element-invalid-border-color: var(--cirth-error-border);
2067
+ --cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
2080
2068
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2081
- --cirth-form-element-valid-border-color: oklch(61.3% .117 160.59);
2082
- --cirth-form-element-valid-active-border-color: oklch(52.7% .1 160.59);
2069
+ --cirth-form-element-valid-border-color: var(--cirth-success-border);
2070
+ --cirth-form-element-valid-active-border-color: var(--cirth-success-active);
2083
2071
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2084
- --cirth-switch-background-color: oklch(61.3% .032 264);
2072
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2085
2073
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2086
2074
  --cirth-switch-color: var(--cirth-primary-inverse);
2087
- --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2088
- --cirth-range-border-color: oklch(91.7% .006 264);
2089
- --cirth-range-active-border-color: oklch(83% .016 264);
2090
2075
  --cirth-range-thumb-border-color: var(--cirth-background-color);
2091
2076
  --cirth-range-thumb-color: var(--cirth-secondary-background);
2092
2077
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
2093
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
2094
2078
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2095
2079
  --cirth-accordion-close-summary-color: var(--cirth-color);
2096
2080
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2097
- --cirth-card-background-color: oklch(100% 0 0);
2098
2081
  --cirth-card-border-color: var(--cirth-muted-border-color);
2099
2082
  --cirth-card-box-shadow: var(--cirth-box-shadow);
2100
- --cirth-card-sectioning-background-color: oklch(99% 0 336);
2101
- --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2102
2083
  --cirth-modal-overlay-background-color: oklch(93.85% .003 264deg / var(--cirth-opacity-overlay));
2103
- --cirth-meter-optimum-color: oklch(52.7% .1 160.59);
2104
- --cirth-meter-suboptimum-color: oklch(48.3% .086 78);
2105
- --cirth-meter-even-less-good-color: oklch(44% .151 29.73);
2106
- --cirth-progress-background-color: oklch(91.7% .006 264);
2107
- --cirth-progress-border-color: oklch(61.3% .032 264);
2084
+ --cirth-meter-optimum-color: var(--cirth-success);
2085
+ --cirth-meter-suboptimum-color: var(--cirth-warning);
2086
+ --cirth-meter-even-less-good-color: var(--cirth-error);
2108
2087
  --cirth-progress-color: var(--cirth-primary-background);
2088
+ --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(98, 107, 126)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
2089
+ --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(98, 107, 126)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
2090
+ --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(98, 107, 126)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
2091
+ --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(98, 107, 126)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
2109
2092
  --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(40, 124, 87)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2110
2093
  --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(189, 47, 33)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
2111
2094
  }
@@ -2116,106 +2099,81 @@
2116
2099
 
2117
2100
  @media only screen and (prefers-color-scheme: dark) {
2118
2101
  .cirth:where(:not([data-theme])) {
2119
- --lightningcss-light: ;
2120
- --lightningcss-dark: initial;
2121
2102
  color-scheme: dark;
2122
- --cirth-background-color: oklch(20.15% .003 264);
2123
- --cirth-color: oklch(83% .016 264);
2124
- --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2125
- --cirth-muted-color: oklch(61.3% .032 264);
2126
- --cirth-muted-border-color: oklch(26.7% .011 264);
2127
- --cirth-primary: oklch(70% .129 69.35);
2128
- --cirth-primary-background: oklch(52.7% .097 69.35);
2103
+ --cirth-error-text: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
2104
+ --cirth-error-border: oklch(from var(--cirth-error) calc(l * .942) calc(c * 1.226) h);
2105
+ --cirth-error-active: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
2106
+ --cirth-error-surface: oklch(from var(--cirth-error) 35.3% .063 h);
2107
+ --cirth-success-text: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
2108
+ --cirth-success-border: oklch(from var(--cirth-success) calc(l * 1.065) calc(c * 1.064) h);
2109
+ --cirth-success-active: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
2110
+ --cirth-success-surface: oklch(from var(--cirth-success) 35.3% .063 h);
2111
+ --cirth-warning-text: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
2112
+ --cirth-warning-border: var(--cirth-warning);
2113
+ --cirth-warning-active: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
2114
+ --cirth-warning-surface: oklch(from var(--cirth-warning) 35.3% .063 h);
2115
+ --cirth-primary-background: color-mix(in oklch,
2116
+ var(--cirth-primary) 75.2%,
2117
+ black);
2129
2118
  --cirth-primary-border: var(--cirth-primary-background);
2130
- --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2131
- --cirth-primary-hover: oklch(78.7% .146 69.35);
2132
- --cirth-primary-hover-background: oklch(57% .105 69.35);
2119
+ --cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
2120
+ --cirth-primary-hover: oklch(from var(--cirth-primary) calc(l * 1.124) calc(c * 1.132) h);
2121
+ --cirth-primary-hover-background: color-mix(in oklch,
2122
+ var(--cirth-primary) 81.4%,
2123
+ black);
2133
2124
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2134
2125
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
2135
- --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2126
+ --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 70%);
2136
2127
  --cirth-primary-inverse: oklch(100% 0 0);
2137
- --cirth-secondary: oklch(70% .028 264);
2138
2128
  --cirth-secondary-background: oklch(48.3% .03 264);
2139
2129
  --cirth-secondary-border: var(--cirth-secondary-background);
2140
- --cirth-secondary-underline: oklch(70% .028 264 / .5);
2141
- --cirth-secondary-hover: oklch(78.7% .021 264);
2142
- --cirth-secondary-hover-background: oklch(52.7% .032 264);
2143
2130
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2144
2131
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2145
- --cirth-secondary-focus: oklch(70% .028 264 / .7);
2146
2132
  --cirth-secondary-inverse: oklch(100% 0 0);
2147
- --cirth-contrast: oklch(91.7% .006 264);
2148
- --cirth-contrast-background: oklch(96% 0 264);
2149
2133
  --cirth-contrast-border: var(--cirth-contrast-background);
2150
- --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2151
- --cirth-contrast-hover: oklch(100% 0 0);
2152
- --cirth-contrast-hover-background: oklch(100% 0 0);
2153
2134
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2154
2135
  --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2155
- --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2156
- --cirth-contrast-inverse: oklch(0% 0 0);
2157
- --cirth-link-visited-color: oklch(65.7% .03 264);
2158
- --cirth-box-shadow: .0145rem .029rem .174rem oklch(9% 0 312 / .01698), .0335rem .067rem .402rem oklch(9% 0 312 / .024), .0625rem .125rem .75rem oklch(9% 0 312 / .03), .1125rem .225rem 1.35rem oklch(9% 0 312 / .036), .2085rem .417rem 2.502rem oklch(9% 0 312 / .04302), .5rem 1rem 6rem oklch(9% 0 312 / .06), 0 0 0 .0625rem oklch(9% 0 312 / .015);
2159
- --cirth-h1-color: oklch(96% 0 264);
2160
- --cirth-h2-color: oklch(91.7% .006 264);
2161
- --cirth-h3-color: oklch(83% .016 264);
2162
- --cirth-h4-color: oklch(78.7% .021 264);
2163
- --cirth-h5-color: oklch(74.3% .025 264);
2164
- --cirth-h6-color: oklch(65.7% .03 264);
2165
- --cirth-mark-background-color: oklch(35.3% .063 78);
2166
- --cirth-mark-color: oklch(100% 0 0);
2167
- --cirth-ins-color: oklch(78.7% .15 160.59);
2168
- --cirth-del-color: oklch(78.7% .106 29.73);
2136
+ --cirth-mark-background-color: var(--cirth-warning-surface);
2137
+ --cirth-ins-color: var(--cirth-success-text);
2138
+ --cirth-del-color: var(--cirth-error-text);
2169
2139
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2170
2140
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
2171
2141
  --cirth-button-box-shadow: 0 0 0 #0000;
2172
2142
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
2173
2143
  --cirth-table-border-color: var(--cirth-muted-border-color);
2174
2144
  --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2175
- --cirth-code-background-color: oklch(23.4% .00725 264);
2176
- --cirth-code-color: oklch(65.7% .03 264);
2177
2145
  --cirth-code-kbd-background-color: var(--cirth-color);
2178
2146
  --cirth-code-kbd-color: var(--cirth-background-color);
2179
- --cirth-form-element-background-color: oklch(24.5% .0085 264);
2180
- --cirth-form-element-selected-background-color: oklch(31% .016 264);
2181
- --cirth-form-element-border-color: oklch(52.7% .032 264);
2182
- --cirth-form-element-color: oklch(91.7% .006 264);
2183
2147
  --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2184
- --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
2185
2148
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
2186
2149
  --cirth-form-element-focus-color: var(--cirth-primary-border);
2187
2150
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2188
- --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2189
- --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
2151
+ --cirth-form-element-invalid-border-color: var(--cirth-error-border);
2152
+ --cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
2190
2153
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2191
- --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2192
- --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
2154
+ --cirth-form-element-valid-border-color: var(--cirth-success-border);
2155
+ --cirth-form-element-valid-active-border-color: var(--cirth-success-active);
2193
2156
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2194
- --cirth-switch-background-color: oklch(52.7% .032 264);
2157
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2195
2158
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2196
2159
  --cirth-switch-color: var(--cirth-primary-inverse);
2197
- --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2198
- --cirth-range-border-color: oklch(26.7% .011 264);
2199
- --cirth-range-active-border-color: oklch(31% .016 264);
2200
2160
  --cirth-range-thumb-border-color: var(--cirth-background-color);
2201
2161
  --cirth-range-thumb-color: var(--cirth-secondary-background);
2202
2162
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
2203
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
2204
2163
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2205
2164
  --cirth-accordion-close-summary-color: var(--cirth-color);
2206
2165
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2207
- --cirth-card-background-color: oklch(22.3% .006 264);
2208
2166
  --cirth-card-border-color: var(--cirth-card-background-color);
2209
2167
  --cirth-card-box-shadow: var(--cirth-box-shadow);
2210
- --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2211
- --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2212
2168
  --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2213
- --cirth-meter-optimum-color: oklch(65.7% .125 160.59);
2214
- --cirth-meter-suboptimum-color: oklch(70% .124 78);
2215
- --cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
2216
- --cirth-progress-background-color: oklch(26.7% .011 264);
2217
- --cirth-progress-border-color: oklch(52.7% .032 264);
2169
+ --cirth-meter-optimum-color: var(--cirth-success);
2170
+ --cirth-meter-suboptimum-color: var(--cirth-warning);
2171
+ --cirth-meter-even-less-good-color: var(--cirth-error);
2218
2172
  --cirth-progress-color: oklch(61.3% .113 69.35);
2173
+ --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(122, 132, 152)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
2174
+ --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(122, 132, 152)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
2175
+ --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(122, 132, 152)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
2176
+ --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(122, 132, 152)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
2219
2177
  --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(75, 215, 153)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2220
2178
  --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(246, 160, 145)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
2221
2179
  }
@@ -2226,106 +2184,81 @@
2226
2184
  }
2227
2185
 
2228
2186
  .cirth:where([data-theme="dark"]), .cirth :where([data-theme="dark"]) {
2229
- --lightningcss-light: ;
2230
- --lightningcss-dark: initial;
2231
2187
  color-scheme: dark;
2232
- --cirth-background-color: oklch(20.15% .003 264);
2233
- --cirth-color: oklch(83% .016 264);
2234
- --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2235
- --cirth-muted-color: oklch(61.3% .032 264);
2236
- --cirth-muted-border-color: oklch(26.7% .011 264);
2237
- --cirth-primary: oklch(70% .129 69.35);
2238
- --cirth-primary-background: oklch(52.7% .097 69.35);
2188
+ --cirth-error-text: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
2189
+ --cirth-error-border: oklch(from var(--cirth-error) calc(l * .942) calc(c * 1.226) h);
2190
+ --cirth-error-active: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
2191
+ --cirth-error-surface: oklch(from var(--cirth-error) 35.3% .063 h);
2192
+ --cirth-success-text: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
2193
+ --cirth-success-border: oklch(from var(--cirth-success) calc(l * 1.065) calc(c * 1.064) h);
2194
+ --cirth-success-active: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
2195
+ --cirth-success-surface: oklch(from var(--cirth-success) 35.3% .063 h);
2196
+ --cirth-warning-text: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
2197
+ --cirth-warning-border: var(--cirth-warning);
2198
+ --cirth-warning-active: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
2199
+ --cirth-warning-surface: oklch(from var(--cirth-warning) 35.3% .063 h);
2200
+ --cirth-primary-background: color-mix(in oklch,
2201
+ var(--cirth-primary) 75.2%,
2202
+ black);
2239
2203
  --cirth-primary-border: var(--cirth-primary-background);
2240
- --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2241
- --cirth-primary-hover: oklch(78.7% .146 69.35);
2242
- --cirth-primary-hover-background: oklch(57% .105 69.35);
2204
+ --cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
2205
+ --cirth-primary-hover: oklch(from var(--cirth-primary) calc(l * 1.124) calc(c * 1.132) h);
2206
+ --cirth-primary-hover-background: color-mix(in oklch,
2207
+ var(--cirth-primary) 81.4%,
2208
+ black);
2243
2209
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2244
2210
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
2245
- --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2211
+ --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 70%);
2246
2212
  --cirth-primary-inverse: oklch(100% 0 0);
2247
- --cirth-secondary: oklch(70% .028 264);
2248
2213
  --cirth-secondary-background: oklch(48.3% .03 264);
2249
2214
  --cirth-secondary-border: var(--cirth-secondary-background);
2250
- --cirth-secondary-underline: oklch(70% .028 264 / .5);
2251
- --cirth-secondary-hover: oklch(78.7% .021 264);
2252
- --cirth-secondary-hover-background: oklch(52.7% .032 264);
2253
2215
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2254
2216
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2255
- --cirth-secondary-focus: oklch(70% .028 264 / .7);
2256
2217
  --cirth-secondary-inverse: oklch(100% 0 0);
2257
- --cirth-contrast: oklch(91.7% .006 264);
2258
- --cirth-contrast-background: oklch(96% 0 264);
2259
2218
  --cirth-contrast-border: var(--cirth-contrast-background);
2260
- --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2261
- --cirth-contrast-hover: oklch(100% 0 0);
2262
- --cirth-contrast-hover-background: oklch(100% 0 0);
2263
2219
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2264
2220
  --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2265
- --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2266
- --cirth-contrast-inverse: oklch(0% 0 0);
2267
- --cirth-link-visited-color: oklch(65.7% .03 264);
2268
- --cirth-box-shadow: .0145rem .029rem .174rem oklch(9% 0 312 / .01698), .0335rem .067rem .402rem oklch(9% 0 312 / .024), .0625rem .125rem .75rem oklch(9% 0 312 / .03), .1125rem .225rem 1.35rem oklch(9% 0 312 / .036), .2085rem .417rem 2.502rem oklch(9% 0 312 / .04302), .5rem 1rem 6rem oklch(9% 0 312 / .06), 0 0 0 .0625rem oklch(9% 0 312 / .015);
2269
- --cirth-h1-color: oklch(96% 0 264);
2270
- --cirth-h2-color: oklch(91.7% .006 264);
2271
- --cirth-h3-color: oklch(83% .016 264);
2272
- --cirth-h4-color: oklch(78.7% .021 264);
2273
- --cirth-h5-color: oklch(74.3% .025 264);
2274
- --cirth-h6-color: oklch(65.7% .03 264);
2275
- --cirth-mark-background-color: oklch(35.3% .063 78);
2276
- --cirth-mark-color: oklch(100% 0 0);
2277
- --cirth-ins-color: oklch(78.7% .15 160.59);
2278
- --cirth-del-color: oklch(78.7% .106 29.73);
2221
+ --cirth-mark-background-color: var(--cirth-warning-surface);
2222
+ --cirth-ins-color: var(--cirth-success-text);
2223
+ --cirth-del-color: var(--cirth-error-text);
2279
2224
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2280
2225
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
2281
2226
  --cirth-button-box-shadow: 0 0 0 #0000;
2282
2227
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
2283
2228
  --cirth-table-border-color: var(--cirth-muted-border-color);
2284
2229
  --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2285
- --cirth-code-background-color: oklch(23.4% .00725 264);
2286
- --cirth-code-color: oklch(65.7% .03 264);
2287
2230
  --cirth-code-kbd-background-color: var(--cirth-color);
2288
2231
  --cirth-code-kbd-color: var(--cirth-background-color);
2289
- --cirth-form-element-background-color: oklch(24.5% .0085 264);
2290
- --cirth-form-element-selected-background-color: oklch(31% .016 264);
2291
- --cirth-form-element-border-color: oklch(52.7% .032 264);
2292
- --cirth-form-element-color: oklch(91.7% .006 264);
2293
2232
  --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2294
- --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
2295
2233
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
2296
2234
  --cirth-form-element-focus-color: var(--cirth-primary-border);
2297
2235
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2298
- --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2299
- --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
2236
+ --cirth-form-element-invalid-border-color: var(--cirth-error-border);
2237
+ --cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
2300
2238
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2301
- --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2302
- --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
2239
+ --cirth-form-element-valid-border-color: var(--cirth-success-border);
2240
+ --cirth-form-element-valid-active-border-color: var(--cirth-success-active);
2303
2241
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2304
- --cirth-switch-background-color: oklch(52.7% .032 264);
2242
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2305
2243
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2306
2244
  --cirth-switch-color: var(--cirth-primary-inverse);
2307
- --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2308
- --cirth-range-border-color: oklch(26.7% .011 264);
2309
- --cirth-range-active-border-color: oklch(31% .016 264);
2310
2245
  --cirth-range-thumb-border-color: var(--cirth-background-color);
2311
2246
  --cirth-range-thumb-color: var(--cirth-secondary-background);
2312
2247
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
2313
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
2314
2248
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2315
2249
  --cirth-accordion-close-summary-color: var(--cirth-color);
2316
2250
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2317
- --cirth-card-background-color: oklch(22.3% .006 264);
2318
2251
  --cirth-card-border-color: var(--cirth-card-background-color);
2319
2252
  --cirth-card-box-shadow: var(--cirth-box-shadow);
2320
- --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2321
- --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2322
2253
  --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2323
- --cirth-meter-optimum-color: oklch(65.7% .125 160.59);
2324
- --cirth-meter-suboptimum-color: oklch(70% .124 78);
2325
- --cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
2326
- --cirth-progress-background-color: oklch(26.7% .011 264);
2327
- --cirth-progress-border-color: oklch(52.7% .032 264);
2254
+ --cirth-meter-optimum-color: var(--cirth-success);
2255
+ --cirth-meter-suboptimum-color: var(--cirth-warning);
2256
+ --cirth-meter-even-less-good-color: var(--cirth-error);
2328
2257
  --cirth-progress-color: oklch(61.3% .113 69.35);
2258
+ --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(122, 132, 152)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
2259
+ --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(122, 132, 152)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
2260
+ --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(122, 132, 152)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
2261
+ --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(122, 132, 152)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
2329
2262
  --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(75, 215, 153)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2330
2263
  --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(246, 160, 145)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
2331
2264
  }
@@ -2352,6 +2285,10 @@
2352
2285
  --cirth-code-color: oklch(35.3% .021 264);
2353
2286
  --cirth-link-visited-color: oklch(35.3% .021 264);
2354
2287
  --cirth-muted-border-color: oklch(57% .032 264);
2288
+ --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(64, 71, 85)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
2289
+ --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(64, 71, 85)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
2290
+ --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(64, 71, 85)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
2291
+ --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(64, 71, 85)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
2355
2292
  --cirth-form-element-border-color: oklch(39.7% .025 264);
2356
2293
  --cirth-form-element-invalid-border-color: oklch(48.3% .166 29.73);
2357
2294
  --cirth-form-element-valid-border-color: oklch(48.3% .092 160.59);
@@ -2381,6 +2318,10 @@
2381
2318
  --cirth-h5-color: var(--cirth-color);
2382
2319
  --cirth-h6-color: var(--cirth-color);
2383
2320
  --cirth-muted-color: oklch(78.7% .021 264);
2321
+ --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(179, 186, 200)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
2322
+ --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(179, 186, 200)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
2323
+ --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(179, 186, 200)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
2324
+ --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(179, 186, 200)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
2384
2325
  --cirth-secondary: oklch(78.7% .021 264);
2385
2326
  --cirth-code-color: oklch(83% .016 264);
2386
2327
  --cirth-link-visited-color: oklch(78.7% .021 264);
@@ -2391,6 +2332,8 @@
2391
2332
  --cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
2392
2333
  --cirth-primary: oklch(78.7% .146 69.35);
2393
2334
  --cirth-primary-hover: oklch(87.3% .082 69.35);
2335
+ --cirth-primary-background: oklch(44% .081 69.35);
2336
+ --cirth-primary-hover-background: oklch(39.7% .073 69.35);
2394
2337
  --cirth-primary-underline: var(--cirth-primary);
2395
2338
  --cirth-secondary-underline: var(--cirth-secondary);
2396
2339
  --cirth-contrast-underline: var(--cirth-contrast);
@@ -2415,6 +2358,10 @@
2415
2358
  --cirth-h5-color: var(--cirth-color);
2416
2359
  --cirth-h6-color: var(--cirth-color);
2417
2360
  --cirth-muted-color: oklch(78.7% .021 264);
2361
+ --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(179, 186, 200)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
2362
+ --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(179, 186, 200)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
2363
+ --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(179, 186, 200)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
2364
+ --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(179, 186, 200)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
2418
2365
  --cirth-secondary: oklch(78.7% .021 264);
2419
2366
  --cirth-code-color: oklch(83% .016 264);
2420
2367
  --cirth-link-visited-color: oklch(78.7% .021 264);
@@ -2425,6 +2372,8 @@
2425
2372
  --cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
2426
2373
  --cirth-primary: oklch(78.7% .146 69.35);
2427
2374
  --cirth-primary-hover: oklch(87.3% .082 69.35);
2375
+ --cirth-primary-background: oklch(44% .081 69.35);
2376
+ --cirth-primary-hover-background: oklch(39.7% .073 69.35);
2428
2377
  --cirth-primary-underline: var(--cirth-primary);
2429
2378
  --cirth-secondary-underline: var(--cirth-secondary);
2430
2379
  --cirth-contrast-underline: var(--cirth-contrast);
@@ -2438,127 +2387,3 @@
2438
2387
  --cirth-meter-even-less-good-color: oklch(83% .081 29.73);
2439
2388
  }
2440
2389
  }
2441
-
2442
- @media print {
2443
- .cirth {
2444
- --cirth-print-color: oklch(0% 0 0);
2445
- --cirth-print-muted-color: oklch(48.3% .03 264);
2446
- --cirth-print-border-color: oklch(61.3% .032 264);
2447
- color: var(--cirth-print-color);
2448
- --lightningcss-light: initial;
2449
- --lightningcss-dark: ;
2450
- --lightningcss-light: initial;
2451
- --lightningcss-dark: ;
2452
- color-scheme: light;
2453
- --cirth-color: var(--cirth-print-color);
2454
- --cirth-h1-color: var(--cirth-print-color);
2455
- --cirth-h2-color: var(--cirth-print-color);
2456
- --cirth-h3-color: var(--cirth-print-color);
2457
- --cirth-h4-color: var(--cirth-print-color);
2458
- --cirth-h5-color: var(--cirth-print-color);
2459
- --cirth-h6-color: var(--cirth-print-color);
2460
- --cirth-code-color: var(--cirth-print-color);
2461
- --cirth-code-kbd-color: var(--cirth-print-color);
2462
- --cirth-form-element-color: var(--cirth-print-color);
2463
- --cirth-muted-color: var(--cirth-print-muted-color);
2464
- --cirth-form-element-placeholder-color: var(--cirth-print-muted-color);
2465
- --cirth-primary: var(--cirth-print-color);
2466
- --cirth-primary-hover: var(--cirth-print-color);
2467
- --cirth-primary-underline: var(--cirth-print-color);
2468
- --cirth-secondary: var(--cirth-print-color);
2469
- --cirth-secondary-underline: var(--cirth-print-color);
2470
- --cirth-contrast: var(--cirth-print-color);
2471
- --cirth-contrast-underline: var(--cirth-print-color);
2472
- --cirth-link-visited-color: var(--cirth-print-color);
2473
- --cirth-muted-border-color: var(--cirth-print-border-color);
2474
- --cirth-form-element-border-color: var(--cirth-print-border-color);
2475
- --cirth-box-shadow: none;
2476
- --cirth-card-box-shadow: none;
2477
- --cirth-card-background-color: transparent;
2478
- --cirth-card-sectioning-background-color: transparent;
2479
- --cirth-code-background-color: transparent;
2480
- --cirth-code-kbd-background-color: transparent;
2481
- --cirth-form-element-background-color: transparent;
2482
- --cirth-form-element-active-background-color: transparent;
2483
- --cirth-table-row-stripped-background-color: transparent;
2484
- --cirth-modal-overlay-background-color: transparent;
2485
- --cirth-ins-color: oklch(35.3% .067 160.59);
2486
- --cirth-del-color: oklch(35.3% .122 29.73);
2487
- --cirth-meter-optimum-color: oklch(52.7% .1 160.59);
2488
- --cirth-meter-suboptimum-color: oklch(48.3% .086 78);
2489
- --cirth-meter-even-less-good-color: oklch(44% .151 29.73);
2490
- background: none;
2491
- }
2492
-
2493
- .cirth kbd {
2494
- border: var(--cirth-border-width) solid var(--cirth-print-border-color);
2495
- }
2496
-
2497
- .cirth :is(button, [type="submit"], [type="reset"], [type="button"], [role="button"]) {
2498
- border-color: var(--cirth-print-border-color);
2499
- box-shadow: none;
2500
- color: var(--cirth-print-color);
2501
- background: none;
2502
- }
2503
-
2504
- .cirth [type="file"]::file-selector-button {
2505
- border-color: var(--cirth-print-border-color);
2506
- box-shadow: none;
2507
- color: var(--cirth-print-color);
2508
- background: none;
2509
- }
2510
-
2511
- .cirth :is(mark, meter, progress, [type="checkbox"], [type="radio"]) {
2512
- -webkit-print-color-adjust: exact;
2513
- print-color-adjust: exact;
2514
- }
2515
-
2516
- .cirth a[href^="http"]:not([role="button"], nav a):after {
2517
- content: " (" attr(href) ")";
2518
- color: var(--cirth-print-muted-color);
2519
- font-size: var(--cirth-font-size-sm);
2520
- word-break: break-all;
2521
- }
2522
-
2523
- .cirth thead {
2524
- display: table-header-group;
2525
- }
2526
-
2527
- .cirth tfoot {
2528
- display: table-footer-group;
2529
- }
2530
-
2531
- .cirth tr {
2532
- break-inside: avoid;
2533
- }
2534
-
2535
- .cirth pre {
2536
- white-space: pre-wrap;
2537
- overflow: visible;
2538
- }
2539
-
2540
- .cirth dialog {
2541
- backdrop-filter: none;
2542
- min-width: 0;
2543
- min-height: 0;
2544
- position: static;
2545
- }
2546
-
2547
- .cirth dialog > article {
2548
- max-height: none;
2549
- overflow: visible;
2550
- }
2551
-
2552
- .cirth :is(h1, h2, h3, h4, h5, h6) {
2553
- break-after: avoid;
2554
- }
2555
-
2556
- .cirth :is(figure, img) {
2557
- break-inside: avoid;
2558
- }
2559
-
2560
- .cirth :is(blockquote, li, p) {
2561
- orphans: 3;
2562
- widows: 3;
2563
- }
2564
- }