@cirthcss/cirth 0.12.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.
@@ -228,7 +228,7 @@ button {
228
228
  }
229
229
 
230
230
  button, [type="submit"], [type="reset"], [type="button"] {
231
- -webkit-appearance: button;
231
+ appearance: auto;
232
232
  }
233
233
 
234
234
  button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
@@ -237,7 +237,7 @@ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
237
237
  --cirth-color: var(--cirth-primary-inverse);
238
238
  --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
239
239
  max-width: 100%;
240
- min-block-size: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
240
+ 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);
241
241
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
242
242
  border: var(--cirth-border-width) solid var(--cirth-border-color);
243
243
  border-radius: var(--cirth-border-radius);
@@ -262,7 +262,7 @@ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
262
262
  --cirth-color: var(--cirth-primary-inverse);
263
263
  --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
264
264
  max-width: 100%;
265
- min-block-size: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
265
+ 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);
266
266
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
267
267
  border: var(--cirth-border-width) solid var(--cirth-border-color);
268
268
  border-radius: var(--cirth-border-radius);
@@ -516,7 +516,7 @@ legend {
516
516
  }
517
517
 
518
518
  [type="search"] {
519
- -webkit-appearance: textfield;
519
+ appearance: textfield;
520
520
  outline-offset: -2px;
521
521
  }
522
522
 
@@ -525,7 +525,7 @@ legend {
525
525
  }
526
526
 
527
527
  ::file-selector-button {
528
- -webkit-appearance: button;
528
+ appearance: auto;
529
529
  font: inherit;
530
530
  }
531
531
 
@@ -539,11 +539,11 @@ legend {
539
539
  }
540
540
 
541
541
  input:not([type="checkbox"], [type="radio"], [type="range"]) {
542
- height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
542
+ height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
543
543
  }
544
544
 
545
545
  select, textarea {
546
- min-block-size: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
546
+ 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);
547
547
  }
548
548
 
549
549
  fieldset {
@@ -597,6 +597,12 @@ input:not([type="submit"], [type="button"], [type="reset"], [role="switch"], [re
597
597
  --cirth-border-color: var(--cirth-form-element-active-border-color);
598
598
  }
599
599
 
600
+ input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="range"], [type="file"], [readonly]):hover:not(:active, :focus, [disabled], [aria-invalid]), :where(select, textarea):not([readonly]):hover:not(:active, :focus, [disabled], [aria-invalid]) {
601
+ --cirth-border-color: color-mix(in oklch,
602
+ var(--cirth-form-element-border-color) 65%,
603
+ var(--cirth-color));
604
+ }
605
+
600
606
  input:not([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly]):focus, :where(select, textarea):not([readonly]):focus {
601
607
  --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
602
608
  var(--cirth-form-element-focus-color);
@@ -615,7 +621,7 @@ label[aria-disabled="true"] input[disabled] {
615
621
  :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)) {
616
622
  padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
617
623
  background-position: center right var(--cirth-space-3);
618
- background-size: var(--cirth-size-4) auto;
624
+ background-size: var(--cirth-font-size-md) auto;
619
625
  background-repeat: no-repeat;
620
626
  }
621
627
 
@@ -674,7 +680,7 @@ select:not([multiple], [size]) {
674
680
  padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
675
681
  background-image: var(--cirth-icon-chevron);
676
682
  background-position: center right var(--cirth-space-3);
677
- background-size: var(--cirth-size-4) auto;
683
+ background-size: var(--cirth-font-size-md) auto;
678
684
  background-repeat: no-repeat;
679
685
  }
680
686
 
@@ -697,11 +703,11 @@ textarea:not([rows]) {
697
703
  }
698
704
 
699
705
  textarea:is([aria-invalid], :user-invalid:not([aria-invalid], [type="range"]):not(select:focus)) {
700
- --cirth-icon-height: calc(var(--cirth-size-4) * var(--cirth-line-height) +
706
+ --cirth-icon-height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) +
701
707
  var(--cirth-form-element-spacing-vertical) * 2 +
702
708
  var(--cirth-border-width) * 2);
703
709
  background-position: top right var(--cirth-space-3);
704
- background-size: var(--cirth-size-4) var(--cirth-icon-height);
710
+ background-size: var(--cirth-font-size-md) var(--cirth-icon-height);
705
711
  }
706
712
 
