@cirthcss/cirth 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,7 +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-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
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);
310
310
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
311
311
  border: var(--cirth-border-width) solid var(--cirth-border-color);
312
312
  border-radius: var(--cirth-border-radius);
@@ -331,7 +331,7 @@ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
331
331
  --cirth-color: var(--cirth-primary-inverse);
332
332
  --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
333
333
  max-width: 100%;
334
- min-block-size: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
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);
335
335
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
336
336
  border: var(--cirth-border-width) solid var(--cirth-border-color);
337
337
  border-radius: var(--cirth-border-radius);
@@ -460,37 +460,92 @@ button:focus-visible, button[aria-current]:not([aria-current="false"]):focus-vis
460
460
  }
461
461
 
462
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 {
463
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 {
464
472
  --cirth-color: var(--cirth-primary);
465
473
  --cirth-border-color: var(--cirth-primary);
466
474
  }
467
475
 
468
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) {
469
- --cirth-background-color: transparent;
477
+ --cirth-background-color: color-mix(in oklch,
478
+ var(--cirth-primary) 12%,
479
+ var(--cirth-canvas));
470
480
  --cirth-color: var(--cirth-primary-hover);
471
481
  --cirth-border-color: var(--cirth-primary-hover);
472
482
  }
473
483
 
474
- :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 {
475
485
  --cirth-color: var(--cirth-secondary);
476
486
  --cirth-border-color: var(--cirth-secondary);
477
487
  }
478
488
 
479
- :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));
480
493
  --cirth-color: var(--cirth-secondary-hover);
481
494
  --cirth-border-color: var(--cirth-secondary-hover);
482
495
  }
483
496
 
484
- :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 {
485
498
  --cirth-color: var(--cirth-contrast);
486
499
  --cirth-border-color: var(--cirth-contrast);
487
500
  }
488
501
 
489
- :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));
490
506
  --cirth-color: var(--cirth-contrast-hover);
491
507
  --cirth-border-color: var(--cirth-contrast-hover);
492
508
  }
493
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
+
494
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"]) {
495
550
  opacity: var(--cirth-opacity-disabled);
496
551
  pointer-events: none;
@@ -643,7 +698,7 @@ legend {
643
698
  }
644
699
 
645
700
  [type="search"] {
646
- -webkit-appearance: textfield;
701
+ appearance: textfield;
647
702
  outline-offset: -2px;
648
703
  }
649
704
 
@@ -652,7 +707,7 @@ legend {
652
707
  }
653
708
 
654
709
  ::file-selector-button {
655
- -webkit-appearance: button;
710
+ appearance: auto;
656
711
  font: inherit;
657
712
  }
658
713
 
@@ -666,11 +721,11 @@ legend {
666
721
  }
667
722
 
668
723
  input:not([type="checkbox"], [type="radio"], [type="range"]) {
669
- 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);
670
725
  }
671
726
 
672
727
  select, textarea {
673
- min-block-size: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
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);
674
729
  }
675
730
 
676
731
  fieldset {
@@ -724,6 +779,12 @@ input:not([type="submit"], [type="button"], [type="reset"], [role="switch"], [re
724
779
  --cirth-border-color: var(--cirth-form-element-active-border-color);
725
780
  }
726
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
+
727
788
  input:not([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly]):focus, :where(select, textarea):not([readonly]):focus {
728
789
  --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
729
790
  var(--cirth-form-element-focus-color);
@@ -742,7 +803,7 @@ label[aria-disabled="true"] input[disabled] {
742
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)) {
743
804
  padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
744
805
  background-position: center right var(--cirth-space-3);
745
- background-size: var(--cirth-size-4) auto;
806
+ background-size: var(--cirth-font-size-md) auto;
746
807
  background-repeat: no-repeat;
747
808
  }
748
809
 
@@ -801,7 +862,7 @@ select:not([multiple], [size]) {
801
862
  padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
802
863
  background-image: var(--cirth-icon-chevron);
803
864
  background-position: center right var(--cirth-space-3);
804
- background-size: var(--cirth-size-4) auto;
865
+ background-size: var(--cirth-font-size-md) auto;
805
866
  background-repeat: no-repeat;
806
867
  }
807
868
 
@@ -824,11 +885,11 @@ textarea:not([rows]) {
824
885
  }
825
886
 
826
887
  textarea:is([aria-invalid], :user-invalid:not([aria-invalid], [type="range"]):not(select:focus)) {
827
- --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) +
828
889
  var(--cirth-form-element-spacing-vertical) * 2 +
829
890
  var(--cirth-border-width) * 2);
830
891
  background-position: top right var(--cirth-space-3);
831
- background-size: var(--cirth-size-4) var(--cirth-icon-height);
892
+ background-size: var(--cirth-font-size-md) var(--cirth-icon-height);
832
893
  }
833
894
 
