@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.
package/dist/cirth.css CHANGED
@@ -297,7 +297,7 @@ button {
297
297
  }
298
298
 
299
299
  button, [type="submit"], [type="reset"], [type="button"] {
300
- -webkit-appearance: button;
300
+ appearance: auto;
301
301
  }
302
302
 
303
303
  button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
@@ -306,6 +306,7 @@ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
306
306
  --cirth-color: var(--cirth-primary-inverse);
307
307
  --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
308
308
  max-width: 100%;
309
+ 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);
309
310
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
310
311
  border: var(--cirth-border-width) solid var(--cirth-border-color);
311
312
  border-radius: var(--cirth-border-radius);
@@ -330,6 +331,7 @@ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
330
331
  --cirth-color: var(--cirth-primary-inverse);
331
332
  --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
332
333
  max-width: 100%;
334
+ 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);
333
335
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
334
336
  border: var(--cirth-border-width) solid var(--cirth-border-color);
335
337
  border-radius: var(--cirth-border-radius);
@@ -458,37 +460,92 @@ button:focus-visible, button[aria-current]:not([aria-current="false"]):focus-vis
458
460
  }
459
461
 
460
462
  :is(button, [type="submit"], [type="button"], [role="button"]).outline, [type="reset"].outline {
463
+ --cirth-background-color: var(--cirth-canvas);
464
+ }
465
+
466
+ :is(button, [type="submit"], [type="button"], [role="button"]).ghost, [type="reset"].ghost {
461
467
  --cirth-background-color: transparent;
468
+ --cirth-box-shadow: none;
469
+ }
470
+
471
+ :is(button, [type="submit"], [type="button"], [role="button"]).outline, [type="reset"].outline {
462
472
  --cirth-color: var(--cirth-primary);
463
473
  --cirth-border-color: var(--cirth-primary);
464
474
  }
465
475
 
466
476
  :is(button, [type="submit"], [type="button"], [role="button"]).outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
467
- --cirth-background-color: transparent;
477
+ --cirth-background-color: color-mix(in oklch,
478
+ var(--cirth-primary) 12%,
479
+ var(--cirth-canvas));
468
480
  --cirth-color: var(--cirth-primary-hover);
469
481
  --cirth-border-color: var(--cirth-primary-hover);
470
482
  }
471
483
 
472
- :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary, [type="reset"].outline {
484
+ :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary, [type="reset"].outline.secondary {
473
485
  --cirth-color: var(--cirth-secondary);
474
486
  --cirth-border-color: var(--cirth-secondary);
475
487
  }
476
488
 
477
- :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
489
+ :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].outline.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
490
+ --cirth-background-color: color-mix(in oklch,
491
+ var(--cirth-secondary) 12%,
492
+ var(--cirth-canvas));
478
493
  --cirth-color: var(--cirth-secondary-hover);
479
494
  --cirth-border-color: var(--cirth-secondary-hover);
480
495
  }
481
496
 
482
- :is(button, [type="submit"], [type="button"], [role="button"]).outline.contrast {
497
+ :is(button, [type="submit"], [type="button"], [role="button"]).outline.contrast, [type="reset"].outline.contrast {
483
498
  --cirth-color: var(--cirth-contrast);
484
499
  --cirth-border-color: var(--cirth-contrast);
485
500
  }
486
501
 
487
- :is(button, [type="submit"], [type="button"], [role="button"]).outline.contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
502
+ :is(button, [type="submit"], [type="button"], [role="button"]).outline.contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].outline.contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
503
+ --cirth-background-color: color-mix(in oklch,
504
+ var(--cirth-contrast) 12%,
505
+ var(--cirth-canvas));
488
506
  --cirth-color: var(--cirth-contrast-hover);
489
507
  --cirth-border-color: var(--cirth-contrast-hover);
490
508
  }
491
509
 
510
+ :is(button, [type="submit"], [type="button"], [role="button"]).ghost, [type="reset"].ghost {
511
+ --cirth-color: var(--cirth-primary);
512
+ --cirth-border-color: transparent;
513
+ }
514
+
515
+ :is(button, [type="submit"], [type="button"], [role="button"]).ghost:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].ghost:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
516
+ --cirth-background-color: color-mix(in oklch,
517
+ var(--cirth-primary) 12%,
518
+ transparent);
519
+ --cirth-color: var(--cirth-primary-hover);
520
+ --cirth-border-color: transparent;
521
+ }
522
+
523
+ :is(button, [type="submit"], [type="button"], [role="button"]).ghost.secondary, [type="reset"].ghost.secondary {
524
+ --cirth-color: var(--cirth-secondary);
525
+ --cirth-border-color: transparent;
526
+ }
527
+
528
+ :is(button, [type="submit"], [type="button"], [role="button"]).ghost.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].ghost.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
529
+ --cirth-background-color: color-mix(in oklch,
530
+ var(--cirth-secondary) 12%,
531
+ transparent);
532
+ --cirth-color: var(--cirth-secondary-hover);
533
+ --cirth-border-color: transparent;
534
+ }
535
+
536
+ :is(button, [type="submit"], [type="button"], [role="button"]).ghost.contrast, [type="reset"].ghost.contrast {
537
+ --cirth-color: var(--cirth-contrast);
538
+ --cirth-border-color: transparent;
539
+ }
540
+
541
+ :is(button, [type="submit"], [type="button"], [role="button"]).ghost.contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].ghost.contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
542
+ --cirth-background-color: color-mix(in oklch,
543
+ var(--cirth-contrast) 12%,
544
+ transparent);
545
+ --cirth-color: var(--cirth-contrast-hover);
546
+ --cirth-border-color: transparent;
547
+ }
548
+
492
549
  :where(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[disabled], :where(fieldset[disabled]) :is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]) {
493
550
  opacity: var(--cirth-opacity-disabled);
494
551
  pointer-events: none;
@@ -641,7 +698,7 @@ legend {
641
698
  }
642
699
 
643
700
  [type="search"] {
644
- -webkit-appearance: textfield;
701
+ appearance: textfield;
645
702
  outline-offset: -2px;
646
703
  }
647
704
 
@@ -650,7 +707,7 @@ legend {
650
707
  }
651
708
 
652
709
  ::file-selector-button {
653
- -webkit-appearance: button;
710
+ appearance: auto;
654
711
  font: inherit;
655
712
  }
656
713
 
@@ -664,7 +721,11 @@ legend {
664
721
  }
665
722
 
666
723
  input:not([type="checkbox"], [type="radio"], [type="range"]) {
667
- height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
724
+ height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
725
+ }
726
+
727
+ select, textarea {
728
+ 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);
668
729
  }
669
730
 
670
731
  fieldset {
@@ -718,6 +779,12 @@ input:not([type="submit"], [type="button"], [type="reset"], [role="switch"], [re
718
779
  --cirth-border-color: var(--cirth-form-element-active-border-color);
719
780
  }
720
781
 
782
+ 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]) {
783
+ --cirth-border-color: color-mix(in oklch,
784
+ var(--cirth-form-element-border-color) 65%,
785
+ var(--cirth-color));
786
+ }
787
+
721
788
  input:not([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly]):focus, :where(select, textarea):not([readonly]):focus {
722
789
  --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
723
790
  var(--cirth-form-element-focus-color);
@@ -736,7 +803,7 @@ label[aria-disabled="true"] input[disabled] {
736
803
  :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)) {
737
804
  padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
738
805
  background-position: center right var(--cirth-space-3);
739
- background-size: var(--cirth-size-4) auto;
806
+ background-size: var(--cirth-font-size-md) auto;
740
807
  background-repeat: no-repeat;
741
808
  }
742
809
 
@@ -795,7 +862,7 @@ select:not([multiple], [size]) {
795
862
  padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
796
863
  background-image: var(--cirth-icon-chevron);
797
864
  background-position: center right var(--cirth-space-3);
798
- background-size: var(--cirth-size-4) auto;
865
+ background-size: var(--cirth-font-size-md) auto;
799
866
  background-repeat: no-repeat;
800
867
  }
801
868
 
@@ -813,12 +880,16 @@ textarea {
813
880
  display: block;
814
881
  }
815
882
 
883
+ textarea:not([rows]) {
884
+ min-block-size: calc(4lh + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
885
+ }
886
+
816
887
  textarea:is([aria-invalid], :user-invalid:not([aria-invalid], [type="range"]):not(select:focus)) {
817
- --cirth-icon-height: calc(var(--cirth-size-4) * var(--cirth-line-height) +
888
+ --cirth-icon-height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) +
818
889
  var(--cirth-form-element-spacing-vertical) * 2 +
819
890
  var(--cirth-border-width) * 2);
820
891
  background-position: top right var(--cirth-space-3);
821
- background-size: var(--cirth-size-4) var(--cirth-icon-height);
892
+ background-size: var(--cirth-font-size-md) var(--cirth-icon-height);
822
893
  }
823
894
 