707
713
  :where(input, select, textarea, fieldset) + small {
@@ -743,10 +749,6 @@ label:has([type="checkbox"], [type="radio"]) {
743
749
  [type="checkbox"]:checked, [type="checkbox"]:checked:active, [type="checkbox"]:checked:focus, [type="radio"]:checked, [type="radio"]:checked:active, [type="radio"]:checked:focus {
744
750
  --cirth-background-color: var(--cirth-primary-background);
745
751
  --cirth-border-color: var(--cirth-primary-border);
746
- background-image: var(--cirth-icon-checkbox);
747
- background-position: center;
748
- background-repeat: no-repeat;
749
- background-size: .9em;
750
752
  }
751
753
 
752
754
  [type="checkbox"] ~ label, [type="radio"] ~ label {
@@ -759,13 +761,34 @@ label:has([type="checkbox"], [type="radio"]) {
759
761
  margin-inline-end: 1em;
760
762
  }
761
763
 
762
- [type="checkbox"]:indeterminate {
764
+ [type="checkbox"]:not([role="switch"]):checked:before, [type="checkbox"]:not([role="switch"]):indeterminate:before {
765
+ background-color: var(--cirth-primary-inverse);
766
+ content: "";
767
+ width: 100%;
768
+ height: 100%;
769
+ display: block;
770
+ mask-position: center;
771
+ mask-size: .9em;
772
+ mask-repeat: no-repeat;
773
+ }
774
+
775
+ @media (forced-colors: active) {
776
+ [type="checkbox"]:not([role="switch"]):checked:before, [type="checkbox"]:not([role="switch"]):indeterminate:before {
777
+ background-color: canvastext;
778
+ }
779
+ }
780
+
781
+ [type="checkbox"]:not([role="switch"]):checked:before {
782
+ mask-image: var(--cirth-icon-checkbox);
783
+ }
784
+
785
+ [type="checkbox"]:not([role="switch"]):indeterminate {
763
786
  --cirth-background-color: var(--cirth-primary-background);
764
787
  --cirth-border-color: var(--cirth-primary-border);
765
- background-image: var(--cirth-icon-minus);
766
- background-position: center;
767
- background-repeat: no-repeat;
768
- background-size: .9em;
788
+ }
789
+
790
+ [type="checkbox"]:not([role="switch"]):indeterminate:before {
791
+ mask-image: var(--cirth-icon-minus);
769
792
  }
770
793
 
771
794
  [type="radio"] {
@@ -774,7 +797,6 @@ label:has([type="checkbox"], [type="radio"]) {
774
797
 
775
798
  [type="radio"]:checked, [type="radio"]:checked:active, [type="radio"]:checked:focus {
776
799
  --cirth-background-color: var(--cirth-primary-inverse);
777
- background-image: none;
778
800
  border-width: .42em;
779
801
  }
780
802
 
@@ -812,7 +834,6 @@ label:has([type="checkbox"], [type="radio"]) {
812
834
  [type="checkbox"][role="switch"]:checked {
813
835
  --cirth-background-color: var(--cirth-switch-checked-background-color);
814
836
  --cirth-border-color: var(--cirth-switch-checked-background-color);
815
- background-image: none;
816
837
  }
817
838
 
818
839
  [type="checkbox"][role="switch"]:checked:before {
@@ -859,7 +880,7 @@ label:has([type="checkbox"], [type="radio"]) {
859
880
 
860
881
  input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
861
882
  --cirth-icon-position: var(--cirth-space-3);
862
- --cirth-icon-width: var(--cirth-size-4);
883
+ --cirth-icon-width: var(--cirth-font-size-md);
863
884
  min-width: 0;
864
885
  background-image: var(--cirth-icon-date);
865
886
  background-position: center right var(--cirth-icon-position);
@@ -1042,7 +1063,7 @@ details {
1042
1063
  }
1043
1064
 
1044
1065
  details summary {
1045
- line-height: var(--cirth-size-4);
1066
+ line-height: var(--cirth-font-size-md);
1046
1067
  cursor: pointer;
1047
1068
  transition: color var(--cirth-transition);
1048
1069
  list-style-type: none;
@@ -1061,18 +1082,28 @@ details summary::marker {
1061
1082
  }
1062
1083
 
1063
1084
  details summary:after {
1064
- width: var(--cirth-size-4);
1065
- height: var(--cirth-size-4);
1085
+ width: var(--cirth-font-size-md);
1086
+ height: var(--cirth-font-size-md);
1066
1087
  float: right;
1067
- background-image: var(--cirth-icon-chevron);
1068
- background-position: 100%;
1069
- background-size: var(--cirth-size-4) auto;
1070
- content: "";
1071
- transition: transform var(--cirth-transition);
1072
- background-repeat: no-repeat;
1088
+ background-color: var(--cirth-muted-color);
1089
+ mask-image: var(--cirth-icon-chevron);
1090
+ mask-position: 100%;
1091
+ mask-size: var(--cirth-font-size-md) auto;
1073
1092
  margin-inline-start: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
1074
1093
  display: block;
1075
1094
  transform: rotate(-90deg);
1095
+ mask-repeat: no-repeat;
1096
+ }
1097
+
1098
+ @media (forced-colors: active) {
1099
+ details summary:after {
1100
+ background-color: canvastext;
1101
+ }
1102
+ }
1103
+
1104
+ details summary:after {
1105
+ content: "";
1106
+ transition: transform var(--cirth-transition);
1076
1107
  }
1077
1108
 
1078
1109
  details summary:focus {
@@ -1095,7 +1126,7 @@ details summary[role="button"] {
1095
1126
  }
1096
1127
 
1097
1128
  details summary[role="button"]:after {
1098
- height: calc(var(--cirth-size-4) * var(--cirth-line-height, var(--cirth-line-height-normal)));
1129
+ height: calc(var(--cirth-font-size-md) * var(--cirth-line-height, var(--cirth-line-height-normal)));
1099
1130
  }
1100
1131
 
1101
1132
  details[open] > summary {
@@ -1193,12 +1224,7 @@ article > footer {
1193
1224
  z-index: 2;
1194
1225
  }
1195
1226
 
1196
- [role="search"] > :has( + small:last-child) {
1197
- border-start-end-radius: var(--cirth-border-radius);
1198
- border-end-end-radius: var(--cirth-border-radius);
1199
- }
1200
-
1201
- [role="group"]:not(fieldset) > :has( + small:last-child) {
1227
+ [role="search"] > :has( + small:last-child), [role="group"]:not(fieldset) > :has( + small:last-child) {
1202
1228
  border-start-end-radius: var(--cirth-border-radius);
1203
1229
  border-end-end-radius: var(--cirth-border-radius);
1204
1230
  }
@@ -1211,98 +1237,27 @@ article > footer {
1211
1237
  width: auto;
1212
1238
  }
1213
1239
 
1214
- @supports selector(:has(*)) {
1215
- [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
1216
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1217
- }
1218
-
1219
- [role="group"]:not(fieldset):has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
1220
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1221
- }
1222
-
1223
- [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]) {
1224
- border-color: #0000;
1225
- }
1226
-
1227
- [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]) {
1228
- border-color: #0000;
1229
- }
1230
-
1231
- [role="group"]:not(fieldset):has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]) {
1232
- border-color: #0000;
1233
- }
1234
-
1235
- [role="group"]:not(fieldset):has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]) {
1236
- border-color: #0000;
1237
- }
1238
-
1239
- [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) {
1240
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1241
- }
1242
-
1243
- [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) {
1244
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1245
- }
1246
-
1247
- [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) 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
- [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
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
- [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="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
- }
1267
-
1268
- [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
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
- }
1274
-
1275
- [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) 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
- }
1240
+ [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus), [role="group"]:not(fieldset):has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
1241
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1242
+ }
1281
1243
 
1282
- [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
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
- }
1244
+ [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]), [role="group"]:not(fieldset):has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), [role="group"]:not(fieldset):has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]) {
1245
+ border-color: #0000;
1246
+ }
1288
1247
 
1289
- [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1290
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1291
- var(--cirth-primary-border);
1292
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1293
- var(--cirth-primary-hover-border);
1294
- }
1248
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus), [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) {
1249
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1250
+ }
1295
1251
 
1296
- [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1297
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1298
- var(--cirth-primary-border);
1299
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1300
- var(--cirth-primary-hover-border);
1301
- }
1252
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button, [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"], [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"], [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"], [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) button, [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"], [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"], [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1253
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1254
+ var(--cirth-primary-border);
1255
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1256
+ var(--cirth-primary-hover-border);
1257
+ }
1302
1258
 
1303
- [role="search"] button:focus, [role="search"] [type="submit"]:focus, [role="search"] [type="reset"]:focus, [role="search"] [type="button"]:focus, [role="search"] [role="button"]:focus, [role="group"]:not(fieldset) button:focus, [role="group"]:not(fieldset) [type="submit"]:focus, [role="group"]:not(fieldset) [type="reset"]:focus, [role="group"]:not(fieldset) [type="button"]:focus, [role="group"]:not(fieldset) [role="button"]:focus {
1304
- box-shadow: none;
1305
- }
1259
+ [role="search"] button:focus, [role="search"] [type="submit"]:focus, [role="search"] [type="reset"]:focus, [role="search"] [type="button"]:focus, [role="search"] [role="button"]:focus, [role="group"]:not(fieldset) button:focus, [role="group"]:not(fieldset) [type="submit"]:focus, [role="group"]:not(fieldset) [type="reset"]:focus, [role="group"]:not(fieldset) [type="button"]:focus, [role="group"]:not(fieldset) [role="button"]:focus {
1260
+ box-shadow: none;
1306
1261
  }
1307
1262
 
1308
1263
  [role="search"] > :not([hidden], input[type="hidden"]):nth-child(1 of :not([hidden], input[type="hidden"])) {
@@ -1310,12 +1265,7 @@ article > footer {
1310
1265
  border-end-start-radius: var(--cirth-radius-pill);
1311
1266
  }
1312
1267
 
1313
- [role="search"] > :not([hidden], input[type="hidden"]):nth-last-child(1 of :not([hidden], input[type="hidden"])) {
1314
- border-start-end-radius: var(--cirth-radius-pill);
1315
- border-end-end-radius: var(--cirth-radius-pill);
1316
- }
1317
-
1318
- [role="search"] > :has( + small:last-child) {
1268
+ [role="search"] > :not([hidden], input[type="hidden"]):nth-last-child(1 of :not([hidden], input[type="hidden"])), [role="search"] > :has( + small:last-child) {
1319
1269
  border-start-end-radius: var(--cirth-radius-pill);
1320
1270
  border-end-end-radius: var(--cirth-radius-pill);
1321
1271
  }
@@ -1329,13 +1279,10 @@ article > footer {
1329
1279
  vertical-align: -.125em;
1330
1280
  width: 1em;
1331
1281
  height: 1em;
1332
- -webkit-mask-image: var(--cirth-icon-loading);
1333
1282
  mask-image: var(--cirth-icon-loading);
1334
1283
  background-color: currentColor;
1335
1284
  display: inline-block;
1336
- -webkit-mask-size: 1em;
1337
1285
  mask-size: 1em;
1338
- -webkit-mask-repeat: no-repeat;
1339
1286
  mask-repeat: no-repeat;
1340
1287
  }
1341
1288
 
@@ -1376,7 +1323,7 @@ button[aria-busy="true"], [type="submit"][aria-busy="true"], [type="button"][ari
1376
1323
  meter {
1377
1324
  appearance: none;
1378
1325
  width: 100%;
1379
- height: var(--cirth-size-2);
1326
+ height: var(--cirth-space-2);
1380
1327
  margin-bottom: calc(var(--cirth-spacing) * .5);
1381
1328
  border: var(--cirth-border-width-1) solid var(--cirth-meter-border-color);
1382
1329
  border-radius: var(--cirth-border-radius);
@@ -1480,7 +1427,7 @@ dialog > article > header > * {
1480
1427
  }
1481
1428
 
1482
1429
  dialog > article > header :is(a, button)[rel="prev"] {
1483
- margin: calc(calc((var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-size-4)) / 2) * -1);
1430
+ 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);
1484
1431
  float: right;
1485
1432
  margin-inline-start: var(--cirth-spacing);
1486
1433
  padding: 0;
@@ -1499,23 +1446,37 @@ dialog > article > footer button:not(:first-of-type), dialog > article > footer
1499
1446
  }
1500
1447
 
1501
1448
  dialog > article :is(a, button)[rel="prev"] {
1502
- width: calc(var(--cirth-size-4) + calc((var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-size-4)) / 2) * 2);
1503
- height: calc(var(--cirth-size-4) + calc((var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-size-4)) / 2) * 2);
1504
- margin-top: calc(var(--cirth-spacing) * -1 - calc((var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-size-4)) / 2));
1505
- margin-right: calc(calc((var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-size-4)) / 2) * -1);
1506
- margin-bottom: calc(var(--cirth-spacing) - calc((var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-size-4)) / 2));
1507
- background-image: var(--cirth-icon-close);
1508
- background-position: center;
1509
- background-size: auto var(--cirth-size-4);
1449
+ 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);
1450
+ 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);
1451
+ 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));
1452
+ 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);
1453
+ 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));
1510
1454
  opacity: .5;