834
895
  :where(input, select, textarea, fieldset, .row) + small {
@@ -870,10 +931,6 @@ label:has([type="checkbox"], [type="radio"]) {
870
931
  [type="checkbox"]:checked, [type="checkbox"]:checked:active, [type="checkbox"]:checked:focus, [type="radio"]:checked, [type="radio"]:checked:active, [type="radio"]:checked:focus {
871
932
  --cirth-background-color: var(--cirth-primary-background);
872
933
  --cirth-border-color: var(--cirth-primary-border);
873
- background-image: var(--cirth-icon-checkbox);
874
- background-position: center;
875
- background-repeat: no-repeat;
876
- background-size: .9em;
877
934
  }
878
935
 
879
936
  [type="checkbox"] ~ label, [type="radio"] ~ label {
@@ -886,13 +943,34 @@ label:has([type="checkbox"], [type="radio"]) {
886
943
  margin-inline-end: 1em;
887
944
  }
888
945
 
889
- [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 {
890
968
  --cirth-background-color: var(--cirth-primary-background);
891
969
  --cirth-border-color: var(--cirth-primary-border);
892
- background-image: var(--cirth-icon-minus);
893
- background-position: center;
894
- background-repeat: no-repeat;
895
- background-size: .9em;
970
+ }
971
+
972
+ [type="checkbox"]:not([role="switch"]):indeterminate:before {
973
+ mask-image: var(--cirth-icon-minus);
896
974
  }
897
975
 
898
976
  [type="radio"] {
@@ -901,7 +979,6 @@ label:has([type="checkbox"], [type="radio"]) {
901
979
 
902
980
  [type="radio"]:checked, [type="radio"]:checked:active, [type="radio"]:checked:focus {
903
981
  --cirth-background-color: var(--cirth-primary-inverse);
904
- background-image: none;
905
982
  border-width: .42em;
906
983
  }
907
984
 
@@ -939,7 +1016,6 @@ label:has([type="checkbox"], [type="radio"]) {
939
1016
  [type="checkbox"][role="switch"]:checked {
940
1017
  --cirth-background-color: var(--cirth-switch-checked-background-color);
941
1018
  --cirth-border-color: var(--cirth-switch-checked-background-color);
942
- background-image: none;
943
1019
  }
944
1020
 
945
1021
  [type="checkbox"][role="switch"]:checked:before {
@@ -986,7 +1062,7 @@ label:has([type="checkbox"], [type="radio"]) {
986
1062
 
987
1063
  input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
988
1064
  --cirth-icon-position: var(--cirth-space-3);
989
- --cirth-icon-width: var(--cirth-size-4);
1065
+ --cirth-icon-width: var(--cirth-font-size-md);
990
1066
  min-width: 0;
991
1067
  background-image: var(--cirth-icon-date);
992
1068
  background-position: center right var(--cirth-icon-position);
@@ -1169,7 +1245,7 @@ details {
1169
1245
  }
1170
1246
 
1171
1247
  details summary {
1172
- line-height: var(--cirth-size-4);
1248
+ line-height: var(--cirth-font-size-md);
1173
1249
  cursor: pointer;
1174
1250
  transition: color var(--cirth-transition);
1175
1251
  list-style-type: none;
@@ -1188,18 +1264,28 @@ details summary::marker {
1188
1264
  }
1189
1265
 
1190
1266
  details summary:after {
1191
- width: var(--cirth-size-4);
1192
- height: var(--cirth-size-4);
1267
+ width: var(--cirth-font-size-md);
1268
+ height: var(--cirth-font-size-md);
1193
1269
  float: right;
1194
- background-image: var(--cirth-icon-chevron);
1195
- background-position: 100%;
1196
- background-size: var(--cirth-size-4) auto;
1197
- content: "";
1198
- transition: transform var(--cirth-transition);
1199
- 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;
1200
1274
  margin-inline-start: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
1201
1275
  display: block;
1202
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);
1203
1289
  }
1204
1290
 
1205
1291
  details summary:focus {
@@ -1222,7 +1308,7 @@ details summary[role="button"] {
1222
1308
  }
1223
1309
 
1224
1310
  details summary[role="button"]:after {
1225
- 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)));
1226
1312
  }
1227
1313
 
1228
1314
  details[open] > summary {
@@ -1282,17 +1368,27 @@ details.dropdown {
1282
1368
  }
1283
1369
 
1284
1370
  details.dropdown > summary:after, details.dropdown > button:after, details.dropdown > a:after {
1285
- width: var(--cirth-size-4);
1286
- 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)));
1287
1373
  float: right;
1288
1374
  transform: rotate(0deg) translateX(calc(var(--cirth-form-element-spacing-horizontal) - var(--cirth-space-3)));
1289
- background-image: var(--cirth-icon-chevron);
1290
- background-position: 100%;
1291
- background-size: var(--cirth-size-4) auto;
1292
- content: "";
1293
- 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;
1294
1379
  margin-inline-start: var(--cirth-space-1);
1295
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: "";
1296
1392
  }
1297
1393
 
1298
1394
  nav details.dropdown {
@@ -1300,7 +1396,7 @@ nav details.dropdown {
1300
1396
  }
1301
1397
 
1302
1398
  details.dropdown > summary:not([role]) {
1303
- 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);
1304
1400
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1305
1401
  border: var(--cirth-border-width) solid var(--cirth-form-element-border-color);
1306
1402
  border-radius: var(--cirth-border-radius);
@@ -1348,7 +1444,7 @@ nav details.dropdown > summary:after {
1348
1444
  }
1349
1445
 
1350
1446
  nav details.dropdown > summary:not([role]) {
1351
- 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);
1352
1448
  padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
1353
1449
  }
1354
1450
 
@@ -1501,7 +1597,7 @@ label > details.dropdown {
1501
1597
  z-index: 2;
1502
1598
  }
1503
1599
 
1504
- :is([role="search"] > :has( + small:last-child), .group > :has( + small:last-child)) {
1600
+ [role="search"] > :has( + small:last-child), .group > :has( + small:last-child) {
1505
1601
  border-start-end-radius: var(--cirth-border-radius);
1506
1602
  border-end-end-radius: var(--cirth-border-radius);
1507
1603
  }
@@ -1514,78 +1610,27 @@ label > details.dropdown {
1514
1610
  width: auto;
1515
1611
  }
1516
1612
 
1517
- @supports selector(:has(*)) {
1518
- :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)) {
1519
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1520
- }
1521
-
1522
- :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])) {
1523
- border-color: #0000;
1524
- }
1525
-
1526
- :is([role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus), .group:has(input:not([type="submit"], [type="button"]):focus, select:focus)) {
1527
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1528
- }
1529
-
1530
- [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1531
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1532
- var(--cirth-primary-border);
1533
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1534
- var(--cirth-primary-hover-border);
1535
- }
1536
-
1537
- [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1538
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1539
- var(--cirth-primary-border);
1540
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1541
- var(--cirth-primary-hover-border);
1542
- }
1543
-
1544
- [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1545
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1546
- var(--cirth-primary-border);
1547
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1548
- var(--cirth-primary-hover-border);
1549
- }
1550
-
1551
- [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1552
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1553
- var(--cirth-primary-border);
1554
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1555
- var(--cirth-primary-hover-border);
1556
- }
1557
-
1558
- .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1559
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1560
- var(--cirth-primary-border);
1561
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1562
- var(--cirth-primary-hover-border);
1563
- }
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
+ }
1564
1616
 
1565
- .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1566
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1567
- var(--cirth-primary-border);
1568
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1569
- var(--cirth-primary-hover-border);
1570
- }
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
+ }
1571
1620
 
1572
- .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1573
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1574
- var(--cirth-primary-border);
1575
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1576
- var(--cirth-primary-hover-border);
1577
- }
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
+ }
1578
1624
 
1579
- .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1580
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1581
- var(--cirth-primary-border);
1582
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1583
- var(--cirth-primary-hover-border);
1584
- }
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
+ }
1585
1631
 
1586
- [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 {
1587
- box-shadow: none;
1588
- }
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;
1589
1634
  }