824
895
  :where(input, select, textarea, fieldset, .row) + small {
@@ -860,10 +931,6 @@ label:has([type="checkbox"], [type="radio"]) {
860
931
  [type="checkbox"]:checked, [type="checkbox"]:checked:active, [type="checkbox"]:checked:focus, [type="radio"]:checked, [type="radio"]:checked:active, [type="radio"]:checked:focus {
861
932
  --cirth-background-color: var(--cirth-primary-background);
862
933
  --cirth-border-color: var(--cirth-primary-border);
863
- background-image: var(--cirth-icon-checkbox);
864
- background-position: center;
865
- background-repeat: no-repeat;
866
- background-size: .9em;
867
934
  }
868
935
 
869
936
  [type="checkbox"] ~ label, [type="radio"] ~ label {
@@ -876,13 +943,34 @@ label:has([type="checkbox"], [type="radio"]) {
876
943
  margin-inline-end: 1em;
877
944
  }
878
945
 
879
- [type="checkbox"]:indeterminate {
946
+ [type="checkbox"]:not([role="switch"]):checked:before, [type="checkbox"]:not([role="switch"]):indeterminate:before {
947
+ background-color: var(--cirth-primary-inverse);
948
+ content: "";
949
+ width: 100%;
950
+ height: 100%;
951
+ display: block;
952
+ mask-position: center;
953
+ mask-size: .9em;
954
+ mask-repeat: no-repeat;
955
+ }
956
+
957
+ @media (forced-colors: active) {
958
+ [type="checkbox"]:not([role="switch"]):checked:before, [type="checkbox"]:not([role="switch"]):indeterminate:before {
959
+ background-color: canvastext;
960
+ }
961
+ }
962
+
963
+ [type="checkbox"]:not([role="switch"]):checked:before {
964
+ mask-image: var(--cirth-icon-checkbox);
965
+ }
966
+
967
+ [type="checkbox"]:not([role="switch"]):indeterminate {
880
968
  --cirth-background-color: var(--cirth-primary-background);
881
969
  --cirth-border-color: var(--cirth-primary-border);
882
- background-image: var(--cirth-icon-minus);
883
- background-position: center;
884
- background-repeat: no-repeat;
885
- background-size: .9em;
970
+ }
971
+
972
+ [type="checkbox"]:not([role="switch"]):indeterminate:before {
973
+ mask-image: var(--cirth-icon-minus);
886
974
  }
887
975
 
888
976
  [type="radio"] {
@@ -891,7 +979,6 @@ label:has([type="checkbox"], [type="radio"]) {
891
979
 
892
980
  [type="radio"]:checked, [type="radio"]:checked:active, [type="radio"]:checked:focus {
893
981
  --cirth-background-color: var(--cirth-primary-inverse);
894
- background-image: none;
895
982
  border-width: .42em;
896
983
  }
897
984
 
@@ -929,7 +1016,6 @@ label:has([type="checkbox"], [type="radio"]) {
929
1016
  [type="checkbox"][role="switch"]:checked {
930
1017
  --cirth-background-color: var(--cirth-switch-checked-background-color);
931
1018
  --cirth-border-color: var(--cirth-switch-checked-background-color);
932
- background-image: none;
933
1019
  }
934
1020
 
935
1021
  [type="checkbox"][role="switch"]:checked:before {
@@ -976,7 +1062,7 @@ label:has([type="checkbox"], [type="radio"]) {
976
1062
 
977
1063
  input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
978
1064
  --cirth-icon-position: var(--cirth-space-3);
979
- --cirth-icon-width: var(--cirth-size-4);
1065
+ --cirth-icon-width: var(--cirth-font-size-md);
980
1066
  min-width: 0;
981
1067
  background-image: var(--cirth-icon-date);
982
1068
  background-position: center right var(--cirth-icon-position);
@@ -1050,6 +1136,7 @@ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type
1050
1136
  }
1051
1137
 
1052
1138
  [type="file"]::file-selector-button {
1139
+ min-block-size: 0;
1053
1140
  padding: calc(var(--cirth-form-element-spacing-vertical) * .5) var(--cirth-form-element-spacing-horizontal);
1054
1141
  margin-inline-end: calc(var(--cirth-spacing) / 2);
1055
1142
  }
@@ -1158,7 +1245,7 @@ details {
1158
1245
  }
1159
1246
 
1160
1247
  details summary {
1161
- line-height: var(--cirth-size-4);
1248
+ line-height: var(--cirth-font-size-md);
1162
1249
  cursor: pointer;
1163
1250
  transition: color var(--cirth-transition);
1164
1251
  list-style-type: none;
@@ -1177,18 +1264,28 @@ details summary::marker {
1177
1264
  }
1178
1265
 
1179
1266
  details summary:after {
1180
- width: var(--cirth-size-4);
1181
- height: var(--cirth-size-4);
1267
+ width: var(--cirth-font-size-md);
1268
+ height: var(--cirth-font-size-md);
1182
1269
  float: right;
1183
- background-image: var(--cirth-icon-chevron);
1184
- background-position: 100%;
1185
- background-size: var(--cirth-size-4) auto;
1186
- content: "";
1187
- transition: transform var(--cirth-transition);
1188
- background-repeat: no-repeat;
1270
+ background-color: var(--cirth-muted-color);
1271
+ mask-image: var(--cirth-icon-chevron);
1272
+ mask-position: 100%;
1273
+ mask-size: var(--cirth-font-size-md) auto;
1189
1274
  margin-inline-start: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
1190
1275
  display: block;
1191
1276
  transform: rotate(-90deg);
1277
+ mask-repeat: no-repeat;
1278
+ }
1279
+
1280
+ @media (forced-colors: active) {
1281
+ details summary:after {
1282
+ background-color: canvastext;
1283
+ }
1284
+ }
1285
+
1286
+ details summary:after {
1287
+ content: "";
1288
+ transition: transform var(--cirth-transition);
1192
1289
  }
1193
1290
 
1194
1291
  details summary:focus {
@@ -1211,7 +1308,7 @@ details summary[role="button"] {
1211
1308
  }
1212
1309
 
1213
1310
  details summary[role="button"]:after {
1214
- height: calc(var(--cirth-size-4) * var(--cirth-line-height, var(--cirth-line-height-normal)));
1311
+ height: calc(var(--cirth-font-size-md) * var(--cirth-line-height, var(--cirth-line-height-normal)));
1215
1312
  }
1216
1313
 
1217
1314
  details[open] > summary {
@@ -1271,17 +1368,27 @@ details.dropdown {
1271
1368
  }
1272
1369
 
1273
1370
  details.dropdown > summary:after, details.dropdown > button:after, details.dropdown > a:after {
1274
- width: var(--cirth-size-4);
1275
- height: calc(var(--cirth-size-4) * var(--cirth-line-height, var(--cirth-line-height-normal)));
1371
+ width: var(--cirth-font-size-md);
1372
+ height: calc(var(--cirth-font-size-md) * var(--cirth-line-height, var(--cirth-line-height-normal)));
1276
1373
  float: right;
1277
1374
  transform: rotate(0deg) translateX(calc(var(--cirth-form-element-spacing-horizontal) - var(--cirth-space-3)));
1278
- background-image: var(--cirth-icon-chevron);
1279
- background-position: 100%;
1280
- background-size: var(--cirth-size-4) auto;
1281
- content: "";
1282
- background-repeat: no-repeat;
1375
+ background-color: var(--cirth-muted-color);
1376
+ mask-image: var(--cirth-icon-chevron);
1377
+ mask-position: 100%;
1378
+ mask-size: var(--cirth-font-size-md) auto;
1283
1379
  margin-inline-start: var(--cirth-space-1);
1284
1380
  display: block;
1381
+ mask-repeat: no-repeat;
1382
+ }
1383
+
1384
+ @media (forced-colors: active) {
1385
+ details.dropdown > summary:after, details.dropdown > button:after, details.dropdown > a:after {
1386
+ background-color: canvastext;
1387
+ }
1388
+ }
1389
+
1390
+ details.dropdown > summary:after, details.dropdown > button:after, details.dropdown > a:after {
1391
+ content: "";
1285
1392
  }
1286
1393
 
1287
1394
  nav details.dropdown {
@@ -1289,7 +1396,7 @@ nav details.dropdown {
1289
1396
  }
1290
1397
 
1291
1398
  details.dropdown > summary:not([role]) {
1292
- height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1399
+ height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1293
1400
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1294
1401
  border: var(--cirth-border-width) solid var(--cirth-form-element-border-color);
1295
1402
  border-radius: var(--cirth-border-radius);
@@ -1337,7 +1444,7 @@ nav details.dropdown > summary:after {
1337
1444
  }
1338
1445
 
1339
1446
  nav details.dropdown > summary:not([role]) {
1340
- height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-nav-link-spacing-vertical) * 2);
1447
+ height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-nav-link-spacing-vertical) * 2);
1341
1448
  padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
1342
1449
  }
1343
1450
 
@@ -1490,7 +1597,7 @@ label > details.dropdown {
1490
1597
  z-index: 2;
1491
1598
  }
1492
1599
 
1493
- :is([role="search"] > :has( + small:last-child), .group > :has( + small:last-child)) {
1600
+ [role="search"] > :has( + small:last-child), .group > :has( + small:last-child) {
1494
1601
  border-start-end-radius: var(--cirth-border-radius);
1495
1602
  border-end-end-radius: var(--cirth-border-radius);
1496
1603
  }
@@ -1503,78 +1610,27 @@ label > details.dropdown {
1503
1610
  width: auto;
1504
1611
  }
1505
1612
 
1506
- @supports selector(:has(*)) {
1507
- :is([role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus), .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus)) {
1508
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1509
- }
1510
-
1511
- :is([role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]), .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid])) {
1512
- border-color: #0000;
1513
- }
1514
-
1515
- :is([role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus), .group:has(input:not([type="submit"], [type="button"]):focus, select:focus)) {
1516
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1517
- }
1518
-
1519
- [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1520
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1521
- var(--cirth-primary-border);
1522
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1523
- var(--cirth-primary-hover-border);
1524
- }
1525
-
1526
- [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1527
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1528
- var(--cirth-primary-border);
1529
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1530
- var(--cirth-primary-hover-border);
1531
- }
1532
-
1533
- [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1534
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1535
- var(--cirth-primary-border);
1536
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1537
- var(--cirth-primary-hover-border);
1538
- }
1539
-
1540
- [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1541
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1542
- var(--cirth-primary-border);
1543
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1544
- var(--cirth-primary-hover-border);
1545
- }
1546
-
1547
- .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1548
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1549
- var(--cirth-primary-border);
1550
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1551
- var(--cirth-primary-hover-border);
1552
- }
1613
+ [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus), .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
1614
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1615
+ }
1553
1616
 
1554
- .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1555
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1556
- var(--cirth-primary-border);
1557
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1558
- var(--cirth-primary-hover-border);
1559
- }
1617
+ [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]), .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]) {
1618
+ border-color: #0000;
1619
+ }
1560
1620
 
1561
- .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1562
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1563
- var(--cirth-primary-border);
1564
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1565
- var(--cirth-primary-hover-border);
1566
- }
1621
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus), .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) {
1622
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1623
+ }
1567
1624
 