1511
1455
  transition: opacity var(--cirth-transition);
1512
1456
  background-color: #0000;
1513
- background-repeat: no-repeat;
1514
1457
  border: none;
1515
1458
  margin-inline-start: auto;
1516
1459
  display: block;
1517
1460
  }
1518
1461
 
1462
+ dialog > article :is(a, button)[rel="prev"]:before {
1463
+ background-color: var(--cirth-muted-color);
1464
+ content: "";
1465
+ width: 100%;
1466
+ height: 100%;
1467
+ mask-image: var(--cirth-icon-close);
1468
+ mask-position: center;
1469
+ mask-size: auto var(--cirth-font-size-md);
1470
+ display: block;
1471
+ mask-repeat: no-repeat;
1472
+ }
1473
+
1474
+ @media (forced-colors: active) {
1475
+ dialog > article :is(a, button)[rel="prev"]:before {
1476
+ background-color: canvastext;
1477
+ }
1478
+ }
1479
+
1519
1480
  dialog > article :is(a, button)[rel="prev"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1520
1481
  opacity: 1;
1521
1482
  }
@@ -1585,7 +1546,7 @@ nav li [role="group"]:not(fieldset), nav li [role="search"] {
1585
1546
 
1586
1547
  nav li button, nav li [role="button"], nav li [type="button"], nav li input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), nav li select {
1587
1548
  height: auto;
1588
- min-block-size: var(--cirth-size-6);
1549
+ min-block-size: var(--cirth-space-6);
1589
1550
  margin-inline: inherit;
1590
1551
  padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
1591
1552
  margin-bottom: 0;
@@ -1673,7 +1634,7 @@ progress {
1673
1634
  vertical-align: baseline;
1674
1635
  appearance: none;
1675
1636
  width: 100%;
1676
- height: var(--cirth-size-2);
1637
+ height: var(--cirth-space-2);
1677
1638
  margin-bottom: calc(var(--cirth-spacing) * .5);
1678
1639
  border: var(--cirth-border-width-1) solid var(--cirth-progress-border-color);
1679
1640
  border-radius: var(--cirth-border-radius);
@@ -1759,27 +1720,23 @@ progress::-moz-progress-bar {
1759
1720
  }
1760
1721
 
1761
1722
  :root, :host {
1762
- --cirth-color-black: #000;
1763
- --cirth-color-white: #fff;
1764
- --cirth-color-transparent: transparent;
1765
- --cirth-color-current: currentColor;
1766
1723
  --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
1767
1724
  --cirth-font-family-sans: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
1768
1725
  "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
1769
1726
  --cirth-font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif;
1770
1727
  --cirth-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
1771
1728
  monospace, var(--cirth-font-family-emoji);
1772
- --cirth-font-family-display: var(--cirth-font-family-serif);
1773
1729
  --cirth-font-size-xs: .75rem;
1774
1730
  --cirth-font-size-sm: .875rem;
1775
1731
  --cirth-font-size-md: 1rem;
1776
1732
  --cirth-font-size-lg: 1.125rem;
1777
1733
  --cirth-font-size-xl: 1.25rem;
1778
- --cirth-font-size-2xl: 1.425rem;
1779
- --cirth-font-size-3xl: 1.6rem;
1780
- --cirth-font-size-4xl: 1.8rem;
1781
- --cirth-font-size-5xl: 2rem;
1782
- --cirth-font-size-6xl: 2.3rem;
1734
+ --cirth-font-size-2xl: 1.5rem;
1735
+ --cirth-font-size-3xl: 1.75rem;
1736
+ --cirth-font-size-4xl: 2rem;
1737
+ --cirth-font-size-5xl: 2.25rem;
1738
+ --cirth-font-size-6xl: 2.75rem;
1739
+ --cirth-font-size-7xl: 3.5rem;
1783
1740
  --cirth-font-weight-light: 300;
1784
1741
  --cirth-font-weight-regular: 400;
1785
1742
  --cirth-font-weight-medium: 500;
@@ -1806,19 +1763,6 @@ progress::-moz-progress-bar {
1806
1763
  --cirth-space-16: 4rem;
1807
1764
  --cirth-space-20: 5rem;
1808
1765
  --cirth-space-24: 6rem;
1809
- --cirth-size-0: 0;
1810
- --cirth-size-1: .25rem;
1811
- --cirth-size-2: .5rem;
1812
- --cirth-size-3: .75rem;
1813
- --cirth-size-4: 1rem;
1814
- --cirth-size-5: 1.25rem;
1815
- --cirth-size-6: 1.5rem;
1816
- --cirth-size-8: 2rem;
1817
- --cirth-size-10: 2.5rem;
1818
- --cirth-size-12: 3rem;
1819
- --cirth-size-16: 4rem;
1820
- --cirth-size-20: 5rem;
1821
- --cirth-size-24: 6rem;
1822
1766
  --cirth-radius-none: 0;
1823
1767
  --cirth-radius-xs: .125rem;
1824
1768
  --cirth-radius-sm: .25rem;
@@ -1831,9 +1775,6 @@ progress::-moz-progress-bar {
1831
1775
  --cirth-border-width-1: .0625rem;
1832
1776
  --cirth-border-width-2: .125rem;
1833
1777
  --cirth-border-width-4: .25rem;
1834
- --cirth-outline-width-1: .0625rem;
1835
- --cirth-outline-width-2: .125rem;
1836
- --cirth-outline-width-4: .25rem;
1837
1778
  --cirth-duration-instant: 0s;
1838
1779
  --cirth-duration-fast: .1s;
1839
1780
  --cirth-duration-normal: .2s;
@@ -1844,7 +1785,6 @@ progress::-moz-progress-bar {
1844
1785
  --cirth-ease-out: cubic-bezier(0, 0, .2, 1);
1845
1786
  --cirth-ease-in-out: cubic-bezier(.4, 0, .2, 1);
1846
1787
  --cirth-opacity-disabled: .5;
1847
- --cirth-opacity-muted: .72;
1848
1788
  --cirth-opacity-overlay: .75;
1849
1789
  --cirth-z-index-dropdown: 1000;
1850
1790
  --cirth-z-index-sticky: 1020;
@@ -1852,6 +1792,7 @@ progress::-moz-progress-bar {
1852
1792
  --cirth-z-index-modal-backdrop: 1040;
1853
1793
  --cirth-z-index-modal: 1050;
1854
1794
  --cirth-font-family: var(--cirth-font-family-sans);
1795
+ --cirth-font-family-display: var(--cirth-font-family-serif);
1855
1796
  --cirth-line-height: var(--cirth-line-height-normal);
1856
1797
  --cirth-font-weight: var(--cirth-font-weight-regular);
1857
1798
  --cirth-font-size: 100%;
@@ -1863,7 +1804,8 @@ progress::-moz-progress-bar {
1863
1804
  --cirth-code-border-radius: min(var(--cirth-border-radius),
1864
1805
  var(--cirth-radius-sm));
1865
1806
  --cirth-border-width: var(--cirth-border-width-1);
1866
- --cirth-outline-width: var(--cirth-outline-width-2);
1807
+ --cirth-outline-width: var(--cirth-border-width-2);
1808
+ --cirth-background-color: var(--cirth-canvas);
1867
1809
  --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-out);
1868
1810
  --cirth-spacing: var(--cirth-space-4);
1869
1811
  --cirth-typography-spacing-vertical: var(--cirth-space-4);
@@ -1891,13 +1833,9 @@ progress::-moz-progress-bar {
1891
1833
  --cirth-nav-link-spacing-vertical: var(--cirth-space-2);
1892
1834
  --cirth-nav-link-spacing-horizontal: var(--cirth-space-2);
1893
1835
  --cirth-nav-breadcrumb-divider: ">";
1894
- --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");
1895
- --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");
1896
- --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");
1897
- --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");
1898
- --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");
1899
- --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");
1900
- --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");
1836
+ --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");
1837
+ --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");
1838
+ --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");
1901
1839
  --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");
1902
1840
  }
1903
1841
 
@@ -1919,21 +1857,27 @@ h4, h5, h6 {
1919
1857
  }
1920
1858
 
1921
1859
  h1 {
1922
- --cirth-font-size: clamp(2.25rem, 1.7rem + 2.2vw, 3.5rem);
1860
+ --cirth-font-size: clamp(var(--cirth-font-size-5xl),
1861
+ 1.7rem + 2.2vw,
1862
+ var(--cirth-font-size-7xl));
1923
1863
  --cirth-line-height: var(--cirth-line-height-tight);
1924
1864
  --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
1925
1865
  --cirth-typography-spacing-top: var(--cirth-space-12);
1926
1866
  }
1927
1867
 
1928
1868
  h2 {
1929
- --cirth-font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
1869
+ --cirth-font-size: clamp(var(--cirth-font-size-2xl),
1870
+ 1.3rem + 1vw,
1871
+ var(--cirth-font-size-4xl));
1930
1872
  --cirth-line-height: 1.15;
1931
1873
  --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
1932
1874
  --cirth-typography-spacing-top: var(--cirth-space-12);
1933
1875
  }
1934
1876
 
1935
1877
  h3 {
1936
- --cirth-font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem);
1878
+ --cirth-font-size: clamp(var(--cirth-font-size-xl),
1879
+ 1.15rem + .5vw,
1880
+ var(--cirth-font-size-2xl));
1937
1881
  --cirth-line-height: 1.2;
1938
1882
  --cirth-letter-spacing: var(--cirth-letter-spacing-snug);
1939
1883
  --cirth-typography-spacing-top: var(--cirth-space-10);
@@ -1981,7 +1925,7 @@ kbd {
1981
1925
  }
1982
1926
 
1983
1927
  input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :where(select, textarea) {
1984
- --cirth-outline-width: var(--cirth-outline-width-1);
1928
+ --cirth-outline-width: var(--cirth-border-width-1);
1985
1929
  --cirth-line-height: var(--cirth-line-height-relaxed);
1986
1930
  }
1987
1931
 
@@ -2027,107 +1971,131 @@ details summary[role="button"]:after {
2027
1971
  filter: brightness(0) invert();
2028
1972
  }
2029
1973
 
1974
+ :root, :host {
1975
+ --cirth-canvas: light-dark(oklch(97.4% .004 69.35), oklch(20.15% .003 264));
1976
+ --cirth-color: light-dark(oklch(35.3% .021 264), oklch(83% .016 264));
1977
+ --cirth-text-selection-color: light-dark(oklch(65.7% .121 69.35 / .25), oklch(70% .129 69.35 / .1875));
1978
+ --cirth-muted-color: light-dark(oklch(52.7% .032 264), oklch(61.3% .032 264));
1979
+ --cirth-muted-border-color: light-dark(oklch(93.85% .003 264), oklch(26.7% .011 264));
1980
+ --cirth-error: light-dark(oklch(44% .151 29.73), oklch(74.3% .133 29.73));
1981
+ --cirth-success: light-dark(oklch(52.7% .1 160.59), oklch(65.7% .125 160.59));
1982
+ --cirth-warning: light-dark(oklch(48.3% .086 78), oklch(70% .124 78));
1983
+ --cirth-primary: light-dark(oklch(52.7% .097 69.35), oklch(70% .129 69.35));
1984
+ --cirth-secondary: light-dark(oklch(52.7% .032 264), oklch(70% .028 264));
1985
+ --cirth-secondary-underline: light-dark(oklch(52.7% .032 264 / .5), oklch(70% .028 264 / .5));
1986
+ --cirth-secondary-hover: light-dark(oklch(44% .028 264), oklch(78.7% .021 264));
1987
+ --cirth-secondary-hover-background: light-dark(oklch(44% .028 264), oklch(52.7% .032 264));
1988
+ --cirth-secondary-focus: light-dark(oklch(48.3% .03 264 / .7), oklch(70% .028 264 / .7));
1989
+ --cirth-contrast: light-dark(oklch(22.3% .006 264), oklch(91.7% .006 264));
1990
+ --cirth-contrast-background: light-dark(oklch(22.3% .006 264), oklch(96% 0 264));
1991
+ --cirth-contrast-underline: light-dark(oklch(22.3% .006 264 / .5), oklch(91.7% .006 264 / .5));
1992
+ --cirth-contrast-hover: light-dark(oklch(0% 0 0), oklch(100% 0 0));
1993
+ --cirth-contrast-hover-background: light-dark(oklch(0% 0 0), oklch(100% 0 0));
1994
+ --cirth-contrast-focus: light-dark(oklch(48.3% .03 264 / .7), oklch(87.3% .011 264 / .5));
1995
+ --cirth-contrast-inverse: light-dark(oklch(100% 0 0), oklch(0% 0 0));
1996
+ --cirth-link-visited-color: light-dark(oklch(48.3% .03 264), oklch(65.7% .03 264));
1997
+ --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),
1998
+ .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));
1999
+ --cirth-h1-color: light-dark(oklch(22.3% .006 264), oklch(96% 0 264));
2000
+ --cirth-h2-color: light-dark(oklch(26.7% .011 264), oklch(91.7% .006 264));
2001
+ --cirth-h3-color: light-dark(oklch(31% .016 264), oklch(83% .016 264));
2002
+ --cirth-h4-color: light-dark(oklch(35.3% .021 264), oklch(78.7% .021 264));
2003
+ --cirth-h5-color: light-dark(oklch(39.7% .025 264), oklch(74.3% .025 264));
2004
+ --cirth-h6-color: light-dark(oklch(44% .028 264), oklch(65.7% .03 264));
2005
+ --cirth-mark-color: light-dark(oklch(18% 0 264), oklch(100% 0 0));
2006
+ --cirth-code-background-color: light-dark(oklch(97% 0 288), oklch(23.4% .00725 264));
2007
+ --cirth-code-color: light-dark(oklch(52.7% .032 264), oklch(65.7% .03 264));
2008
+ --cirth-form-element-background-color: light-dark(oklch(99% 0 336), oklch(24.5% .0085 264));
2009
+ --cirth-form-element-selected-background-color: light-dark(oklch(91.7% .006 264), oklch(31% .016 264));
2010
+ --cirth-form-element-border-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
2011
+ --cirth-form-element-color: light-dark(oklch(26.7% .011 264), oklch(91.7% .006 264));
2012
+ --cirth-form-element-active-background-color: light-dark(oklch(100% 0 0), oklch(23.4% .00725 264));
2013
+ --cirth-switch-background-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
2014
+ --cirth-range-border-color: light-dark(oklch(91.7% .006 264), oklch(26.7% .011 264));
2015
+ --cirth-range-active-border-color: light-dark(oklch(83% .016 264), oklch(31% .016 264));
2016
+ --cirth-card-background-color: light-dark(oklch(100% 0 0), oklch(22.3% .006 264));
2017
+ --cirth-card-sectioning-background-color: light-dark(oklch(99% 0 336), oklch(23.4% .00725 264));
2018
+ --cirth-dropdown-background-color: light-dark(oklch(100% 0 0), oklch(22.3% .006 264));
2019
+ --cirth-dropdown-border-color: light-dark(oklch(96% 0 264), oklch(26.7% .011 264));
2020
+ --cirth-dropdown-hover-background-color: light-dark(oklch(96% 0 264), oklch(26.7% .011 264));
2021
+ --cirth-progress-background-color: light-dark(oklch(91.7% .006 264), oklch(26.7% .011 264));
2022
+ --cirth-progress-border-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
2023
+ }
2024
+
2030
2025
  :where([data-theme="light"]), :root:where(:not([data-theme="dark"])), :host(:where(:not([data-theme="dark"]))) {
2031
- --lightningcss-light: initial;
2032
- --lightningcss-dark: ;
2033
2026
  color-scheme: light;
2034
- --cirth-background-color: oklch(97.4% .004 69.35);
2035
- --cirth-color: oklch(35.3% .021 264);
2036
- --cirth-text-selection-color: oklch(65.7% .121 69.35 / .25);
2037
- --cirth-muted-color: oklch(52.7% .032 264);
2038
- --cirth-muted-border-color: oklch(93.85% .003 264);
2039
- --cirth-primary: oklch(52.7% .097 69.35);
2040
- --cirth-primary-background: oklch(52.7% .097 69.35);
2027
+ --cirth-error-text: color-mix(in oklch, var(--cirth-error) 80.2%, black);
2028
+ --cirth-error-border: oklch(from var(--cirth-error) calc(l * 1.493) calc(c * 1.298) h);
2029
+ --cirth-error-active: oklch(from var(--cirth-error) calc(l * 1.198) calc(c * 1.199) h);
2030
+ --cirth-error-surface: oklch(from var(--cirth-error) 93% .05 h);
2031
+ --cirth-success-text: color-mix(in oklch, var(--cirth-success) 67%, black);
2032
+ --cirth-success-border: oklch(from var(--cirth-success) calc(l * 1.163) calc(c * 1.17) h);
2033
+ --cirth-success-active: var(--cirth-success);
2034
+ --cirth-success-surface: oklch(from var(--cirth-success) 93% .05 h);
2035
+ --cirth-warning-text: color-mix(in oklch, var(--cirth-warning) 73.1%, black);
2036
+ --cirth-warning-border: oklch(from var(--cirth-warning) calc(l * 1.269) calc(c * 1.267) h);
2037
+ --cirth-warning-active: oklch(from var(--cirth-warning) calc(l * 1.091) calc(c * 1.081) h);
2038
+ --cirth-warning-surface: oklch(from var(--cirth-warning) 93% .05 h);
2039
+ --cirth-primary-background: var(--cirth-primary);
2041
2040
  --cirth-primary-border: var(--cirth-primary-background);
2042
- --cirth-primary-underline: oklch(52.7% .097 69.35 / .5);
2043
- --cirth-primary-hover: oklch(44% .081 69.35);
2044
- --cirth-primary-hover-background: oklch(48.3% .089 69.35);
2041
+ --cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
2042
+ --cirth-primary-hover: color-mix(in oklch, var(--cirth-primary) 83.5%, black);
2043
+ --cirth-primary-hover-background: color-mix(in oklch,
2044
+ var(--cirth-primary) 91.7%,
2045
+ black);
2045
2046
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2046
2047
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
2047
- --cirth-primary-focus: oklch(52.7% .097 69.35 / .75);
2048
+ --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 75%);
2048
2049
  --cirth-primary-inverse: oklch(100% 0 0);
2049
- --cirth-secondary: oklch(52.7% .032 264);
2050
2050
  --cirth-secondary-background: oklch(48.3% .03 264);
2051
2051
  --cirth-secondary-border: var(--cirth-secondary-background);
2052
- --cirth-secondary-underline: oklch(52.7% .032 264 / .5);
2053
- --cirth-secondary-hover: oklch(44% .028 264);
2054
- --cirth-secondary-hover-background: oklch(44% .028 264);
2055
2052
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2056
2053
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2057
- --cirth-secondary-focus: oklch(48.3% .03 264 / .7);
2058
2054
  --cirth-secondary-inverse: oklch(100% 0 0);
2059
- --cirth-contrast: oklch(22.3% .006 264);
2060
- --cirth-contrast-background: oklch(22.3% .006 264);
2061
2055
  --cirth-contrast-border: var(--cirth-contrast-background);
2062
- --cirth-contrast-underline: oklch(22.3% .006 264 / .5);
2063
- --cirth-contrast-hover: oklch(0% 0 0);
2064
- --cirth-contrast-hover-background: oklch(0% 0 0);
2065
2056
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2066
2057
  --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
2067
- --cirth-contrast-focus: oklch(48.3% .03 264 / .7);
2068
- --cirth-contrast-inverse: oklch(100% 0 0);
2069
- --cirth-link-visited-color: oklch(48.3% .03 264);
2070
- --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);
2071
- --cirth-h1-color: oklch(22.3% .006 264);
2072
- --cirth-h2-color: oklch(26.7% .011 264);
2073
- --cirth-h3-color: oklch(31% .016 264);
2074
- --cirth-h4-color: oklch(35.3% .021 264);
2075
- --cirth-h5-color: oklch(39.7% .025 264);
2076
- --cirth-h6-color: oklch(44% .028 264);
2077
- --cirth-mark-background-color: oklch(93% .05 78);
2078
- --cirth-mark-color: oklch(18% 0 264);
2079
- --cirth-ins-color: oklch(35.3% .067 160.59);
2080
- --cirth-del-color: oklch(35.3% .122 29.73);
2058
+ --cirth-mark-background-color: var(--cirth-warning-surface);
2059
+ --cirth-ins-color: var(--cirth-success-text);
2060
+ --cirth-del-color: var(--cirth-error-text);
2081
2061
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2082
2062
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
2083
2063
  --cirth-button-box-shadow: 0 0 0 #0000;
2084
2064
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
2085
2065
  --cirth-table-border-color: var(--cirth-muted-border-color);
2086
2066
  --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2087
- --cirth-code-background-color: oklch(97% 0 288);
2088
- --cirth-code-color: oklch(52.7% .032 264);
2089
2067
  --cirth-code-kbd-background-color: var(--cirth-color);
2090
2068
  --cirth-code-kbd-color: var(--cirth-background-color);
2091
- --cirth-form-element-background-color: oklch(99% 0 336);
2092
- --cirth-form-element-selected-background-color: oklch(91.7% .006 264);
2093
- --cirth-form-element-border-color: oklch(61.3% .032 264);
2094
- --cirth-form-element-color: oklch(26.7% .011 264);
2095
2069
  --cirth-form-element-placeholder-color: var(--cirth-muted-color);
2096
- --cirth-form-element-active-background-color: oklch(100% 0 0);
2097
2070
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
2098
2071
  --cirth-form-element-focus-color: var(--cirth-primary-border);
2099
2072
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2100
- --cirth-form-element-invalid-border-color: oklch(65.7% .196 29.73);
2101
- --cirth-form-element-invalid-active-border-color: oklch(52.7% .181 29.73);
2073
+ --cirth-form-element-invalid-border-color: var(--cirth-error-border);
2074
+ --cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
2102
2075
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2103
- --cirth-form-element-valid-border-color: oklch(61.3% .117 160.59);
2104
- --cirth-form-element-valid-active-border-color: oklch(52.7% .1 160.59);
2076
+ --cirth-form-element-valid-border-color: var(--cirth-success-border);
2077
+ --cirth-form-element-valid-active-border-color: var(--cirth-success-active);
2105
2078
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2106
- --cirth-switch-background-color: oklch(61.3% .032 264);
2079
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2107
2080
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2108
2081
  --cirth-switch-color: var(--cirth-primary-inverse);
2109
- --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2110
- --cirth-range-border-color: oklch(91.7% .006 264);
2111
- --cirth-range-active-border-color: oklch(83% .016 264);
2112
2082
  --cirth-range-thumb-border-color: var(--cirth-background-color);
2113
2083
  --cirth-range-thumb-color: var(--cirth-secondary-background);
2114
2084
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
2115
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
2116
2085
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2117
2086
  --cirth-accordion-close-summary-color: var(--cirth-color);
2118
2087
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2119
- --cirth-card-background-color: oklch(100% 0 0);
2120
2088
  --cirth-card-border-color: var(--cirth-muted-border-color);
2121
2089
  --cirth-card-box-shadow: var(--cirth-box-shadow);
2122
- --cirth-card-sectioning-background-color: oklch(99% 0 336);
2123
- --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2124
2090
  --cirth-modal-overlay-background-color: oklch(93.85% .003 264deg / var(--cirth-opacity-overlay));
2125
- --cirth-meter-optimum-color: oklch(52.7% .1 160.59);
2126
- --cirth-meter-suboptimum-color: oklch(48.3% .086 78);
2127
- --cirth-meter-even-less-good-color: oklch(44% .151 29.73);
2128
- --cirth-progress-background-color: oklch(91.7% .006 264);
2129
- --cirth-progress-border-color: oklch(61.3% .032 264);
2091
+ --cirth-meter-optimum-color: var(--cirth-success);
2092
+ --cirth-meter-suboptimum-color: var(--cirth-warning);
2093
+ --cirth-meter-even-less-good-color: var(--cirth-error);
2130
2094
  --cirth-progress-color: var(--cirth-primary-background);
2095
+ --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");
2096
+ --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");
2097
+ --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");
2098
+ --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");
2131
2099
  --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");
2132
2100
  --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");
2133
2101
  }
@@ -2138,106 +2106,81 @@ details summary[role="button"]:after {
2138
2106
 
2139
2107
  @media only screen and (prefers-color-scheme: dark) {
2140
2108
  :root:where(:not([data-theme])), :host(:where(:not([data-theme]))) {
2141
- --lightningcss-light: ;
2142
- --lightningcss-dark: initial;
2143
2109
  color-scheme: dark;
2144
- --cirth-background-color: oklch(20.15% .003 264);
2145
- --cirth-color: oklch(83% .016 264);
2146
- --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2147
- --cirth-muted-color: oklch(61.3% .032 264);
2148
- --cirth-muted-border-color: oklch(26.7% .011 264);
2149
- --cirth-primary: oklch(70% .129 69.35);
2150
- --cirth-primary-background: oklch(52.7% .097 69.35);
2110
+ --cirth-error-text: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
2111
+ --cirth-error-border: oklch(from var(--cirth-error) calc(l * .942) calc(c * 1.226) h);
2112
+ --cirth-error-active: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
2113
+ --cirth-error-surface: oklch(from var(--cirth-error) 35.3% .063 h);
2114
+ --cirth-success-text: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
2115
+ --cirth-success-border: oklch(from var(--cirth-success) calc(l * 1.065) calc(c * 1.064) h);
2116
+ --cirth-success-active: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
2117
+ --cirth-success-surface: oklch(from var(--cirth-success) 35.3% .063 h);
2118
+ --cirth-warning-text: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
2119
+ --cirth-warning-border: var(--cirth-warning);
2120
+ --cirth-warning-active: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
2121
+ --cirth-warning-surface: oklch(from var(--cirth-warning) 35.3% .063 h);
2122
+ --cirth-primary-background: color-mix(in oklch,
2123
+ var(--cirth-primary) 75.2%,
2124
+ black);
2151
2125
  --cirth-primary-border: var(--cirth-primary-background);
2152
- --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2153
- --cirth-primary-hover: oklch(78.7% .146 69.35);
2154
- --cirth-primary-hover-background: oklch(57% .105 69.35);
2126
+ --cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
2127
+ --cirth-primary-hover: oklch(from var(--cirth-primary) calc(l * 1.124) calc(c * 1.132) h);
2128
+ --cirth-primary-hover-background: color-mix(in oklch,
2129
+ var(--cirth-primary) 81.4%,
2130
+ black);
2155
2131
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2156
2132
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
2157
- --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2133
+ --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 70%);
2158
2134
  --cirth-primary-inverse: oklch(100% 0 0);
2159
- --cirth-secondary: oklch(70% .028 264);
2160
2135
  --cirth-secondary-background: oklch(48.3% .03 264);
2161
2136
  --cirth-secondary-border: var(--cirth-secondary-background);
2162
- --cirth-secondary-underline: oklch(70% .028 264 / .5);
2163
- --cirth-secondary-hover: oklch(78.7% .021 264);
2164
- --cirth-secondary-hover-background: oklch(52.7% .032 264);
2165
2137
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2166
2138
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2167
- --cirth-secondary-focus: oklch(70% .028 264 / .7);
2168
2139
  --cirth-secondary-inverse: oklch(100% 0 0);
2169
- --cirth-contrast: oklch(91.7% .006 264);
2170
- --cirth-contrast-background: oklch(96% 0 264);
2171
2140
  --cirth-contrast-border: var(--cirth-contrast-background);
2172
- --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2173
- --cirth-contrast-hover: oklch(100% 0 0);
2174
- --cirth-contrast-hover-background: oklch(100% 0 0);
2175
2141
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2176
2142
  --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2177
- --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2178
- --cirth-contrast-inverse: oklch(0% 0 0);
2179
- --cirth-link-visited-color: oklch(65.7% .03 264);
2180
- --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);
2181
- --cirth-h1-color: oklch(96% 0 264);
2182
- --cirth-h2-color: oklch(91.7% .006 264);
2183
- --cirth-h3-color: oklch(83% .016 264);
2184
- --cirth-h4-color: oklch(78.7% .021 264);
2185
- --cirth-h5-color: oklch(74.3% .025 264);
2186
- --cirth-h6-color: oklch(65.7% .03 264);
2187
- --cirth-mark-background-color: oklch(35.3% .063 78);
2188
- --cirth-mark-color: oklch(100% 0 0);
2189
- --cirth-ins-color: oklch(78.7% .15 160.59);
2190
- --cirth-del-color: oklch(78.7% .106 29.73);
2143
+ --cirth-mark-background-color: var(--cirth-warning-surface);
2144
+ --cirth-ins-color: var(--cirth-success-text);
2145
+ --cirth-del-color: var(--cirth-error-text);
2191
2146
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2192
2147
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
2193
2148
  --cirth-button-box-shadow: 0 0 0 #0000;
2194
2149
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
2195
2150
  --cirth-table-border-color: var(--cirth-muted-border-color);
2196
2151
  --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2197
- --cirth-code-background-color: oklch(23.4% .00725 264);
2198
- --cirth-code-color: oklch(65.7% .03 264);
2199
2152
  --cirth-code-kbd-background-color: var(--cirth-color);
2200
2153
  --cirth-code-kbd-color: var(--cirth-background-color);
2201
- --cirth-form-element-background-color: oklch(24.5% .0085 264);
2202
- --cirth-form-element-selected-background-color: oklch(31% .016 264);
2203
- --cirth-form-element-border-color: oklch(52.7% .032 264);
2204
- --cirth-form-element-color: oklch(91.7% .006 264);
2205
2154
  --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2206
- --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
2207
2155
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
2208
2156
  --cirth-form-element-focus-color: var(--cirth-primary-border);
2209
2157
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2210
- --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2211
- --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
2158
+ --cirth-form-element-invalid-border-color: var(--cirth-error-border);
2159
+ --cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
2212
2160
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2213
- --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2214
- --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
2161
+ --cirth-form-element-valid-border-color: var(--cirth-success-border);
2162
+ --cirth-form-element-valid-active-border-color: var(--cirth-success-active);
2215
2163
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2216
- --cirth-switch-background-color: oklch(52.7% .032 264);
2164
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2217
2165
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2218
2166
  --cirth-switch-color: var(--cirth-primary-inverse);
2219
- --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2220
- --cirth-range-border-color: oklch(26.7% .011 264);
2221
- --cirth-range-active-border-color: oklch(31% .016 264);
2222
2167
  --cirth-range-thumb-border-color: var(--cirth-background-color);
2223
2168
  --cirth-range-thumb-color: var(--cirth-secondary-background);
2224
2169
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
2225
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
2226
2170
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2227
2171
  --cirth-accordion-close-summary-color: var(--cirth-color);
2228
2172
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2229
- --cirth-card-background-color: oklch(22.3% .006 264);
2230
2173
  --cirth-card-border-color: var(--cirth-card-background-color);
2231
2174
  --cirth-card-box-shadow: var(--cirth-box-shadow);
2232
- --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2233
- --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2234
2175
  --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2235
- --cirth-meter-optimum-color: oklch(65.7% .125 160.59);
2236
- --cirth-meter-suboptimum-color: oklch(70% .124 78);
2237
- --cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
2238
- --cirth-progress-background-color: oklch(26.7% .011 264);
2239
- --cirth-progress-border-color: oklch(52.7% .032 264);
2176
+ --cirth-meter-optimum-color: var(--cirth-success);
2177
+ --cirth-meter-suboptimum-color: var(--cirth-warning);
2178
+ --cirth-meter-even-less-good-color: var(--cirth-error);
2240
2179
  --cirth-progress-color: oklch(61.3% .113 69.35);
2180
+ --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");
2181
+ --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");
2182
+ --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");
2183
+ --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");
2241
2184
  --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");
2242
2185
  --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");
2243
2186
  }
@@ -2248,106 +2191,81 @@ details summary[role="button"]:after {
2248
2191
  }
2249
2192
 
2250
2193
  :where([data-theme="dark"]) {
2251
- --lightningcss-light: ;
2252
- --lightningcss-dark: initial;
2253
2194
  color-scheme: dark;
2254
- --cirth-background-color: oklch(20.15% .003 264);
2255
- --cirth-color: oklch(83% .016 264);
2256
- --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2257
- --cirth-muted-color: oklch(61.3% .032 264);
2258
- --cirth-muted-border-color: oklch(26.7% .011 264);
2259
- --cirth-primary: oklch(70% .129 69.35);
2260
- --cirth-primary-background: oklch(52.7% .097 69.35);
2195
+ --cirth-error-text: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
2196
+ --cirth-error-border: oklch(from var(--cirth-error) calc(l * .942) calc(c * 1.226) h);
2197
+ --cirth-error-active: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
2198
+ --cirth-error-surface: oklch(from var(--cirth-error) 35.3% .063 h);
2199
+ --cirth-success-text: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
2200
+ --cirth-success-border: oklch(from var(--cirth-success) calc(l * 1.065) calc(c * 1.064) h);
2201
+ --cirth-success-active: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
2202
+ --cirth-success-surface: oklch(from var(--cirth-success) 35.3% .063 h);
2203
+ --cirth-warning-text: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
2204
+ --cirth-warning-border: var(--cirth-warning);
2205
+ --cirth-warning-active: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
2206
+ --cirth-warning-surface: oklch(from var(--cirth-warning) 35.3% .063 h);
2207
+ --cirth-primary-background: color-mix(in oklch,
2208
+ var(--cirth-primary) 75.2%,
2209
+ black);
2261
2210
  --cirth-primary-border: var(--cirth-primary-background);
2262
- --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2263
- --cirth-primary-hover: oklch(78.7% .146 69.35);
2264
- --cirth-primary-hover-background: oklch(57% .105 69.35);
2211
+ --cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
2212
+ --cirth-primary-hover: oklch(from var(--cirth-primary) calc(l * 1.124) calc(c * 1.132) h);
2213
+ --cirth-primary-hover-background: color-mix(in oklch,
2214
+ var(--cirth-primary) 81.4%,
2215
+ black);
2265
2216
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2266
2217
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
2267
- --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2218
+ --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 70%);
2268
2219
  --cirth-primary-inverse: oklch(100% 0 0);
2269
- --cirth-secondary: oklch(70% .028 264);
2270
2220
  --cirth-secondary-background: oklch(48.3% .03 264);
2271
2221
  --cirth-secondary-border: var(--cirth-secondary-background);
2272
- --cirth-secondary-underline: oklch(70% .028 264 / .5);
2273
- --cirth-secondary-hover: oklch(78.7% .021 264);
2274
- --cirth-secondary-hover-background: oklch(52.7% .032 264);
2275
2222
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2276
2223
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2277
- --cirth-secondary-focus: oklch(70% .028 264 / .7);
2278
2224
  --cirth-secondary-inverse: oklch(100% 0 0);
2279
- --cirth-contrast: oklch(91.7% .006 264);
2280
- --cirth-contrast-background: oklch(96% 0 264);
2281
2225
  --cirth-contrast-border: var(--cirth-contrast-background);
2282
- --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2283
- --cirth-contrast-hover: oklch(100% 0 0);
2284
- --cirth-contrast-hover-background: oklch(100% 0 0);
2285
2226
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2286
2227
  --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2287
- --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2288
- --cirth-contrast-inverse: oklch(0% 0 0);
2289
- --cirth-link-visited-color: oklch(65.7% .03 264);
2290
- --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);
2291
- --cirth-h1-color: oklch(96% 0 264);
2292
- --cirth-h2-color: oklch(91.7% .006 264);
2293
- --cirth-h3-color: oklch(83% .016 264);
2294
- --cirth-h4-color: oklch(78.7% .021 264);
2295
- --cirth-h5-color: oklch(74.3% .025 264);
2296
- --cirth-h6-color: oklch(65.7% .03 264);
2297
- --cirth-mark-background-color: oklch(35.3% .063 78);
2298
- --cirth-mark-color: oklch(100% 0 0);
2299
- --cirth-ins-color: oklch(78.7% .15 160.59);
2300
- --cirth-del-color: oklch(78.7% .106 29.73);
2228
+ --cirth-mark-background-color: var(--cirth-warning-surface);
2229
+ --cirth-ins-color: var(--cirth-success-text);
2230
+ --cirth-del-color: var(--cirth-error-text);
2301
2231
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2302
2232
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
2303
2233
  --cirth-button-box-shadow: 0 0 0 #0000;
2304
2234
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
2305
2235
  --cirth-table-border-color: var(--cirth-muted-border-color);
2306
2236
  --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2307
- --cirth-code-background-color: oklch(23.4% .00725 264);
2308
- --cirth-code-color: oklch(65.7% .03 264);
2309
2237
  --cirth-code-kbd-background-color: var(--cirth-color);
2310
2238
  --cirth-code-kbd-color: var(--cirth-background-color);
2311
- --cirth-form-element-background-color: oklch(24.5% .0085 264);
2312
- --cirth-form-element-selected-background-color: oklch(31% .016 264);
2313
- --cirth-form-element-border-color: oklch(52.7% .032 264);
2314
- --cirth-form-element-color: oklch(91.7% .006 264);
2315
2239
  --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2316
- --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
2317
2240
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
2318
2241
  --cirth-form-element-focus-color: var(--cirth-primary-border);
2319
2242
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2320
- --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2321
- --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
2243
+ --cirth-form-element-invalid-border-color: var(--cirth-error-border);
2244
+ --cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
2322
2245
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2323
- --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2324
- --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
2246
+ --cirth-form-element-valid-border-color: var(--cirth-success-border);
2247
+ --cirth-form-element-valid-active-border-color: var(--cirth-success-active);
2325
2248
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2326
- --cirth-switch-background-color: oklch(52.7% .032 264);
2249
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2327
2250
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2328
2251
  --cirth-switch-color: var(--cirth-primary-inverse);
2329
- --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2330
- --cirth-range-border-color: oklch(26.7% .011 264);
2331
- --cirth-range-active-border-color: oklch(31% .016 264);
2332
2252
  --cirth-range-thumb-border-color: var(--cirth-background-color);
2333
2253
  --cirth-range-thumb-color: var(--cirth-secondary-background);
2334
2254
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
2335
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
2336
2255
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2337
2256
  --cirth-accordion-close-summary-color: var(--cirth-color);
2338
2257
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2339
- --cirth-card-background-color: oklch(22.3% .006 264);
2340
2258
  --cirth-card-border-color: var(--cirth-card-background-color);
2341
2259
  --cirth-card-box-shadow: var(--cirth-box-shadow);
2342
- --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2343
- --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2344
2260
  --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2345
- --cirth-meter-optimum-color: oklch(65.7% .125 160.59);
2346
- --cirth-meter-suboptimum-color: oklch(70% .124 78);
2347
- --cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
2348
- --cirth-progress-background-color: oklch(26.7% .011 264);
2349
- --cirth-progress-border-color: oklch(52.7% .032 264);
2261
+ --cirth-meter-optimum-color: var(--cirth-success);
2262
+ --cirth-meter-suboptimum-color: var(--cirth-warning);
2263
+ --cirth-meter-even-less-good-color: var(--cirth-error);
2350
2264
  --cirth-progress-color: oklch(61.3% .113 69.35);
2265
+ --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");
2266
+ --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");
2267
+ --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");
2268
+ --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");
2351
2269
  --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");
2352
2270
  --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");
2353
2271
  }