1590
1635
 
1591
1636
  [role="search"] > :not([hidden], input[type="hidden"]):nth-child(1 of :not([hidden], input[type="hidden"])) {
@@ -1593,12 +1638,7 @@ label > details.dropdown {
1593
1638
  border-end-start-radius: var(--cirth-radius-pill);
1594
1639
  }
1595
1640
 
1596
- [role="search"] > :not([hidden], input[type="hidden"]):nth-last-child(1 of :not([hidden], input[type="hidden"])) {
1597
- border-start-end-radius: var(--cirth-radius-pill);
1598
- border-end-end-radius: var(--cirth-radius-pill);
1599
- }
1600
-
1601
- [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) {
1602
1642
  border-start-end-radius: var(--cirth-radius-pill);
1603
1643
  border-end-end-radius: var(--cirth-radius-pill);
1604
1644
  }
@@ -1612,13 +1652,10 @@ label > details.dropdown {
1612
1652
  vertical-align: -.125em;
1613
1653
  width: 1em;
1614
1654
  height: 1em;
1615
- -webkit-mask-image: var(--cirth-icon-loading);
1616
1655
  mask-image: var(--cirth-icon-loading);
1617
1656
  background-color: currentColor;
1618
1657
  display: inline-block;
1619
- -webkit-mask-size: 1em;
1620
1658
  mask-size: 1em;
1621
- -webkit-mask-repeat: no-repeat;
1622
1659
  mask-repeat: no-repeat;
1623
1660
  }
1624
1661
 
@@ -1659,7 +1696,7 @@ button[aria-busy="true"], [type="submit"][aria-busy="true"], [type="button"][ari
1659
1696
  meter {
1660
1697
  appearance: none;
1661
1698
  width: 100%;
1662
- height: var(--cirth-size-2);
1699
+ height: var(--cirth-space-2);
1663
1700
  margin-bottom: calc(var(--cirth-spacing) * .5);
1664
1701
  border: var(--cirth-border-width-1) solid var(--cirth-meter-border-color);
1665
1702
  border-radius: var(--cirth-border-radius);
@@ -1763,7 +1800,7 @@ dialog > article > header > * {
1763
1800
  }
1764
1801
 
1765
1802
  dialog > article > header .close, dialog > article > header :is(a, button)[rel="prev"] {
1766
- margin: calc(calc((var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-size-4)) / 2) * -1);
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);
1767
1804
  float: right;
1768
1805
  margin-inline-start: var(--cirth-spacing);
1769
1806
  padding: 0;
@@ -1782,23 +1819,37 @@ dialog > article > footer button:not(:first-of-type), dialog > article > footer
1782
1819
  }
1783
1820
 
1784
1821
  dialog > article .close, dialog > article :is(a, button)[rel="prev"] {
1785
- width: calc(var(--cirth-size-4) + calc((var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-size-4)) / 2) * 2);
1786
- height: calc(var(--cirth-size-4) + calc((var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-size-4)) / 2) * 2);
1787
- margin-top: calc(var(--cirth-spacing) * -1 - calc((var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-size-4)) / 2));
1788
- margin-right: calc(calc((var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-size-4)) / 2) * -1);
1789
- margin-bottom: calc(var(--cirth-spacing) - calc((var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-size-4)) / 2));
1790
- background-image: var(--cirth-icon-close);
1791
- background-position: center;
1792
- 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));
1793
1827
  opacity: .5;
1794
1828
  transition: opacity var(--cirth-transition);
1795
1829
  background-color: #0000;
1796
- background-repeat: no-repeat;
1797
1830
  border: none;
1798
1831
  margin-inline-start: auto;
1799
1832
  display: block;
1800
1833
  }
1801
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
+
1802
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) {
1803
1854
  opacity: 1;
1804
1855
  }