1568
- .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1569
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1570
- var(--cirth-primary-border);
1571
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1572
- var(--cirth-primary-hover-border);
1573
- }
1625
+ [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"], .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) button, .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"], .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"], .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1626
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1627
+ var(--cirth-primary-border);
1628
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1629
+ var(--cirth-primary-hover-border);
1630
+ }
1574
1631
 
1575
- [role="search"] button:focus, [role="search"] [type="submit"]:focus, [role="search"] [type="reset"]:focus, [role="search"] [type="button"]:focus, [role="search"] [role="button"]:focus, .group button:focus, .group [type="submit"]:focus, .group [type="reset"]:focus, .group [type="button"]:focus, .group [role="button"]:focus {
1576
- box-shadow: none;
1577
- }
1632
+ [role="search"] button:focus, [role="search"] [type="submit"]:focus, [role="search"] [type="reset"]:focus, [role="search"] [type="button"]:focus, [role="search"] [role="button"]:focus, .group button:focus, .group [type="submit"]:focus, .group [type="reset"]:focus, .group [type="button"]:focus, .group [role="button"]:focus {
1633
+ box-shadow: none;
1578
1634
  }
1579
1635
 
1580
1636
  [role="search"] > :not([hidden], input[type="hidden"]):nth-child(1 of :not([hidden], input[type="hidden"])) {
@@ -1582,12 +1638,7 @@ label > details.dropdown {
1582
1638
  border-end-start-radius: var(--cirth-radius-pill);
1583
1639
  }
1584
1640
 
1585
- [role="search"] > :not([hidden], input[type="hidden"]):nth-last-child(1 of :not([hidden], input[type="hidden"])) {
1586
- border-start-end-radius: var(--cirth-radius-pill);
1587
- border-end-end-radius: var(--cirth-radius-pill);
1588
- }
1589
-
1590
- [role="search"] > :has( + small:last-child) {
1641
+ [role="search"] > :not([hidden], input[type="hidden"]):nth-last-child(1 of :not([hidden], input[type="hidden"])), [role="search"] > :has( + small:last-child) {
1591
1642
  border-start-end-radius: var(--cirth-radius-pill);
1592
1643
  border-end-end-radius: var(--cirth-radius-pill);
1593
1644
  }
@@ -1601,13 +1652,10 @@ label > details.dropdown {
1601
1652
  vertical-align: -.125em;
1602
1653
  width: 1em;
1603
1654
  height: 1em;
1604
- -webkit-mask-image: var(--cirth-icon-loading);
1605
1655
  mask-image: var(--cirth-icon-loading);
1606
1656
  background-color: currentColor;
1607
1657
  display: inline-block;
1608
- -webkit-mask-size: 1em;
1609
1658
  mask-size: 1em;
1610
- -webkit-mask-repeat: no-repeat;
1611
1659
  mask-repeat: no-repeat;
1612
1660
  }
1613
1661
 
@@ -1648,7 +1696,7 @@ button[aria-busy="true"], [type="submit"][aria-busy="true"], [type="button"][ari
1648
1696
  meter {
1649
1697
  appearance: none;
1650
1698
  width: 100%;
1651
- height: var(--cirth-size-2);
1699
+ height: var(--cirth-space-2);
1652
1700
  margin-bottom: calc(var(--cirth-spacing) * .5);
1653
1701
  border: var(--cirth-border-width-1) solid var(--cirth-meter-border-color);
1654
1702
  border-radius: var(--cirth-border-radius);
@@ -1752,7 +1800,7 @@ dialog > article > header > * {
1752
1800
  }
1753
1801
 
1754
1802
  dialog > article > header .close, dialog > article > header :is(a, button)[rel="prev"] {
1755
- margin: 0;
1803
+ 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);
1756
1804
  float: right;
1757
1805
  margin-inline-start: var(--cirth-spacing);
1758
1806
  padding: 0;
@@ -1771,22 +1819,37 @@ dialog > article > footer button:not(:first-of-type), dialog > article > footer
1771
1819
  }
1772
1820
 
1773
1821
  dialog > article .close, dialog > article :is(a, button)[rel="prev"] {
1774
- width: var(--cirth-size-4);
1775
- height: var(--cirth-size-4);
1776
- margin-top: calc(var(--cirth-spacing) * -1);
1777
- margin-bottom: var(--cirth-spacing);
1778
- background-image: var(--cirth-icon-close);
1779
- background-position: center;
1780
- background-size: auto var(--cirth-size-4);
1822
+ 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);
1823
+ 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);
1824
+ 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));
1825
+ 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);
1826
+ 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));
1781
1827
  opacity: .5;
1782
1828
  transition: opacity var(--cirth-transition);
1783
1829
  background-color: #0000;
1784
- background-repeat: no-repeat;
1785
1830
  border: none;
1786
1831
  margin-inline-start: auto;
1787
1832
  display: block;
1788
1833
  }
1789
1834
 
1835
+ dialog > article .close:before, dialog > article :is(a, button)[rel="prev"]:before {
1836
+ background-color: var(--cirth-muted-color);
1837
+ content: "";
1838
+ width: 100%;
1839
+ height: 100%;
1840
+ mask-image: var(--cirth-icon-close);
1841
+ mask-position: center;
1842
+ mask-size: auto var(--cirth-font-size-md);
1843
+ display: block;
1844
+ mask-repeat: no-repeat;
1845
+ }
1846
+
1847
+ @media (forced-colors: active) {
1848
+ dialog > article .close:before, dialog > article :is(a, button)[rel="prev"]:before {
1849
+ background-color: canvastext;
1850
+ }
1851
+ }
1852
+
1790
1853
  dialog > article .close:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), dialog > article :is(a, button)[rel="prev"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1791
1854
  opacity: 1;
1792
1855
  }
@@ -1799,7 +1862,7 @@ dialog:not([open]), dialog[open="false"] {
1799
1862
  float: left;
1800
1863
  }
1801
1864
 