@@ -2374,6 +2292,10 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2374
2292
  --cirth-code-color: oklch(35.3% .021 264);
2375
2293
  --cirth-link-visited-color: oklch(35.3% .021 264);
2376
2294
  --cirth-muted-border-color: oklch(57% .032 264);
2295
+ --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");
2296
+ --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");
2297
+ --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");
2298
+ --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");
2377
2299
  --cirth-form-element-border-color: oklch(39.7% .025 264);
2378
2300
  --cirth-form-element-invalid-border-color: oklch(48.3% .166 29.73);
2379
2301
  --cirth-form-element-valid-border-color: oklch(48.3% .092 160.59);
@@ -2403,6 +2325,10 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2403
2325
  --cirth-h5-color: var(--cirth-color);
2404
2326
  --cirth-h6-color: var(--cirth-color);
2405
2327
  --cirth-muted-color: oklch(78.7% .021 264);
2328
+ --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");
2329
+ --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");
2330
+ --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");
2331
+ --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");
2406
2332
  --cirth-secondary: oklch(78.7% .021 264);
2407
2333
  --cirth-code-color: oklch(83% .016 264);
2408
2334
  --cirth-link-visited-color: oklch(78.7% .021 264);
@@ -2413,6 +2339,8 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2413
2339
  --cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