@@ -1868,7 +1919,7 @@ nav li .group, nav li [role="search"] {
1868
1919
 
1869
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 {
1870
1921
  height: auto;
1871
- min-block-size: var(--cirth-size-6);
1922
+ min-block-size: var(--cirth-space-6);
1872
1923
  margin-inline: inherit;
1873
1924
  padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
1874
1925
  margin-bottom: 0;
@@ -1956,7 +2007,7 @@ progress {
1956
2007
  vertical-align: baseline;
1957
2008
  appearance: none;
1958
2009
  width: 100%;
1959
- height: var(--cirth-size-2);
2010
+ height: var(--cirth-space-2);
1960
2011
  margin-bottom: calc(var(--cirth-spacing) * .5);
1961
2012
  border: var(--cirth-border-width-1) solid var(--cirth-progress-border-color);
1962
2013
  border-radius: var(--cirth-border-radius);
@@ -2070,27 +2121,23 @@ progress::-moz-progress-bar {
2070
2121
  }
2071
2122
 
2072
2123
  :root, :host {
2073
- --cirth-color-black: #000;
2074
- --cirth-color-white: #fff;
2075
- --cirth-color-transparent: transparent;
2076
- --cirth-color-current: currentColor;
2077
2124
  --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
2078
2125
  --cirth-font-family-sans: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
2079
2126
  "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
2080
2127
  --cirth-font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif;
2081
2128
  --cirth-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
2082
2129
  monospace, var(--cirth-font-family-emoji);
2083
- --cirth-font-family-display: var(--cirth-font-family-serif);
2084
2130
  --cirth-font-size-xs: .75rem;
2085
2131
  --cirth-font-size-sm: .875rem;
2086
2132
  --cirth-font-size-md: 1rem;
2087
2133
  --cirth-font-size-lg: 1.125rem;
2088
2134
  --cirth-font-size-xl: 1.25rem;
2089
- --cirth-font-size-2xl: 1.425rem;
2090
- --cirth-font-size-3xl: 1.6rem;
2091
- --cirth-font-size-4xl: 1.8rem;
2092
- --cirth-font-size-5xl: 2rem;
2093
- --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;
2094
2141
  --cirth-font-weight-light: 300;
2095
2142
  --cirth-font-weight-regular: 400;
2096
2143
  --cirth-font-weight-medium: 500;
@@ -2117,19 +2164,6 @@ progress::-moz-progress-bar {
2117
2164
  --cirth-space-16: 4rem;
2118
2165
  --cirth-space-20: 5rem;
2119
2166
  --cirth-space-24: 6rem;
2120
- --cirth-size-0: 0;
2121
- --cirth-size-1: .25rem;
2122
- --cirth-size-2: .5rem;
2123
- --cirth-size-3: .75rem;
2124
- --cirth-size-4: 1rem;
2125
- --cirth-size-5: 1.25rem;
2126
- --cirth-size-6: 1.5rem;
2127
- --cirth-size-8: 2rem;
2128
- --cirth-size-10: 2.5rem;
2129
- --cirth-size-12: 3rem;
2130
- --cirth-size-16: 4rem;
2131
- --cirth-size-20: 5rem;
2132
- --cirth-size-24: 6rem;
2133
2167
  --cirth-radius-none: 0;
2134
2168
  --cirth-radius-xs: .125rem;
2135
2169
  --cirth-radius-sm: .25rem;
@@ -2142,9 +2176,6 @@ progress::-moz-progress-bar {
2142
2176
  --cirth-border-width-1: .0625rem;
2143
2177
  --cirth-border-width-2: .125rem;
2144
2178
  --cirth-border-width-4: .25rem;
2145
- --cirth-outline-width-1: .0625rem;
2146
- --cirth-outline-width-2: .125rem;
2147
- --cirth-outline-width-4: .25rem;
2148
2179
  --cirth-duration-instant: 0s;
2149
2180
  --cirth-duration-fast: .1s;
2150
2181
  --cirth-duration-normal: .2s;
@@ -2155,7 +2186,6 @@ progress::-moz-progress-bar {
2155
2186
  --cirth-ease-out: cubic-bezier(0, 0, .2, 1);
2156
2187
  --cirth-ease-in-out: cubic-bezier(.4, 0, .2, 1);
2157
2188
  --cirth-opacity-disabled: .5;
2158
- --cirth-opacity-muted: .72;
2159
2189
  --cirth-opacity-overlay: .75;
2160
2190
  --cirth-z-index-dropdown: 1000;
2161
2191
  --cirth-z-index-sticky: 1020;
@@ -2163,6 +2193,7 @@ progress::-moz-progress-bar {
2163
2193
  --cirth-z-index-modal-backdrop: 1040;
2164
2194
  --cirth-z-index-modal: 1050;
2165
2195
  --cirth-font-family: var(--cirth-font-family-sans);
2196
+ --cirth-font-family-display: var(--cirth-font-family-serif);
2166
2197
  --cirth-line-height: var(--cirth-line-height-normal);
2167
2198
  --cirth-font-weight: var(--cirth-font-weight-regular);
2168
2199
  --cirth-font-size: 100%;
@@ -2174,7 +2205,8 @@ progress::-moz-progress-bar {
2174
2205
  --cirth-code-border-radius: min(var(--cirth-border-radius),
2175
2206
  var(--cirth-radius-sm));
2176
2207
  --cirth-border-width: var(--cirth-border-width-1);
2177
- --cirth-outline-width: var(--cirth-outline-width-2);
2208
+ --cirth-outline-width: var(--cirth-border-width-2);
2209
+ --cirth-background-color: var(--cirth-canvas);
2178
2210
  --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-out);
2179
2211
  --cirth-spacing: var(--cirth-space-4);
2180
2212
  --cirth-typography-spacing-vertical: var(--cirth-space-4);
@@ -2205,13 +2237,9 @@ progress::-moz-progress-bar {
2205
2237
  --cirth-nav-link-spacing-vertical: var(--cirth-space-2);
2206
2238
  --cirth-nav-link-spacing-horizontal: var(--cirth-space-2);
2207
2239
  --cirth-nav-breadcrumb-divider: ">";
2208
- --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");
2209
- --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");
2210
- --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");
2211
- --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");
2212
- --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");
2213
- --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");
2214
- --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");
2215
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");
2216
2244
  }
2217
2245
 
@@ -2233,21 +2261,27 @@ h4, h5, h6 {
2233
2261
  }
2234
2262
 
2235
2263
  h1 {
2236
- --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));
2237
2267
  --cirth-line-height: var(--cirth-line-height-tight);
2238
2268
  --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2239
2269
  --cirth-typography-spacing-top: var(--cirth-space-12);
2240
2270
  }
2241
2271
 
2242
2272
  h2 {
2243
- --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));
2244
2276
  --cirth-line-height: 1.15;
2245
2277
  --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2246
2278
  --cirth-typography-spacing-top: var(--cirth-space-12);
2247
2279
  }
2248
2280
 
2249
2281
  h3 {
2250
- --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));
2251
2285
  --cirth-line-height: 1.2;
2252
2286
  --cirth-letter-spacing: var(--cirth-letter-spacing-snug);
2253
2287
  --cirth-typography-spacing-top: var(--cirth-space-10);
@@ -2295,7 +2329,7 @@ kbd {
2295
2329
  }
2296
2330
 
2297
2331
  input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :where(select, textarea) {
2298
- --cirth-outline-width: var(--cirth-outline-width-1);
2332
+ --cirth-outline-width: var(--cirth-border-width-1);
2299
2333
  --cirth-line-height: var(--cirth-line-height-relaxed);
2300
2334
  }
2301
2335
 
@@ -2330,18 +2364,18 @@ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
2330
2364
  }
2331
2365
 
2332
2366
  details.dropdown summary:not([role="button"]) {
2333
- --cirth-outline-width: var(--cirth-outline-width-1);
2367
+ --cirth-outline-width: var(--cirth-border-width-1);
2334
2368
  }
2335
2369
 
2336
2370
  nav details.dropdown summary:focus-visible {
2337
- --cirth-outline-width: var(--cirth-outline-width-2);
2371
+ --cirth-outline-width: var(--cirth-border-width-2);
2338
2372
  }
2339
2373
 
2340
2374
  [role="search"] {
2341
2375
  --cirth-border-radius: var(--cirth-radius-pill);
2342
2376
  }
2343
2377
 
2344
- :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) {
2345
2379
  --cirth-group-box-shadow-focus-with-button: 0
2346
2380
  0
2347
2381
  0
@@ -2349,7 +2383,7 @@ nav details.dropdown summary:focus-visible {
2349
2383
  var(--cirth-secondary-focus);
2350
2384
  }
2351
2385
 
2352
- :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) {
2353
2387
  --cirth-group-box-shadow-focus-with-button: 0
2354
2388
  0
2355
2389
  0
@@ -2365,112 +2399,133 @@ details summary[role="button"]:not(.outline):after {
2365
2399
  filter: brightness(0) invert();
2366
2400
  }
2367
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
+
2368
2453
  :where([data-theme="light"]), :root:where(:not([data-theme="dark"])), :host(:where(:not([data-theme="dark"]))) {
2369
- --lightningcss-light: initial;
2370
- --lightningcss-dark: ;
2371
2454
  color-scheme: light;
2372
- --cirth-background-color: oklch(97.4% .004 69.35);
2373
- --cirth-color: oklch(35.3% .021 264);
2374
- --cirth-text-selection-color: oklch(65.7% .121 69.35 / .25);
2375
- --cirth-muted-color: oklch(52.7% .032 264);
2376
- --cirth-muted-border-color: oklch(93.85% .003 264);
2377
- --cirth-primary: oklch(52.7% .097 69.35);
2378
- --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);
2379
2468
  --cirth-primary-border: var(--cirth-primary-background);
2380
- --cirth-primary-underline: oklch(52.7% .097 69.35 / .5);
2381
- --cirth-primary-hover: oklch(44% .081 69.35);
2382
- --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);
2383
2474
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2384
2475
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
2385
- --cirth-primary-focus: oklch(52.7% .097 69.35 / .75);
2476
+ --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 75%);
2386
2477
  --cirth-primary-inverse: oklch(100% 0 0);