1802
- html:has(dialog[open]) {
1865
+ html:has(dialog:modal) {
1803
1866
  overflow: hidden;
1804
1867
  }
1805
1868
 
@@ -1856,6 +1919,7 @@ nav li .group, nav li [role="search"] {
1856
1919
 
1857
1920
  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 {
1858
1921
  height: auto;
1922
+ min-block-size: var(--cirth-space-6);
1859
1923
  margin-inline: inherit;
1860
1924
  padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
1861
1925
  margin-bottom: 0;
@@ -1925,6 +1989,8 @@ aside li [role="button"] {
1925
1989
  box-shadow: var(--cirth-popover-box-shadow);
1926
1990
  color: var(--cirth-popover-color);
1927
1991
  transition: opacity var(--cirth-transition), display var(--cirth-transition) allow-discrete, overlay var(--cirth-transition) allow-discrete;
1992
+ margin: auto;
1993
+ inset: 0;
1928
1994
  }
1929
1995
 
1930
1996
  @starting-style {
@@ -1941,7 +2007,7 @@ progress {
1941
2007
  vertical-align: baseline;
1942
2008
  appearance: none;
1943
2009
  width: 100%;
1944
- height: var(--cirth-size-2);
2010
+ height: var(--cirth-space-2);
1945
2011
  margin-bottom: calc(var(--cirth-spacing) * .5);
1946
2012
  border: var(--cirth-border-width-1) solid var(--cirth-progress-border-color);
1947
2013
  border-radius: var(--cirth-border-radius);
@@ -2055,27 +2121,23 @@ progress::-moz-progress-bar {
2055
2121
  }
2056
2122
 
2057
2123
  :root, :host {
2058
- --cirth-color-black: #000;
2059
- --cirth-color-white: #fff;
2060
- --cirth-color-transparent: transparent;
2061
- --cirth-color-current: currentColor;
2062
2124
  --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
2063
2125
  --cirth-font-family-sans: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
2064
2126
  "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
2065
2127
  --cirth-font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif;
2066
2128
  --cirth-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
2067
2129
  monospace, var(--cirth-font-family-emoji);
2068
- --cirth-font-family-display: var(--cirth-font-family-serif);
2069
2130
  --cirth-font-size-xs: .75rem;
2070
2131
  --cirth-font-size-sm: .875rem;
2071
2132
  --cirth-font-size-md: 1rem;
2072
2133
  --cirth-font-size-lg: 1.125rem;
2073
2134
  --cirth-font-size-xl: 1.25rem;
2074
- --cirth-font-size-2xl: 1.425rem;
2075
- --cirth-font-size-3xl: 1.6rem;
2076
- --cirth-font-size-4xl: 1.8rem;
2077
- --cirth-font-size-5xl: 2rem;
2078
- --cirth-font-size-6xl: 2.3rem;
2135
+ --cirth-font-size-2xl: 1.5rem;
2136
+ --cirth-font-size-3xl: 1.75rem;
2137
+ --cirth-font-size-4xl: 2rem;
2138
+ --cirth-font-size-5xl: 2.25rem;
2139
+ --cirth-font-size-6xl: 2.75rem;
2140
+ --cirth-font-size-7xl: 3.5rem;
2079
2141
  --cirth-font-weight-light: 300;
2080
2142
  --cirth-font-weight-regular: 400;
2081
2143
  --cirth-font-weight-medium: 500;
@@ -2102,19 +2164,6 @@ progress::-moz-progress-bar {
2102
2164
  --cirth-space-16: 4rem;
2103
2165
  --cirth-space-20: 5rem;
2104
2166
  --cirth-space-24: 6rem;
2105
- --cirth-size-0: 0;
2106
- --cirth-size-1: .25rem;
2107
- --cirth-size-2: .5rem;
2108
- --cirth-size-3: .75rem;
2109
- --cirth-size-4: 1rem;
2110
- --cirth-size-5: 1.25rem;
2111
- --cirth-size-6: 1.5rem;
2112
- --cirth-size-8: 2rem;
2113
- --cirth-size-10: 2.5rem;
2114
- --cirth-size-12: 3rem;
2115
- --cirth-size-16: 4rem;
2116
- --cirth-size-20: 5rem;
2117
- --cirth-size-24: 6rem;
2118
2167
  --cirth-radius-none: 0;
2119
2168
  --cirth-radius-xs: .125rem;
2120
2169
  --cirth-radius-sm: .25rem;
@@ -2127,9 +2176,6 @@ progress::-moz-progress-bar {
2127
2176
  --cirth-border-width-1: .0625rem;
2128
2177
  --cirth-border-width-2: .125rem;
2129
2178
  --cirth-border-width-4: .25rem;
2130
- --cirth-outline-width-1: .0625rem;
2131
- --cirth-outline-width-2: .125rem;
2132
- --cirth-outline-width-4: .25rem;
2133
2179
  --cirth-duration-instant: 0s;
2134
2180
  --cirth-duration-fast: .1s;
2135
2181
  --cirth-duration-normal: .2s;
@@ -2140,7 +2186,6 @@ progress::-moz-progress-bar {
2140
2186
  --cirth-ease-out: cubic-bezier(0, 0, .2, 1);
2141
2187
  --cirth-ease-in-out: cubic-bezier(.4, 0, .2, 1);
2142
2188
  --cirth-opacity-disabled: .5;
2143
- --cirth-opacity-muted: .72;
2144
2189
  --cirth-opacity-overlay: .75;
2145
2190
  --cirth-z-index-dropdown: 1000;
2146
2191
  --cirth-z-index-sticky: 1020;
@@ -2148,6 +2193,7 @@ progress::-moz-progress-bar {
2148
2193
  --cirth-z-index-modal-backdrop: 1040;
2149
2194
  --cirth-z-index-modal: 1050;
2150
2195
  --cirth-font-family: var(--cirth-font-family-sans);
2196
+ --cirth-font-family-display: var(--cirth-font-family-serif);
2151
2197
  --cirth-line-height: var(--cirth-line-height-normal);
2152
2198
  --cirth-font-weight: var(--cirth-font-weight-regular);
2153
2199
  --cirth-font-size: 100%;
@@ -2159,7 +2205,8 @@ progress::-moz-progress-bar {
2159
2205
  --cirth-code-border-radius: min(var(--cirth-border-radius),
2160
2206
  var(--cirth-radius-sm));
2161
2207
  --cirth-border-width: var(--cirth-border-width-1);
2162
- --cirth-outline-width: var(--cirth-outline-width-2);
2208
+ --cirth-outline-width: var(--cirth-border-width-2);
2209
+ --cirth-background-color: var(--cirth-canvas);
2163
2210
  --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-out);
2164
2211
  --cirth-spacing: var(--cirth-space-4);
2165
2212
  --cirth-typography-spacing-vertical: var(--cirth-space-4);
@@ -2190,13 +2237,9 @@ progress::-moz-progress-bar {
2190
2237
  --cirth-nav-link-spacing-vertical: var(--cirth-space-2);
2191
2238
  --cirth-nav-link-spacing-horizontal: var(--cirth-space-2);
2192
2239
  --cirth-nav-breadcrumb-divider: ">";
2193
- --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");
2194
- --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");
2195
- --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");
2196
- --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");
2197
- --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");
2198
- --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");
2199
- --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");
2240
+ --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");
2241
+ --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");
2242
+ --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");
2200
2243
  --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");
2201
2244
  }
2202
2245
 
@@ -2218,21 +2261,27 @@ h4, h5, h6 {
2218
2261
  }
2219
2262
 
2220
2263
  h1 {
2221
- --cirth-font-size: clamp(2.25rem, 1.7rem + 2.2vw, 3.5rem);
2264
+ --cirth-font-size: clamp(var(--cirth-font-size-5xl),
2265
+ 1.7rem + 2.2vw,
2266
+ var(--cirth-font-size-7xl));
2222
2267
  --cirth-line-height: var(--cirth-line-height-tight);
2223
2268
  --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2224
2269
  --cirth-typography-spacing-top: var(--cirth-space-12);
2225
2270
  }
2226
2271
 
2227
2272
  h2 {
2228
- --cirth-font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
2273
+ --cirth-font-size: clamp(var(--cirth-font-size-2xl),
2274
+ 1.3rem + 1vw,
2275
+ var(--cirth-font-size-4xl));
2229
2276
  --cirth-line-height: 1.15;
2230
2277
  --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2231
2278
  --cirth-typography-spacing-top: var(--cirth-space-12);
2232
2279
  }
2233
2280
 
2234
2281
  h3 {
2235
- --cirth-font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem);
2282
+ --cirth-font-size: clamp(var(--cirth-font-size-xl),
2283
+ 1.15rem + .5vw,
2284
+ var(--cirth-font-size-2xl));
2236
2285
  --cirth-line-height: 1.2;
2237
2286
  --cirth-letter-spacing: var(--cirth-letter-spacing-snug);
2238
2287
  --cirth-typography-spacing-top: var(--cirth-space-10);
@@ -2280,7 +2329,7 @@ kbd {
2280
2329
  }
2281
2330
 
2282
2331
  input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :where(select, textarea) {
2283
- --cirth-outline-width: var(--cirth-outline-width-1);
2332
+ --cirth-outline-width: var(--cirth-border-width-1);
2284
2333
  --cirth-line-height: var(--cirth-line-height-relaxed);
2285
2334
  }
2286
2335
 
@@ -2315,18 +2364,18 @@ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
2315
2364
  }
2316
2365
 
2317
2366
  details.dropdown summary:not([role="button"]) {
2318
- --cirth-outline-width: var(--cirth-outline-width-1);
2367
+ --cirth-outline-width: var(--cirth-border-width-1);
2319
2368
  }
2320
2369
 
2321
2370
  nav details.dropdown summary:focus-visible {
2322
- --cirth-outline-width: var(--cirth-outline-width-2);
2371
+ --cirth-outline-width: var(--cirth-border-width-2);
2323
2372
  }
2324
2373
 
2325
2374
  [role="search"] {
2326
2375
  --cirth-border-radius: var(--cirth-radius-pill);
2327
2376
  }
2328
2377
 
2329
- :is([role="search"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus), .group:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus)) {
2378
+ [role="search"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus), .group:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus) {
2330
2379
  --cirth-group-box-shadow-focus-with-button: 0
2331
2380
  0
2332
2381
  0
@@ -2334,7 +2383,7 @@ nav details.dropdown summary:focus-visible {
2334
2383
  var(--cirth-secondary-focus);
2335
2384
  }
2336
2385
 
2337
- :is([role="search"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus), .group:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus)) {
2386
+ [role="search"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus), .group:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus) {
2338
2387
  --cirth-group-box-shadow-focus-with-button: 0
2339
2388
  0
2340
2389
  0
@@ -2350,112 +2399,133 @@ details summary[role="button"]:not(.outline):after {
2350
2399
  filter: brightness(0) invert();
2351
2400
  }
2352
2401
 
2402
+ :root, :host {
2403
+ --cirth-canvas: light-dark(oklch(97.4% .004 69.35), oklch(20.15% .003 264));
2404
+ --cirth-color: light-dark(oklch(35.3% .021 264), oklch(83% .016 264));
2405
+ --cirth-text-selection-color: light-dark(oklch(65.7% .121 69.35 / .25), oklch(70% .129 69.35 / .1875));
2406
+ --cirth-muted-color: light-dark(oklch(52.7% .032 264), oklch(61.3% .032 264));
2407
+ --cirth-muted-border-color: light-dark(oklch(93.85% .003 264), oklch(26.7% .011 264));
2408
+ --cirth-error: light-dark(oklch(44% .151 29.73), oklch(74.3% .133 29.73));
2409
+ --cirth-success: light-dark(oklch(52.7% .1 160.59), oklch(65.7% .125 160.59));
2410
+ --cirth-warning: light-dark(oklch(48.3% .086 78), oklch(70% .124 78));
2411
+ --cirth-primary: light-dark(oklch(52.7% .097 69.35), oklch(70% .129 69.35));
2412
+ --cirth-secondary: light-dark(oklch(52.7% .032 264), oklch(70% .028 264));
2413
+ --cirth-secondary-underline: light-dark(oklch(52.7% .032 264 / .5), oklch(70% .028 264 / .5));
2414
+ --cirth-secondary-hover: light-dark(oklch(44% .028 264), oklch(78.7% .021 264));
2415
+ --cirth-secondary-hover-background: light-dark(oklch(44% .028 264), oklch(52.7% .032 264));
2416
+ --cirth-secondary-focus: light-dark(oklch(48.3% .03 264 / .7), oklch(70% .028 264 / .7));
2417
+ --cirth-contrast: light-dark(oklch(22.3% .006 264), oklch(91.7% .006 264));
2418
+ --cirth-contrast-background: light-dark(oklch(22.3% .006 264), oklch(96% 0 264));
2419
+ --cirth-contrast-underline: light-dark(oklch(22.3% .006 264 / .5), oklch(91.7% .006 264 / .5));
2420
+ --cirth-contrast-hover: light-dark(oklch(0% 0 0), oklch(100% 0 0));
2421
+ --cirth-contrast-hover-background: light-dark(oklch(0% 0 0), oklch(100% 0 0));
2422
+ --cirth-contrast-focus: light-dark(oklch(48.3% .03 264 / .7), oklch(87.3% .011 264 / .5));
2423
+ --cirth-contrast-inverse: light-dark(oklch(100% 0 0), oklch(0% 0 0));
2424
+ --cirth-link-visited-color: light-dark(oklch(48.3% .03 264), oklch(65.7% .03 264));
2425
+ --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),
2426
+ .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));
2427
+ --cirth-h1-color: light-dark(oklch(22.3% .006 264), oklch(96% 0 264));
2428
+ --cirth-h2-color: light-dark(oklch(26.7% .011 264), oklch(91.7% .006 264));
2429
+ --cirth-h3-color: light-dark(oklch(31% .016 264), oklch(83% .016 264));
2430
+ --cirth-h4-color: light-dark(oklch(35.3% .021 264), oklch(78.7% .021 264));
2431
+ --cirth-h5-color: light-dark(oklch(39.7% .025 264), oklch(74.3% .025 264));
2432
+ --cirth-h6-color: light-dark(oklch(44% .028 264), oklch(65.7% .03 264));
2433
+ --cirth-mark-color: light-dark(oklch(18% 0 264), oklch(100% 0 0));
2434
+ --cirth-code-background-color: light-dark(oklch(97% 0 288), oklch(23.4% .00725 264));
2435
+ --cirth-code-color: light-dark(oklch(52.7% .032 264), oklch(65.7% .03 264));
2436
+ --cirth-form-element-background-color: light-dark(oklch(99% 0 336), oklch(24.5% .0085 264));
2437
+ --cirth-form-element-selected-background-color: light-dark(oklch(91.7% .006 264), oklch(31% .016 264));
2438
+ --cirth-form-element-border-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
2439
+ --cirth-form-element-color: light-dark(oklch(26.7% .011 264), oklch(91.7% .006 264));
2440
+ --cirth-form-element-active-background-color: light-dark(oklch(100% 0 0), oklch(23.4% .00725 264));
2441
+ --cirth-switch-background-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
2442
+ --cirth-range-border-color: light-dark(oklch(91.7% .006 264), oklch(26.7% .011 264));
2443
+ --cirth-range-active-border-color: light-dark(oklch(83% .016 264), oklch(31% .016 264));
2444
+ --cirth-card-background-color: light-dark(oklch(100% 0 0), oklch(22.3% .006 264));
2445
+ --cirth-card-sectioning-background-color: light-dark(oklch(99% 0 336), oklch(23.4% .00725 264));
2446
+ --cirth-dropdown-background-color: light-dark(oklch(100% 0 0), oklch(22.3% .006 264));
2447
+ --cirth-dropdown-border-color: light-dark(oklch(96% 0 264), oklch(26.7% .011 264));
2448
+ --cirth-dropdown-hover-background-color: light-dark(oklch(96% 0 264), oklch(26.7% .011 264));
2449
+ --cirth-progress-background-color: light-dark(oklch(91.7% .006 264), oklch(26.7% .011 264));
2450
+ --cirth-progress-border-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
2451
+ }
2452
+
2353
2453
  :where([data-theme="light"]), :root:where(:not([data-theme="dark"])), :host(:where(:not([data-theme="dark"]))) {
2354
- --lightningcss-light: initial;
2355
- --lightningcss-dark: ;
2356
2454
  color-scheme: light;
2357
- --cirth-background-color: oklch(97.4% .004 69.35);
2358
- --cirth-color: oklch(35.3% .021 264);
2359
- --cirth-text-selection-color: oklch(65.7% .121 69.35 / .25);
2360
- --cirth-muted-color: oklch(52.7% .032 264);
2361
- --cirth-muted-border-color: oklch(93.85% .003 264);
2362
- --cirth-primary: oklch(52.7% .097 69.35);
2363
- --cirth-primary-background: oklch(52.7% .097 69.35);
2455
+ --cirth-error-text: color-mix(in oklch, var(--cirth-error) 80.2%, black);
2456
+ --cirth-error-border: oklch(from var(--cirth-error) calc(l * 1.493) calc(c * 1.298) h);
2457
+ --cirth-error-active: oklch(from var(--cirth-error) calc(l * 1.198) calc(c * 1.199) h);
2458
+ --cirth-error-surface: oklch(from var(--cirth-error) 93% .05 h);
2459
+ --cirth-success-text: color-mix(in oklch, var(--cirth-success) 67%, black);
2460
+ --cirth-success-border: oklch(from var(--cirth-success) calc(l * 1.163) calc(c * 1.17) h);
2461
+ --cirth-success-active: var(--cirth-success);
2462
+ --cirth-success-surface: oklch(from var(--cirth-success) 93% .05 h);
2463
+ --cirth-warning-text: color-mix(in oklch, var(--cirth-warning) 73.1%, black);
2464
+ --cirth-warning-border: oklch(from var(--cirth-warning) calc(l * 1.269) calc(c * 1.267) h);
2465
+ --cirth-warning-active: oklch(from var(--cirth-warning) calc(l * 1.091) calc(c * 1.081) h);
2466
+ --cirth-warning-surface: oklch(from var(--cirth-warning) 93% .05 h);
2467
+ --cirth-primary-background: var(--cirth-primary);
2364
2468
  --cirth-primary-border: var(--cirth-primary-background);
2365
- --cirth-primary-underline: oklch(52.7% .097 69.35 / .5);
2366
- --cirth-primary-hover: oklch(44% .081 69.35);
2367
- --cirth-primary-hover-background: oklch(48.3% .089 69.35);
2469
+ --cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
2470
+ --cirth-primary-hover: color-mix(in oklch, var(--cirth-primary) 83.5%, black);
2471
+ --cirth-primary-hover-background: color-mix(in oklch,
2472
+ var(--cirth-primary) 91.7%,
2473
+ black);
2368
2474
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2369
2475
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
2370
- --cirth-primary-focus: oklch(52.7% .097 69.35 / .75);
2476
+ --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 75%);
2371
2477
  --cirth-primary-inverse: oklch(100% 0 0);
2372
- --cirth-secondary: oklch(52.7% .032 264);
2373
2478
  --cirth-secondary-background: oklch(48.3% .03 264);
2374
2479
  --cirth-secondary-border: var(--cirth-secondary-background);
2375
- --cirth-secondary-underline: oklch(52.7% .032 264 / .5);
2376
- --cirth-secondary-hover: oklch(44% .028 264);
2377
- --cirth-secondary-hover-background: oklch(44% .028 264);
2378
2480
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2379
2481
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2380
- --cirth-secondary-focus: oklch(48.3% .03 264 / .7);
2381
2482
  --cirth-secondary-inverse: oklch(100% 0 0);
2382
- --cirth-contrast: oklch(22.3% .006 264);
2383
- --cirth-contrast-background: oklch(22.3% .006 264);
2384
2483
  --cirth-contrast-border: var(--cirth-contrast-background);
2385
- --cirth-contrast-underline: oklch(22.3% .006 264 / .5);
2386
- --cirth-contrast-hover: oklch(0% 0 0);
2387
- --cirth-contrast-hover-background: oklch(0% 0 0);
2388
2484
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2389
2485
  --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
2390
- --cirth-contrast-focus: oklch(48.3% .03 264 / .7);
2391
- --cirth-contrast-inverse: oklch(100% 0 0);
2392
- --cirth-link-visited-color: oklch(48.3% .03 264);
2393
- --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);
2394
- --cirth-h1-color: oklch(22.3% .006 264);
2395
- --cirth-h2-color: oklch(26.7% .011 264);
2396
- --cirth-h3-color: oklch(31% .016 264);
2397
- --cirth-h4-color: oklch(35.3% .021 264);
2398
- --cirth-h5-color: oklch(39.7% .025 264);
2399
- --cirth-h6-color: oklch(44% .028 264);
2400
- --cirth-mark-background-color: oklch(93% .05 78);
2401
- --cirth-mark-color: oklch(18% 0 264);
2402
- --cirth-ins-color: oklch(35.3% .067 160.59);
2403
- --cirth-del-color: oklch(35.3% .122 29.73);
2486
+ --cirth-mark-background-color: var(--cirth-warning-surface);
2487
+ --cirth-ins-color: var(--cirth-success-text);
2488
+ --cirth-del-color: var(--cirth-error-text);
2404
2489
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2405
2490
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
2406
2491
  --cirth-button-box-shadow: 0 0 0 #0000;
2407
2492
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
2408
2493
  --cirth-table-border-color: var(--cirth-muted-border-color);
2409
2494
  --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2410
- --cirth-code-background-color: oklch(97% 0 288);
2411
- --cirth-code-color: oklch(52.7% .032 264);
2412
2495
  --cirth-code-kbd-background-color: var(--cirth-color);
2413
2496
  --cirth-code-kbd-color: var(--cirth-background-color);
2414
- --cirth-form-element-background-color: oklch(99% 0 336);
2415
- --cirth-form-element-selected-background-color: oklch(91.7% .006 264);
2416
- --cirth-form-element-border-color: oklch(61.3% .032 264);
2417
- --cirth-form-element-color: oklch(26.7% .011 264);
2418
2497
  --cirth-form-element-placeholder-color: var(--cirth-muted-color);
2419
- --cirth-form-element-active-background-color: oklch(100% 0 0);
2420
2498
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
2421
2499
  --cirth-form-element-focus-color: var(--cirth-primary-border);
2422
2500
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2423
- --cirth-form-element-invalid-border-color: oklch(65.7% .196 29.73);
2424
- --cirth-form-element-invalid-active-border-color: oklch(52.7% .181 29.73);
2501
+ --cirth-form-element-invalid-border-color: var(--cirth-error-border);
2502
+ --cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
2425
2503
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2426
- --cirth-form-element-valid-border-color: oklch(61.3% .117 160.59);
2427
- --cirth-form-element-valid-active-border-color: oklch(52.7% .1 160.59);
2504
+ --cirth-form-element-valid-border-color: var(--cirth-success-border);
2505
+ --cirth-form-element-valid-active-border-color: var(--cirth-success-active);
2428
2506
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2429
- --cirth-switch-background-color: oklch(61.3% .032 264);
2507
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2430
2508
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2431
2509
  --cirth-switch-color: var(--cirth-primary-inverse);
2432
- --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2433
- --cirth-range-border-color: oklch(91.7% .006 264);
2434
- --cirth-range-active-border-color: oklch(83% .016 264);
2435
2510
  --cirth-range-thumb-border-color: var(--cirth-background-color);
2436
2511
  --cirth-range-thumb-color: var(--cirth-secondary-background);
2437
2512
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
2438
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
2439
2513
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2440
2514
  --cirth-accordion-close-summary-color: var(--cirth-color);
2441
2515
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2442
- --cirth-card-background-color: oklch(100% 0 0);
2443
2516
  --cirth-card-border-color: var(--cirth-muted-border-color);
2444
2517
  --cirth-card-box-shadow: var(--cirth-box-shadow);
2445
- --cirth-card-sectioning-background-color: oklch(99% 0 336);
2446
- --cirth-dropdown-background-color: oklch(100% 0 0);
2447
- --cirth-dropdown-border-color: oklch(96% 0 264);
2448
2518
  --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
2449
2519
  --cirth-dropdown-color: var(--cirth-color);
2450
- --cirth-dropdown-hover-background-color: oklch(96% 0 264);
2451
- --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2452
2520
  --cirth-modal-overlay-background-color: oklch(93.85% .003 264deg / var(--cirth-opacity-overlay));
2453
- --cirth-meter-optimum-color: oklch(52.7% .1 160.59);
2454
- --cirth-meter-suboptimum-color: oklch(48.3% .086 78);
2455
- --cirth-meter-even-less-good-color: oklch(44% .151 29.73);
2456
- --cirth-progress-background-color: oklch(91.7% .006 264);
2457
- --cirth-progress-border-color: oklch(61.3% .032 264);
2521
+ --cirth-meter-optimum-color: var(--cirth-success);
2522
+ --cirth-meter-suboptimum-color: var(--cirth-warning);
2523
+ --cirth-meter-even-less-good-color: var(--cirth-error);
2458
2524
  --cirth-progress-color: var(--cirth-primary-background);
2525
+ --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");
2526
+ --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");
2527
+ --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");
2528
+ --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");
2459
2529
  --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");
2460
2530
  --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");
2461
2531
  }
@@ -2466,111 +2536,83 @@ details summary[role="button"]:not(.outline):after {
2466
2536
 
2467
2537
  @media only screen and (prefers-color-scheme: dark) {
2468
2538
  :root:where(:not([data-theme])), :host(:where(:not([data-theme]))) {
2469
- --lightningcss-light: ;
2470
- --lightningcss-dark: initial;
2471
2539
  color-scheme: dark;
2472
- --cirth-background-color: oklch(20.15% .003 264);
2473
- --cirth-color: oklch(83% .016 264);
2474
- --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2475
- --cirth-muted-color: oklch(61.3% .032 264);
2476
- --cirth-muted-border-color: oklch(26.7% .011 264);
2477
- --cirth-primary: oklch(70% .129 69.35);
2478
- --cirth-primary-background: oklch(52.7% .097 69.35);
2540
+ --cirth-error-text: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
2541
+ --cirth-error-border: oklch(from var(--cirth-error) calc(l * .942) calc(c * 1.226) h);
2542
+ --cirth-error-active: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
2543
+ --cirth-error-surface: oklch(from var(--cirth-error) 35.3% .063 h);
2544
+ --cirth-success-text: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
2545
+ --cirth-success-border: oklch(from var(--cirth-success) calc(l * 1.065) calc(c * 1.064) h);
2546
+ --cirth-success-active: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
2547
+ --cirth-success-surface: oklch(from var(--cirth-success) 35.3% .063 h);
2548
+ --cirth-warning-text: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
2549
+ --cirth-warning-border: var(--cirth-warning);
2550
+ --cirth-warning-active: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
2551
+ --cirth-warning-surface: oklch(from var(--cirth-warning) 35.3% .063 h);
2552
+ --cirth-primary-background: color-mix(in oklch,
2553
+ var(--cirth-primary) 75.2%,
2554
+ black);
2479
2555
  --cirth-primary-border: var(--cirth-primary-background);
2480
- --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2481
- --cirth-primary-hover: oklch(78.7% .146 69.35);
2482
- --cirth-primary-hover-background: oklch(57% .105 69.35);
2556
+ --cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
2557
+ --cirth-primary-hover: oklch(from var(--cirth-primary) calc(l * 1.124) calc(c * 1.132) h);
2558
+ --cirth-primary-hover-background: color-mix(in oklch,
2559
+ var(--cirth-primary) 81.4%,
2560
+ black);
2483
2561
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2484
2562
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
2485
- --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2563
+ --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 70%);
2486
2564
  --cirth-primary-inverse: oklch(100% 0 0);
2487
- --cirth-secondary: oklch(70% .028 264);
2488
2565
  --cirth-secondary-background: oklch(48.3% .03 264);
2489
2566
  --cirth-secondary-border: var(--cirth-secondary-background);
2490
- --cirth-secondary-underline: oklch(70% .028 264 / .5);
2491
- --cirth-secondary-hover: oklch(78.7% .021 264);
2492
- --cirth-secondary-hover-background: oklch(52.7% .032 264);
2493
2567
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2494
2568
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2495
- --cirth-secondary-focus: oklch(70% .028 264 / .7);
2496
2569
  --cirth-secondary-inverse: oklch(100% 0 0);
2497
- --cirth-contrast: oklch(91.7% .006 264);
2498
- --cirth-contrast-background: oklch(96% 0 264);
2499
2570
  --cirth-contrast-border: var(--cirth-contrast-background);
2500
- --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2501
- --cirth-contrast-hover: oklch(100% 0 0);
2502
- --cirth-contrast-hover-background: oklch(100% 0 0);
2503
2571
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2504
2572
  --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2505
- --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2506
- --cirth-contrast-inverse: oklch(0% 0 0);
2507
- --cirth-link-visited-color: oklch(65.7% .03 264);
2508
- --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);
2509
- --cirth-h1-color: oklch(96% 0 264);
2510
- --cirth-h2-color: oklch(91.7% .006 264);
2511
- --cirth-h3-color: oklch(83% .016 264);
2512
- --cirth-h4-color: oklch(78.7% .021 264);
2513
- --cirth-h5-color: oklch(74.3% .025 264);
2514
- --cirth-h6-color: oklch(65.7% .03 264);
2515
- --cirth-mark-background-color: oklch(35.3% .063 78);
2516
- --cirth-mark-color: oklch(100% 0 0);
2517
- --cirth-ins-color: oklch(78.7% .15 160.59);
2518
- --cirth-del-color: oklch(78.7% .106 29.73);
2573
+ --cirth-mark-background-color: var(--cirth-warning-surface);
2574
+ --cirth-ins-color: var(--cirth-success-text);
2575
+ --cirth-del-color: var(--cirth-error-text);
2519
2576
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2520
2577
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
2521
2578
  --cirth-button-box-shadow: 0 0 0 #0000;
2522
2579
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
2523
2580
  --cirth-table-border-color: var(--cirth-muted-border-color);
2524
2581
  --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2525
- --cirth-code-background-color: oklch(23.4% .00725 264);
2526
- --cirth-code-color: oklch(65.7% .03 264);
2527
2582
  --cirth-code-kbd-background-color: var(--cirth-color);
2528
2583
  --cirth-code-kbd-color: var(--cirth-background-color);
2529
- --cirth-form-element-background-color: oklch(24.5% .0085 264);
2530
- --cirth-form-element-selected-background-color: oklch(31% .016 264);
2531
- --cirth-form-element-border-color: oklch(52.7% .032 264);
2532
- --cirth-form-element-color: oklch(91.7% .006 264);
2533
2584
  --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2534
- --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
2535
2585
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
2536
2586
  --cirth-form-element-focus-color: var(--cirth-primary-border);
2537
2587
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2538
- --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2539
- --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
2588
+ --cirth-form-element-invalid-border-color: var(--cirth-error-border);
2589
+ --cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
2540
2590
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2541
- --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2542
- --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
2591
+ --cirth-form-element-valid-border-color: var(--cirth-success-border);
2592
+ --cirth-form-element-valid-active-border-color: var(--cirth-success-active);
2543
2593
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2544
- --cirth-switch-background-color: oklch(52.7% .032 264);
2594
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2545
2595
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2546
2596
  --cirth-switch-color: var(--cirth-primary-inverse);
2547
- --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2548
- --cirth-range-border-color: oklch(26.7% .011 264);
2549
- --cirth-range-active-border-color: oklch(31% .016 264);
2550
2597
  --cirth-range-thumb-border-color: var(--cirth-background-color);
2551
2598
  --cirth-range-thumb-color: var(--cirth-secondary-background);
2552
2599
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
2553
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
2554
2600
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2555
2601
  --cirth-accordion-close-summary-color: var(--cirth-color);
2556
2602
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2557
- --cirth-card-background-color: oklch(22.3% .006 264);
2558
2603
  --cirth-card-border-color: var(--cirth-card-background-color);
2559
2604
  --cirth-card-box-shadow: var(--cirth-box-shadow);
2560
- --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2561
- --cirth-dropdown-background-color: oklch(22.3% .006 264);
2562
- --cirth-dropdown-border-color: oklch(26.7% .011 264);
2563
2605
  --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
2564
2606
  --cirth-dropdown-color: var(--cirth-color);
2565
- --cirth-dropdown-hover-background-color: oklch(26.7% .011 264);
2566
- --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2567
2607
  --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2568
- --cirth-meter-optimum-color: oklch(65.7% .125 160.59);
2569
- --cirth-meter-suboptimum-color: oklch(70% .124 78);
2570
- --cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
2571
- --cirth-progress-background-color: oklch(26.7% .011 264);
2572
- --cirth-progress-border-color: oklch(52.7% .032 264);
2608
+ --cirth-meter-optimum-color: var(--cirth-success);
2609
+ --cirth-meter-suboptimum-color: var(--cirth-warning);
2610
+ --cirth-meter-even-less-good-color: var(--cirth-error);
2573
2611
  --cirth-progress-color: oklch(61.3% .113 69.35);
2612
+ --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");
2613
+ --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");
2614
+ --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");
2615
+ --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");
2574
2616
  --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");
2575
2617
  --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");
2576
2618
  }
@@ -2585,111 +2627,83 @@ details summary[role="button"]:not(.outline):after {
2585
2627
  }
2586
2628
 
2587
2629
  :where([data-theme="dark"]) {
2588
- --lightningcss-light: ;
2589
- --lightningcss-dark: initial;
2590
2630
  color-scheme: dark;
2591
- --cirth-background-color: oklch(20.15% .003 264);
2592
- --cirth-color: oklch(83% .016 264);
2593
- --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2594
- --cirth-muted-color: oklch(61.3% .032 264);
2595
- --cirth-muted-border-color: oklch(26.7% .011 264);
2596
- --cirth-primary: oklch(70% .129 69.35);
2597
- --cirth-primary-background: oklch(52.7% .097 69.35);
2631
+ --cirth-error-text: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
2632
+ --cirth-error-border: oklch(from var(--cirth-error) calc(l * .942) calc(c * 1.226) h);
2633
+ --cirth-error-active: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
2634
+ --cirth-error-surface: oklch(from var(--cirth-error) 35.3% .063 h);
2635
+ --cirth-success-text: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
2636
+ --cirth-success-border: oklch(from var(--cirth-success) calc(l * 1.065) calc(c * 1.064) h);
2637
+ --cirth-success-active: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
2638
+ --cirth-success-surface: oklch(from var(--cirth-success) 35.3% .063 h);
2639
+ --cirth-warning-text: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
2640
+ --cirth-warning-border: var(--cirth-warning);
2641
+ --cirth-warning-active: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
2642
+ --cirth-warning-surface: oklch(from var(--cirth-warning) 35.3% .063 h);
2643
+ --cirth-primary-background: color-mix(in oklch,
2644
+ var(--cirth-primary) 75.2%,
2645
+ black);
2598
2646
  --cirth-primary-border: var(--cirth-primary-background);
2599
- --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2600
- --cirth-primary-hover: oklch(78.7% .146 69.35);
2601
- --cirth-primary-hover-background: oklch(57% .105 69.35);
2647
+ --cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
2648
+ --cirth-primary-hover: oklch(from var(--cirth-primary) calc(l * 1.124) calc(c * 1.132) h);
2649
+ --cirth-primary-hover-background: color-mix(in oklch,
2650
+ var(--cirth-primary) 81.4%,
2651
+ black);
2602
2652
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2603
2653
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
2604
- --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2654
+ --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 70%);
2605
2655
  --cirth-primary-inverse: oklch(100% 0 0);
2606
- --cirth-secondary: oklch(70% .028 264);
2607
2656
  --cirth-secondary-background: oklch(48.3% .03 264);
2608
2657
  --cirth-secondary-border: var(--cirth-secondary-background);
2609
- --cirth-secondary-underline: oklch(70% .028 264 / .5);
2610
- --cirth-secondary-hover: oklch(78.7% .021 264);
2611
- --cirth-secondary-hover-background: oklch(52.7% .032 264);
2612
2658
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2613
2659
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2614
- --cirth-secondary-focus: oklch(70% .028 264 / .7);
2615
2660
  --cirth-secondary-inverse: oklch(100% 0 0);
2616
- --cirth-contrast: oklch(91.7% .006 264);
2617
- --cirth-contrast-background: oklch(96% 0 264);
2618
2661
  --cirth-contrast-border: var(--cirth-contrast-background);
2619
- --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2620
- --cirth-contrast-hover: oklch(100% 0 0);
2621
- --cirth-contrast-hover-background: oklch(100% 0 0);
2622
2662
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2623
2663
  --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2624
- --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2625
- --cirth-contrast-inverse: oklch(0% 0 0);
2626
- --cirth-link-visited-color: oklch(65.7% .03 264);
2627
- --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);
2628
- --cirth-h1-color: oklch(96% 0 264);
2629
- --cirth-h2-color: oklch(91.7% .006 264);
2630
- --cirth-h3-color: oklch(83% .016 264);
2631
- --cirth-h4-color: oklch(78.7% .021 264);
2632
- --cirth-h5-color: oklch(74.3% .025 264);
2633
- --cirth-h6-color: oklch(65.7% .03 264);
2634
- --cirth-mark-background-color: oklch(35.3% .063 78);
2635
- --cirth-mark-color: oklch(100% 0 0);
2636
- --cirth-ins-color: oklch(78.7% .15 160.59);
2637
- --cirth-del-color: oklch(78.7% .106 29.73);
2664
+ --cirth-mark-background-color: var(--cirth-warning-surface);
2665
+ --cirth-ins-color: var(--cirth-success-text);
2666
+ --cirth-del-color: var(--cirth-error-text);
2638
2667
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2639
2668
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
2640
2669
  --cirth-button-box-shadow: 0 0 0 #0000;
2641
2670
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
2642
2671
  --cirth-table-border-color: var(--cirth-muted-border-color);
2643
2672
  --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2644
- --cirth-code-background-color: oklch(23.4% .00725 264);
2645
- --cirth-code-color: oklch(65.7% .03 264);
2646
2673
  --cirth-code-kbd-background-color: var(--cirth-color);
2647
2674
  --cirth-code-kbd-color: var(--cirth-background-color);
2648
- --cirth-form-element-background-color: oklch(24.5% .0085 264);
2649
- --cirth-form-element-selected-background-color: oklch(31% .016 264);
2650
- --cirth-form-element-border-color: oklch(52.7% .032 264);
2651
- --cirth-form-element-color: oklch(91.7% .006 264);
2652
2675
  --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2653
- --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
2654
2676
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
2655
2677
  --cirth-form-element-focus-color: var(--cirth-primary-border);
2656
2678
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2657
- --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2658
- --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
2679
+ --cirth-form-element-invalid-border-color: var(--cirth-error-border);
2680
+ --cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
2659
2681
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2660
- --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2661
- --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
2682
+ --cirth-form-element-valid-border-color: var(--cirth-success-border);
2683
+ --cirth-form-element-valid-active-border-color: var(--cirth-success-active);
2662
2684
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2663
- --cirth-switch-background-color: oklch(52.7% .032 264);
2685
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2664
2686
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2665
2687
  --cirth-switch-color: var(--cirth-primary-inverse);
2666
- --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2667
- --cirth-range-border-color: oklch(26.7% .011 264);
2668
- --cirth-range-active-border-color: oklch(31% .016 264);
2669
2688
  --cirth-range-thumb-border-color: var(--cirth-background-color);
2670
2689
  --cirth-range-thumb-color: var(--cirth-secondary-background);
2671
2690
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
2672
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
2673
2691
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2674
2692
  --cirth-accordion-close-summary-color: var(--cirth-color);
2675
2693
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2676
- --cirth-card-background-color: oklch(22.3% .006 264);
2677
2694
  --cirth-card-border-color: var(--cirth-card-background-color);
2678
2695
  --cirth-card-box-shadow: var(--cirth-box-shadow);
2679
- --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2680
- --cirth-dropdown-background-color: oklch(22.3% .006 264);
2681
- --cirth-dropdown-border-color: oklch(26.7% .011 264);
2682
2696
  --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
2683
2697
  --cirth-dropdown-color: var(--cirth-color);
2684
- --cirth-dropdown-hover-background-color: oklch(26.7% .011 264);
2685
- --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2686
2698
  --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2687
- --cirth-meter-optimum-color: oklch(65.7% .125 160.59);
2688
- --cirth-meter-suboptimum-color: oklch(70% .124 78);
2689
- --cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
2690
- --cirth-progress-background-color: oklch(26.7% .011 264);
2691
- --cirth-progress-border-color: oklch(52.7% .032 264);
2699
+ --cirth-meter-optimum-color: var(--cirth-success);
2700
+ --cirth-meter-suboptimum-color: var(--cirth-warning);
2701
+ --cirth-meter-even-less-good-color: var(--cirth-error);
2692
2702
  --cirth-progress-color: oklch(61.3% .113 69.35);
2703
+ --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");
2704
+ --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");
2705
+ --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");
2706
+ --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");
2693
2707
  --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");
2694
2708
  --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");
2695
2709
  }
@@ -2720,6 +2734,10 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2720
2734
  --cirth-code-color: oklch(35.3% .021 264);
2721
2735
  --cirth-link-visited-color: oklch(35.3% .021 264);
2722
2736
  --cirth-muted-border-color: oklch(57% .032 264);
2737
+ --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");
2738
+ --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");
2739
+ --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");
2740
+ --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");
2723
2741
  --cirth-form-element-border-color: oklch(39.7% .025 264);
2724
2742
  --cirth-form-element-invalid-border-color: oklch(48.3% .166 29.73);
2725
2743
  --cirth-form-element-valid-border-color: oklch(48.3% .092 160.59);
@@ -2750,6 +2768,10 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2750
2768
  --cirth-h5-color: var(--cirth-color);
2751
2769
  --cirth-h6-color: var(--cirth-color);
2752
2770
  --cirth-muted-color: oklch(78.7% .021 264);
2771
+ --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");
2772
+ --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");
2773
+ --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");
2774
+ --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");
2753
2775
  --cirth-secondary: oklch(78.7% .021 264);
2754
2776
  --cirth-code-color: oklch(83% .016 264);
2755
2777
  --cirth-link-visited-color: oklch(78.7% .021 264);
@@ -2760,6 +2782,8 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2760
2782
  --cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
2761
2783
  --cirth-primary: oklch(78.7% .146 69.35);
2762
2784
  --cirth-primary-hover: oklch(87.3% .082 69.35);
2785
+ --cirth-primary-background: oklch(44% .081 69.35);
2786
+ --cirth-primary-hover-background: oklch(39.7% .073 69.35);
2763
2787
  --cirth-primary-underline: var(--cirth-primary);
2764
2788
  --cirth-secondary-underline: var(--cirth-secondary);
2765
2789
  --cirth-contrast-underline: var(--cirth-contrast);
@@ -2785,6 +2809,10 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2785
2809
  --cirth-h5-color: var(--cirth-color);
2786
2810
  --cirth-h6-color: var(--cirth-color);
2787
2811
  --cirth-muted-color: oklch(78.7% .021 264);
2812
+ --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");
2813
+ --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");
2814
+ --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");
2815
+ --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");
2788
2816
  --cirth-secondary: oklch(78.7% .021 264);
2789
2817
  --cirth-code-color: oklch(83% .016 264);
2790
2818
  --cirth-link-visited-color: oklch(78.7% .021 264);
@@ -2795,6 +2823,8 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2795
2823
  --cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
2796
2824
  --cirth-primary: oklch(78.7% .146 69.35);
2797
2825
  --cirth-primary-hover: oklch(87.3% .082 69.35);
2826
+ --cirth-primary-background: oklch(44% .081 69.35);
2827
+ --cirth-primary-hover-background: oklch(39.7% .073 69.35);
2798
2828
  --cirth-primary-underline: var(--cirth-primary);
2799
2829
  --cirth-secondary-underline: var(--cirth-secondary);
2800
2830
  --cirth-contrast-underline: var(--cirth-contrast);
@@ -2809,141 +2839,3 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2809
2839
  --cirth-dropdown-border-color: var(--cirth-muted-border-color);
2810
2840
  }
2811
2841
  }