2414
2340
  --cirth-primary: oklch(78.7% .146 69.35);
2415
2341
  --cirth-primary-hover: oklch(87.3% .082 69.35);
2342
+ --cirth-primary-background: oklch(44% .081 69.35);
2343
+ --cirth-primary-hover-background: oklch(39.7% .073 69.35);
2416
2344
  --cirth-primary-underline: var(--cirth-primary);
2417
2345
  --cirth-secondary-underline: var(--cirth-secondary);
2418
2346
  --cirth-contrast-underline: var(--cirth-contrast);
@@ -2437,6 +2365,10 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2437
2365
  --cirth-h5-color: var(--cirth-color);
2438
2366
  --cirth-h6-color: var(--cirth-color);
2439
2367
  --cirth-muted-color: oklch(78.7% .021 264);
2368
+ --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");
2369
+ --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");
2370
+ --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");
2371
+ --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");
2440
2372
  --cirth-secondary: oklch(78.7% .021 264);
2441
2373
  --cirth-code-color: oklch(83% .016 264);
2442
2374
  --cirth-link-visited-color: oklch(78.7% .021 264);
@@ -2447,6 +2379,8 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2447
2379
  --cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
2448
2380
  --cirth-primary: oklch(78.7% .146 69.35);
2449
2381
  --cirth-primary-hover: oklch(87.3% .082 69.35);