2387
- --cirth-secondary: oklch(52.7% .032 264);
2388
2478
  --cirth-secondary-background: oklch(48.3% .03 264);
2389
2479
  --cirth-secondary-border: var(--cirth-secondary-background);
2390
- --cirth-secondary-underline: oklch(52.7% .032 264 / .5);
2391
- --cirth-secondary-hover: oklch(44% .028 264);
2392
- --cirth-secondary-hover-background: oklch(44% .028 264);
2393
2480
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2394
2481
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2395
- --cirth-secondary-focus: oklch(48.3% .03 264 / .7);
2396
2482
  --cirth-secondary-inverse: oklch(100% 0 0);
2397
- --cirth-contrast: oklch(22.3% .006 264);
2398
- --cirth-contrast-background: oklch(22.3% .006 264);
2399
2483
  --cirth-contrast-border: var(--cirth-contrast-background);
2400
- --cirth-contrast-underline: oklch(22.3% .006 264 / .5);
2401
- --cirth-contrast-hover: oklch(0% 0 0);
2402
- --cirth-contrast-hover-background: oklch(0% 0 0);
2403
2484
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2404
2485
  --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
2405
- --cirth-contrast-focus: oklch(48.3% .03 264 / .7);
2406
- --cirth-contrast-inverse: oklch(100% 0 0);
2407
- --cirth-link-visited-color: oklch(48.3% .03 264);
2408
- --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);
2409
- --cirth-h1-color: oklch(22.3% .006 264);
2410
- --cirth-h2-color: oklch(26.7% .011 264);
2411
- --cirth-h3-color: oklch(31% .016 264);
2412
- --cirth-h4-color: oklch(35.3% .021 264);
2413
- --cirth-h5-color: oklch(39.7% .025 264);
2414
- --cirth-h6-color: oklch(44% .028 264);
2415
- --cirth-mark-background-color: oklch(93% .05 78);
2416
- --cirth-mark-color: oklch(18% 0 264);
2417
- --cirth-ins-color: oklch(35.3% .067 160.59);
2418
- --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);
2419
2489
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2420
2490
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
2421
2491
  --cirth-button-box-shadow: 0 0 0 #0000;
2422
2492
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
2423
2493
  --cirth-table-border-color: var(--cirth-muted-border-color);
2424
2494
  --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2425
- --cirth-code-background-color: oklch(97% 0 288);
2426
- --cirth-code-color: oklch(52.7% .032 264);
2427
2495
  --cirth-code-kbd-background-color: var(--cirth-color);
2428
2496
  --cirth-code-kbd-color: var(--cirth-background-color);
2429
- --cirth-form-element-background-color: oklch(99% 0 336);
2430
- --cirth-form-element-selected-background-color: oklch(91.7% .006 264);
2431
- --cirth-form-element-border-color: oklch(61.3% .032 264);
2432
- --cirth-form-element-color: oklch(26.7% .011 264);
2433
2497
  --cirth-form-element-placeholder-color: var(--cirth-muted-color);
2434
- --cirth-form-element-active-background-color: oklch(100% 0 0);
2435
2498
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
2436
2499
  --cirth-form-element-focus-color: var(--cirth-primary-border);
2437
2500
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2438
- --cirth-form-element-invalid-border-color: oklch(65.7% .196 29.73);
2439
- --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);
2440
2503
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2441
- --cirth-form-element-valid-border-color: oklch(61.3% .117 160.59);
2442
- --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);
2443
2506
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2444
- --cirth-switch-background-color: oklch(61.3% .032 264);
2507
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2445
2508
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2446
2509
  --cirth-switch-color: var(--cirth-primary-inverse);
2447
- --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2448
- --cirth-range-border-color: oklch(91.7% .006 264);
2449
- --cirth-range-active-border-color: oklch(83% .016 264);
2450
2510
  --cirth-range-thumb-border-color: var(--cirth-background-color);
2451
2511
  --cirth-range-thumb-color: var(--cirth-secondary-background);
2452
2512
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
2453
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
2454
2513
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2455
2514
  --cirth-accordion-close-summary-color: var(--cirth-color);
2456
2515
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2457
- --cirth-card-background-color: oklch(100% 0 0);
2458
2516
  --cirth-card-border-color: var(--cirth-muted-border-color);
2459
2517
  --cirth-card-box-shadow: var(--cirth-box-shadow);
2460
- --cirth-card-sectioning-background-color: oklch(99% 0 336);
2461
- --cirth-dropdown-background-color: oklch(100% 0 0);
2462
- --cirth-dropdown-border-color: oklch(96% 0 264);
2463
2518
  --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
2464
2519
  --cirth-dropdown-color: var(--cirth-color);
2465
- --cirth-dropdown-hover-background-color: oklch(96% 0 264);
2466
- --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2467
2520
  --cirth-modal-overlay-background-color: oklch(93.85% .003 264deg / var(--cirth-opacity-overlay));
2468
- --cirth-meter-optimum-color: oklch(52.7% .1 160.59);
2469
- --cirth-meter-suboptimum-color: oklch(48.3% .086 78);
2470
- --cirth-meter-even-less-good-color: oklch(44% .151 29.73);
2471
- --cirth-progress-background-color: oklch(91.7% .006 264);
2472
- --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);
2473
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");
2474
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");
2475
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");
2476
2531
  }