2812
-
2813
- @media print {
2814
- :root, :host {
2815
- --cirth-print-color: oklch(0% 0 0);
2816
- --cirth-print-muted-color: oklch(48.3% .03 264);
2817
- --cirth-print-border-color: oklch(61.3% .032 264);
2818
- }
2819
-
2820
- html {
2821
- --lightningcss-light: initial;
2822
- --lightningcss-dark: ;
2823
- color-scheme: light;
2824
- background: none;
2825
- }
2826
-
2827
- body {
2828
- color: var(--cirth-print-color);
2829
- --lightningcss-light: initial;
2830
- --lightningcss-dark: ;
2831
- color-scheme: light;
2832
- --cirth-color: var(--cirth-print-color);
2833
- --cirth-h1-color: var(--cirth-print-color);
2834
- --cirth-h2-color: var(--cirth-print-color);
2835
- --cirth-h3-color: var(--cirth-print-color);
2836
- --cirth-h4-color: var(--cirth-print-color);
2837
- --cirth-h5-color: var(--cirth-print-color);
2838
- --cirth-h6-color: var(--cirth-print-color);
2839
- --cirth-code-color: var(--cirth-print-color);
2840
- --cirth-code-kbd-color: var(--cirth-print-color);
2841
- --cirth-form-element-color: var(--cirth-print-color);
2842
- --cirth-muted-color: var(--cirth-print-muted-color);
2843
- --cirth-form-element-placeholder-color: var(--cirth-print-muted-color);
2844
- --cirth-primary: var(--cirth-print-color);
2845
- --cirth-primary-hover: var(--cirth-print-color);
2846
- --cirth-primary-underline: var(--cirth-print-color);
2847
- --cirth-secondary: var(--cirth-print-color);
2848
- --cirth-secondary-underline: var(--cirth-print-color);
2849
- --cirth-contrast: var(--cirth-print-color);
2850
- --cirth-contrast-underline: var(--cirth-print-color);
2851
- --cirth-link-visited-color: var(--cirth-print-color);
2852
- --cirth-muted-border-color: var(--cirth-print-border-color);
2853
- --cirth-form-element-border-color: var(--cirth-print-border-color);
2854
- --cirth-box-shadow: none;
2855
- --cirth-card-box-shadow: none;
2856
- --cirth-card-background-color: transparent;
2857
- --cirth-card-sectioning-background-color: transparent;
2858
- --cirth-code-background-color: transparent;
2859
- --cirth-code-kbd-background-color: transparent;
2860
- --cirth-form-element-background-color: transparent;
2861
- --cirth-form-element-active-background-color: transparent;
2862
- --cirth-table-row-stripped-background-color: transparent;
2863
- --cirth-modal-overlay-background-color: transparent;
2864
- --cirth-dropdown-background-color: transparent;
2865
- --cirth-dropdown-box-shadow: none;
2866
- --cirth-ins-color: oklch(35.3% .067 160.59);
2867
- --cirth-del-color: oklch(35.3% .122 29.73);
2868
- --cirth-meter-optimum-color: oklch(52.7% .1 160.59);
2869
- --cirth-meter-suboptimum-color: oklch(48.3% .086 78);
2870
- --cirth-meter-even-less-good-color: oklch(44% .151 29.73);
2871
- background: none;
2872
- }
2873
-
2874
- kbd {
2875
- border: var(--cirth-border-width) solid var(--cirth-print-border-color);
2876
- }
2877
-
2878
- :is(button, [type="submit"], [type="reset"], [type="button"], [role="button"]) {
2879
- border-color: var(--cirth-print-border-color);
2880
- box-shadow: none;
2881
- color: var(--cirth-print-color);
2882
- background: none;
2883
- }
2884
-
2885
- [type="file"]::file-selector-button {
2886
- border-color: var(--cirth-print-border-color);
2887
- box-shadow: none;
2888
- color: var(--cirth-print-color);
2889
- background: none;
2890
- }
2891
-
2892
- :is(mark, meter, progress, [type="checkbox"], [type="radio"]) {
2893
- -webkit-print-color-adjust: exact;
2894
- print-color-adjust: exact;
2895
- }
2896
-
2897
- a[href^="http"]:not([role="button"], nav a):after {
2898
- content: " (" attr(href) ")";
2899
- color: var(--cirth-print-muted-color);
2900
- font-size: var(--cirth-font-size-sm);
2901
- word-break: break-all;
2902
- }
2903
-
2904
- thead {
2905
- display: table-header-group;
2906
- }
2907
-
2908
- tfoot {
2909
- display: table-footer-group;
2910
- }
2911
-
2912
- tr {
2913
- break-inside: avoid;
2914
- }
2915
-
2916
- pre {
2917
- white-space: pre-wrap;
2918
- overflow: visible;
2919
- }
2920
-
2921
- .overflow-auto {
2922
- overflow: visible;
2923
- }
2924
-
2925
- dialog {
2926
- backdrop-filter: none;
2927
- min-width: 0;
2928
- min-height: 0;
2929
- position: static;
2930
- }
2931
-
2932
- dialog > article {
2933
- max-height: none;
2934
- overflow: visible;
2935
- }
2936
-
2937
- :is(h1, h2, h3, h4, h5, h6) {
2938
- break-after: avoid;
2939
- }
2940
-
2941
- :is(figure, img) {
2942
- break-inside: avoid;
2943
- }
2944
-
2945
- :is(blockquote, li, p) {
2946
- orphans: 3;
2947
- widows: 3;
2948
- }
2949
- }