2382
+ --cirth-primary-background: oklch(44% .081 69.35);
2383
+ --cirth-primary-hover-background: oklch(39.7% .073 69.35);
2450
2384
  --cirth-primary-underline: var(--cirth-primary);
2451
2385
  --cirth-secondary-underline: var(--cirth-secondary);
2452
2386
  --cirth-contrast-underline: var(--cirth-contrast);
@@ -2460,135 +2394,3 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2460
2394
  --cirth-meter-even-less-good-color: oklch(83% .081 29.73);
2461
2395
  }
2462
2396
  }
2463
-
2464
- @media print {
2465
- :root, :host {
2466
- --cirth-print-color: oklch(0% 0 0);
2467
- --cirth-print-muted-color: oklch(48.3% .03 264);
2468
- --cirth-print-border-color: oklch(61.3% .032 264);
2469
- }
2470
-
2471
- html {
2472
- --lightningcss-light: initial;
2473
- --lightningcss-dark: ;
2474
- color-scheme: light;
2475
- background: none;
2476
- }
2477
-
2478
- body {
2479
- color: var(--cirth-print-color);
2480
- --lightningcss-light: initial;
2481
- --lightningcss-dark: ;
2482
- color-scheme: light;
2483
- --cirth-color: var(--cirth-print-color);
2484
- --cirth-h1-color: var(--cirth-print-color);
2485
- --cirth-h2-color: var(--cirth-print-color);
2486
- --cirth-h3-color: var(--cirth-print-color);
2487
- --cirth-h4-color: var(--cirth-print-color);
2488
- --cirth-h5-color: var(--cirth-print-color);
2489
- --cirth-h6-color: var(--cirth-print-color);
2490
- --cirth-code-color: var(--cirth-print-color);
2491
- --cirth-code-kbd-color: var(--cirth-print-color);
2492
- --cirth-form-element-color: var(--cirth-print-color);
2493
- --cirth-muted-color: var(--cirth-print-muted-color);
2494
- --cirth-form-element-placeholder-color: var(--cirth-print-muted-color);
2495
- --cirth-primary: var(--cirth-print-color);
2496
- --cirth-primary-hover: var(--cirth-print-color);
2497
- --cirth-primary-underline: var(--cirth-print-color);
2498
- --cirth-secondary: var(--cirth-print-color);
2499
- --cirth-secondary-underline: var(--cirth-print-color);
2500
- --cirth-contrast: var(--cirth-print-color);
2501
- --cirth-contrast-underline: var(--cirth-print-color);
2502
- --cirth-link-visited-color: var(--cirth-print-color);
2503
- --cirth-muted-border-color: var(--cirth-print-border-color);
2504
- --cirth-form-element-border-color: var(--cirth-print-border-color);
2505
- --cirth-box-shadow: none;
2506
- --cirth-card-box-shadow: none;
2507
- --cirth-card-background-color: transparent;
2508
- --cirth-card-sectioning-background-color: transparent;
2509
- --cirth-code-background-color: transparent;
2510
- --cirth-code-kbd-background-color: transparent;
2511
- --cirth-form-element-background-color: transparent;
2512
- --cirth-form-element-active-background-color: transparent;
2513
- --cirth-table-row-stripped-background-color: transparent;
2514
- --cirth-modal-overlay-background-color: transparent;
2515
- --cirth-ins-color: oklch(35.3% .067 160.59);
2516
- --cirth-del-color: oklch(35.3% .122 29.73);
2517
- --cirth-meter-optimum-color: oklch(52.7% .1 160.59);
2518
- --cirth-meter-suboptimum-color: oklch(48.3% .086 78);
2519
- --cirth-meter-even-less-good-color: oklch(44% .151 29.73);
2520
- background: none;
2521
- }
2522
-
2523
- kbd {
2524
- border: var(--cirth-border-width) solid var(--cirth-print-border-color);
2525
- }
2526
-
2527
- :is(button, [type="submit"], [type="reset"], [type="button"], [role="button"]) {
2528
- border-color: var(--cirth-print-border-color);
2529
- box-shadow: none;
2530
- color: var(--cirth-print-color);
2531
- background: none;
2532
- }
2533
-
2534
- [type="file"]::file-selector-button {
2535
- border-color: var(--cirth-print-border-color);
2536
- box-shadow: none;
2537
- color: var(--cirth-print-color);
2538
- background: none;
2539
- }
2540
-
2541
- :is(mark, meter, progress, [type="checkbox"], [type="radio"]) {
2542
- -webkit-print-color-adjust: exact;
2543
- print-color-adjust: exact;
2544
- }
2545
-
2546
- a[href^="http"]:not([role="button"], nav a):after {
2547
- content: " (" attr(href) ")";
2548
- color: var(--cirth-print-muted-color);
2549
- font-size: var(--cirth-font-size-sm);
2550
- word-break: break-all;
2551
- }
2552
-
2553
- thead {
2554
- display: table-header-group;
2555
- }
2556
-
2557
- tfoot {
2558
- display: table-footer-group;
2559
- }
2560
-
2561
- tr {
2562
- break-inside: avoid;
2563
- }
2564
-
2565
- pre {
2566
- white-space: pre-wrap;
2567
- overflow: visible;
2568
- }
2569
-
2570
- dialog {
2571
- backdrop-filter: none;
2572
- min-width: 0;
2573
- min-height: 0;
2574
- position: static;
2575
- }
2576
-
2577
- dialog > article {
2578
- max-height: none;
2579
- overflow: visible;
2580
- }
2581
-
2582
- :is(h1, h2, h3, h4, h5, h6) {
2583
- break-after: avoid;
2584
- }
2585
-
2586
- :is(figure, img) {
2587
- break-inside: avoid;
2588
- }
2589
-
2590
- :is(blockquote, li, p) {
2591
- orphans: 3;
2592
- widows: 3;
2593
- }
2594
- }