@@ -2481,111 +2536,83 @@ details summary[role="button"]:not(.outline):after {
2481
2536
 
2482
2537
  @media only screen and (prefers-color-scheme: dark) {
2483
2538
  :root:where(:not([data-theme])), :host(:where(:not([data-theme]))) {
2484
- --lightningcss-light: ;
2485
- --lightningcss-dark: initial;
2486
2539
  color-scheme: dark;
2487
- --cirth-background-color: oklch(20.15% .003 264);
2488
- --cirth-color: oklch(83% .016 264);
2489
- --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2490
- --cirth-muted-color: oklch(61.3% .032 264);
2491
- --cirth-muted-border-color: oklch(26.7% .011 264);
2492
- --cirth-primary: oklch(70% .129 69.35);
2493
- --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);
2494
2555
  --cirth-primary-border: var(--cirth-primary-background);
2495
- --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2496
- --cirth-primary-hover: oklch(78.7% .146 69.35);
2497
- --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);
2498
2561
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2499
2562
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
2500
- --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2563
+ --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 70%);
2501
2564
  --cirth-primary-inverse: oklch(100% 0 0);
2502
- --cirth-secondary: oklch(70% .028 264);
2503
2565
  --cirth-secondary-background: oklch(48.3% .03 264);
2504
2566
  --cirth-secondary-border: var(--cirth-secondary-background);
2505
- --cirth-secondary-underline: oklch(70% .028 264 / .5);
2506
- --cirth-secondary-hover: oklch(78.7% .021 264);
2507
- --cirth-secondary-hover-background: oklch(52.7% .032 264);
2508
2567
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2509
2568
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2510
- --cirth-secondary-focus: oklch(70% .028 264 / .7);
2511
2569
  --cirth-secondary-inverse: oklch(100% 0 0);
2512
- --cirth-contrast: oklch(91.7% .006 264);
2513
- --cirth-contrast-background: oklch(96% 0 264);
2514
2570
  --cirth-contrast-border: var(--cirth-contrast-background);
2515
- --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2516
- --cirth-contrast-hover: oklch(100% 0 0);
2517
- --cirth-contrast-hover-background: oklch(100% 0 0);
2518
2571
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2519
2572
  --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2520
- --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2521
- --cirth-contrast-inverse: oklch(0% 0 0);
2522
- --cirth-link-visited-color: oklch(65.7% .03 264);
2523
- --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);
2524
- --cirth-h1-color: oklch(96% 0 264);
2525
- --cirth-h2-color: oklch(91.7% .006 264);
2526
- --cirth-h3-color: oklch(83% .016 264);
2527
- --cirth-h4-color: oklch(78.7% .021 264);
2528
- --cirth-h5-color: oklch(74.3% .025 264);
2529
- --cirth-h6-color: oklch(65.7% .03 264);
2530
- --cirth-mark-background-color: oklch(35.3% .063 78);
2531
- --cirth-mark-color: oklch(100% 0 0);
2532
- --cirth-ins-color: oklch(78.7% .15 160.59);
2533
- --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);
2534
2576
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2535
2577
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
2536
2578
  --cirth-button-box-shadow: 0 0 0 #0000;
2537
2579
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
2538
2580
  --cirth-table-border-color: var(--cirth-muted-border-color);
2539
2581
  --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2540
- --cirth-code-background-color: oklch(23.4% .00725 264);
2541
- --cirth-code-color: oklch(65.7% .03 264);
2542
2582
  --cirth-code-kbd-background-color: var(--cirth-color);
2543
2583
  --cirth-code-kbd-color: var(--cirth-background-color);
2544
- --cirth-form-element-background-color: oklch(24.5% .0085 264);
2545
- --cirth-form-element-selected-background-color: oklch(31% .016 264);
2546
- --cirth-form-element-border-color: oklch(52.7% .032 264);
2547
- --cirth-form-element-color: oklch(91.7% .006 264);
2548
2584
  --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2549
- --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
2550
2585
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
2551
2586
  --cirth-form-element-focus-color: var(--cirth-primary-border);
2552
2587
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2553
- --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2554
- --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);
2555
2590
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2556
- --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2557
- --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);
2558
2593
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2559
- --cirth-switch-background-color: oklch(52.7% .032 264);
2594
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2560
2595
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2561
2596
  --cirth-switch-color: var(--cirth-primary-inverse);
2562
- --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2563
- --cirth-range-border-color: oklch(26.7% .011 264);
2564
- --cirth-range-active-border-color: oklch(31% .016 264);
2565
2597
  --cirth-range-thumb-border-color: var(--cirth-background-color);
2566
2598
  --cirth-range-thumb-color: var(--cirth-secondary-background);
2567
2599
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
2568
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
2569
2600
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2570
2601
  --cirth-accordion-close-summary-color: var(--cirth-color);
2571
2602
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2572
- --cirth-card-background-color: oklch(22.3% .006 264);
2573
2603
  --cirth-card-border-color: var(--cirth-card-background-color);
2574
2604
  --cirth-card-box-shadow: var(--cirth-box-shadow);
2575
- --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2576
- --cirth-dropdown-background-color: oklch(22.3% .006 264);
2577
- --cirth-dropdown-border-color: oklch(26.7% .011 264);
2578
2605
  --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
2579
2606
  --cirth-dropdown-color: var(--cirth-color);
2580
- --cirth-dropdown-hover-background-color: oklch(26.7% .011 264);
2581
- --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2582
2607
  --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2583
- --cirth-meter-optimum-color: oklch(65.7% .125 160.59);
2584
- --cirth-meter-suboptimum-color: oklch(70% .124 78);
2585
- --cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
2586
- --cirth-progress-background-color: oklch(26.7% .011 264);
2587
- --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);
2588
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");
2589
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");
2590
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");
2591
2618
  }
@@ -2600,111 +2627,83 @@ details summary[role="button"]:not(.outline):after {
2600
2627
  }
2601
2628
 
2602
2629
  :where([data-theme="dark"]) {
2603
- --lightningcss-light: ;
2604
- --lightningcss-dark: initial;
2605
2630
  color-scheme: dark;
2606
- --cirth-background-color: oklch(20.15% .003 264);
2607
- --cirth-color: oklch(83% .016 264);
2608
- --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2609
- --cirth-muted-color: oklch(61.3% .032 264);
2610
- --cirth-muted-border-color: oklch(26.7% .011 264);
2611
- --cirth-primary: oklch(70% .129 69.35);
2612
- --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);
2613
2646
  --cirth-primary-border: var(--cirth-primary-background);
2614
- --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2615
- --cirth-primary-hover: oklch(78.7% .146 69.35);
2616
- --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);
2617
2652
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2618
2653
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
2619
- --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2654
+ --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 70%);
2620
2655
  --cirth-primary-inverse: oklch(100% 0 0);
2621
- --cirth-secondary: oklch(70% .028 264);
2622
2656
  --cirth-secondary-background: oklch(48.3% .03 264);
2623
2657
  --cirth-secondary-border: var(--cirth-secondary-background);
2624
- --cirth-secondary-underline: oklch(70% .028 264 / .5);
2625
- --cirth-secondary-hover: oklch(78.7% .021 264);
2626
- --cirth-secondary-hover-background: oklch(52.7% .032 264);
2627
2658
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2628
2659
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2629
- --cirth-secondary-focus: oklch(70% .028 264 / .7);
2630
2660
  --cirth-secondary-inverse: oklch(100% 0 0);
2631
- --cirth-contrast: oklch(91.7% .006 264);
2632
- --cirth-contrast-background: oklch(96% 0 264);
2633
2661
  --cirth-contrast-border: var(--cirth-contrast-background);
2634
- --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2635
- --cirth-contrast-hover: oklch(100% 0 0);
2636
- --cirth-contrast-hover-background: oklch(100% 0 0);
2637
2662
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2638
2663
  --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2639
- --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2640
- --cirth-contrast-inverse: oklch(0% 0 0);
2641
- --cirth-link-visited-color: oklch(65.7% .03 264);
2642
- --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);
2643
- --cirth-h1-color: oklch(96% 0 264);
2644
- --cirth-h2-color: oklch(91.7% .006 264);
2645
- --cirth-h3-color: oklch(83% .016 264);
2646
- --cirth-h4-color: oklch(78.7% .021 264);
2647
- --cirth-h5-color: oklch(74.3% .025 264);
2648
- --cirth-h6-color: oklch(65.7% .03 264);
2649
- --cirth-mark-background-color: oklch(35.3% .063 78);
2650
- --cirth-mark-color: oklch(100% 0 0);
2651
- --cirth-ins-color: oklch(78.7% .15 160.59);
2652
- --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);
2653
2667
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2654
2668
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
2655
2669
  --cirth-button-box-shadow: 0 0 0 #0000;
2656
2670
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
2657
2671
  --cirth-table-border-color: var(--cirth-muted-border-color);
2658
2672
  --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2659
- --cirth-code-background-color: oklch(23.4% .00725 264);
2660
- --cirth-code-color: oklch(65.7% .03 264);
2661
2673
  --cirth-code-kbd-background-color: var(--cirth-color);
2662
2674
  --cirth-code-kbd-color: var(--cirth-background-color);
2663
- --cirth-form-element-background-color: oklch(24.5% .0085 264);
2664
- --cirth-form-element-selected-background-color: oklch(31% .016 264);
2665
- --cirth-form-element-border-color: oklch(52.7% .032 264);
2666
- --cirth-form-element-color: oklch(91.7% .006 264);
2667
2675
  --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2668
- --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
2669
2676
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
2670
2677
  --cirth-form-element-focus-color: var(--cirth-primary-border);
2671
2678
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2672
- --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2673
- --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);
2674
2681
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2675
- --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2676
- --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);
2677
2684
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2678
- --cirth-switch-background-color: oklch(52.7% .032 264);
2685
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2679
2686
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2680
2687
  --cirth-switch-color: var(--cirth-primary-inverse);
2681
- --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2682
- --cirth-range-border-color: oklch(26.7% .011 264);
2683
- --cirth-range-active-border-color: oklch(31% .016 264);
2684
2688
  --cirth-range-thumb-border-color: var(--cirth-background-color);
2685
2689
  --cirth-range-thumb-color: var(--cirth-secondary-background);
2686
2690
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
2687
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
2688
2691
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2689
2692
  --cirth-accordion-close-summary-color: var(--cirth-color);
2690
2693
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2691
- --cirth-card-background-color: oklch(22.3% .006 264);
2692
2694
  --cirth-card-border-color: var(--cirth-card-background-color);
2693
2695
  --cirth-card-box-shadow: var(--cirth-box-shadow);
2694
- --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2695
- --cirth-dropdown-background-color: oklch(22.3% .006 264);
2696
- --cirth-dropdown-border-color: oklch(26.7% .011 264);
2697
2696
  --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
2698
2697
  --cirth-dropdown-color: var(--cirth-color);
2699
- --cirth-dropdown-hover-background-color: oklch(26.7% .011 264);
2700
- --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2701
2698
  --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2702
- --cirth-meter-optimum-color: oklch(65.7% .125 160.59);
2703
- --cirth-meter-suboptimum-color: oklch(70% .124 78);
2704
- --cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
2705
- --cirth-progress-background-color: oklch(26.7% .011 264);
2706
- --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);
2707
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");
2708
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");
2709
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");
2710
2709
  }
@@ -2735,6 +2734,10 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2735
2734
  --cirth-code-color: oklch(35.3% .021 264);
2736
2735
  --cirth-link-visited-color: oklch(35.3% .021 264);
2737
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");
2738
2741
  --cirth-form-element-border-color: oklch(39.7% .025 264);
2739
2742
  --cirth-form-element-invalid-border-color: oklch(48.3% .166 29.73);
2740
2743
  --cirth-form-element-valid-border-color: oklch(48.3% .092 160.59);
@@ -2765,6 +2768,10 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2765
2768
  --cirth-h5-color: var(--cirth-color);
2766
2769
  --cirth-h6-color: var(--cirth-color);
2767
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");
2768
2775
  --cirth-secondary: oklch(78.7% .021 264);
2769
2776
  --cirth-code-color: oklch(83% .016 264);
2770
2777
  --cirth-link-visited-color: oklch(78.7% .021 264);
@@ -2775,6 +2782,8 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2775
2782
  --cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
2776
2783
  --cirth-primary: oklch(78.7% .146 69.35);
2777
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);
2778
2787
  --cirth-primary-underline: var(--cirth-primary);
2779
2788
  --cirth-secondary-underline: var(--cirth-secondary);
2780
2789
  --cirth-contrast-underline: var(--cirth-contrast);
@@ -2800,6 +2809,10 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2800
2809
  --cirth-h5-color: var(--cirth-color);
2801
2810
  --cirth-h6-color: var(--cirth-color);
2802
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");
2803
2816
  --cirth-secondary: oklch(78.7% .021 264);
2804
2817
  --cirth-code-color: oklch(83% .016 264);
2805
2818
  --cirth-link-visited-color: oklch(78.7% .021 264);
@@ -2810,6 +2823,8 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2810
2823
  --cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
2811
2824
  --cirth-primary: oklch(78.7% .146 69.35);
2812
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);
2813
2828
  --cirth-primary-underline: var(--cirth-primary);
2814
2829
  --cirth-secondary-underline: var(--cirth-secondary);
2815
2830
  --cirth-contrast-underline: var(--cirth-contrast);
@@ -2824,141 +2839,3 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2824
2839
  --cirth-dropdown-border-color: var(--cirth-muted-border-color);
2825
2840
  }
2826
2841
  }
2827
-
2828
- @media print {
2829
- :root, :host {
2830
- --cirth-print-color: oklch(0% 0 0);
2831
- --cirth-print-muted-color: oklch(48.3% .03 264);
2832
- --cirth-print-border-color: oklch(61.3% .032 264);
2833
- }
2834
-
2835
- html {
2836
- --lightningcss-light: initial;
2837
- --lightningcss-dark: ;
2838
- color-scheme: light;
2839
- background: none;
2840
- }
2841
-
2842
- body {
2843
- color: var(--cirth-print-color);
2844
- --lightningcss-light: initial;
2845
- --lightningcss-dark: ;
2846
- color-scheme: light;
2847
- --cirth-color: var(--cirth-print-color);
2848
- --cirth-h1-color: var(--cirth-print-color);
2849
- --cirth-h2-color: var(--cirth-print-color);
2850
- --cirth-h3-color: var(--cirth-print-color);
2851
- --cirth-h4-color: var(--cirth-print-color);
2852
- --cirth-h5-color: var(--cirth-print-color);
2853
- --cirth-h6-color: var(--cirth-print-color);
2854
- --cirth-code-color: var(--cirth-print-color);
2855
- --cirth-code-kbd-color: var(--cirth-print-color);
2856
- --cirth-form-element-color: var(--cirth-print-color);
2857
- --cirth-muted-color: var(--cirth-print-muted-color);
2858
- --cirth-form-element-placeholder-color: var(--cirth-print-muted-color);
2859
- --cirth-primary: var(--cirth-print-color);
2860
- --cirth-primary-hover: var(--cirth-print-color);
2861
- --cirth-primary-underline: var(--cirth-print-color);
2862
- --cirth-secondary: var(--cirth-print-color);
2863
- --cirth-secondary-underline: var(--cirth-print-color);
2864
- --cirth-contrast: var(--cirth-print-color);
2865
- --cirth-contrast-underline: var(--cirth-print-color);
2866
- --cirth-link-visited-color: var(--cirth-print-color);
2867
- --cirth-muted-border-color: var(--cirth-print-border-color);
2868
- --cirth-form-element-border-color: var(--cirth-print-border-color);
2869
- --cirth-box-shadow: none;
2870
- --cirth-card-box-shadow: none;
2871
- --cirth-card-background-color: transparent;
2872
- --cirth-card-sectioning-background-color: transparent;
2873
- --cirth-code-background-color: transparent;
2874
- --cirth-code-kbd-background-color: transparent;
2875
- --cirth-form-element-background-color: transparent;
2876
- --cirth-form-element-active-background-color: transparent;
2877
- --cirth-table-row-stripped-background-color: transparent;
2878
- --cirth-modal-overlay-background-color: transparent;
2879
- --cirth-dropdown-background-color: transparent;
2880
- --cirth-dropdown-box-shadow: none;
2881
- --cirth-ins-color: oklch(35.3% .067 160.59);
2882
- --cirth-del-color: oklch(35.3% .122 29.73);
2883
- --cirth-meter-optimum-color: oklch(52.7% .1 160.59);
2884
- --cirth-meter-suboptimum-color: oklch(48.3% .086 78);
2885
- --cirth-meter-even-less-good-color: oklch(44% .151 29.73);
2886
- background: none;
2887
- }
2888
-
2889
- kbd {
2890
- border: var(--cirth-border-width) solid var(--cirth-print-border-color);
2891
- }
2892
-
2893
- :is(button, [type="submit"], [type="reset"], [type="button"], [role="button"]) {
2894
- border-color: var(--cirth-print-border-color);
2895
- box-shadow: none;
2896
- color: var(--cirth-print-color);
2897
- background: none;
2898
- }
2899
-
2900
- [type="file"]::file-selector-button {
2901
- border-color: var(--cirth-print-border-color);
2902
- box-shadow: none;
2903
- color: var(--cirth-print-color);
2904
- background: none;
2905
- }
2906
-
2907
- :is(mark, meter, progress, [type="checkbox"], [type="radio"]) {
2908
- -webkit-print-color-adjust: exact;
2909
- print-color-adjust: exact;
2910
- }
2911
-
2912
- a[href^="http"]:not([role="button"], nav a):after {
2913
- content: " (" attr(href) ")";
2914
- color: var(--cirth-print-muted-color);
2915
- font-size: var(--cirth-font-size-sm);
2916
- word-break: break-all;
2917
- }
2918
-
2919
- thead {
2920
- display: table-header-group;
2921
- }
2922
-
2923
- tfoot {
2924
- display: table-footer-group;
2925
- }
2926
-
2927
- tr {
2928
- break-inside: avoid;
2929
- }
2930
-
2931
- pre {
2932
- white-space: pre-wrap;
2933
- overflow: visible;
2934
- }
2935
-
2936
- .overflow-auto {
2937
- overflow: visible;
2938
- }
2939
-
2940
- dialog {
2941
- backdrop-filter: none;
2942
- min-width: 0;
2943
- min-height: 0;
2944
- position: static;
2945
- }
2946
-
2947
- dialog > article {
2948
- max-height: none;
2949
- overflow: visible;
2950
- }
2951
-
2952
- :is(h1, h2, h3, h4, h5, h6) {
2953
- break-after: avoid;
2954
- }
2955
-
2956
- :is(figure, img) {
2957
- break-inside: avoid;
2958
- }
2959
-
2960
- :is(blockquote, li, p) {
2961
- orphans: 3;
2962
- widows: 3;
2963
- }
2964
- }