@cirthcss/cirth 0.14.1 → 0.15.0-beta.2

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.
@@ -41,21 +41,28 @@
41
41
  margin-bottom: var(--cirth-block-spacing-vertical);
42
42
  }
43
43
 
44
+ .cirth main > section + section {
45
+ margin-block-start: var(--cirth-space-8);
46
+ }
47
+
44
48
  .cirth .container, .cirth .container-fluid {
45
- grid-template-columns: minmax(var(--cirth-spacing), 1fr) minmax(0, 1fr) minmax(var(--cirth-spacing), 1fr);
46
49
  display: grid;
47
50
  }
48
51
 
49
52
  .cirth .container > *, .cirth .container-fluid > * {
50
- grid-column: 2;
53
+ grid-column: content;
51
54
  }
52
55
 
53
56
  .cirth .container {
54
- grid-template-columns: minmax(var(--cirth-spacing), 1fr) minmax(0, var(--cirth-container-max-width)) minmax(var(--cirth-spacing), 1fr);
57
+ grid-template-columns: [full-start] minmax(var(--cirth-container-gutter), 1fr) [content-start] minmax(0, var(--cirth-container-max-width)) [content-end] minmax(var(--cirth-container-gutter), 1fr) [full-end];
58
+ }
59
+
60
+ .cirth .container-fluid {
61
+ grid-template-columns: [full-start] var(--cirth-container-gutter) [content-start] minmax(0, 1fr) [content-end] var(--cirth-container-gutter) [full-end];
55
62
  }
56
63
 
57
- .cirth .breakout {
58
- grid-column: 1 / -1;
64
+ .cirth .container > .breakout {
65
+ grid-column: full;
59
66
  }
60
67
 
61
68
  .cirth .row {
@@ -96,6 +103,10 @@
96
103
  overflow: auto;
97
104
  }
98
105
 
106
+ .cirth .overflow-auto:focus-visible {
107
+ outline: var(--cirth-outline-width) solid var(--cirth-primary-focus);
108
+ }
109
+
99
110
  .cirth b, .cirth strong {
100
111
  font-weight: bolder;
101
112
  }
@@ -116,11 +127,9 @@
116
127
  }
117
128
 
118
129
  .cirth address, .cirth blockquote, .cirth dl, .cirth ol, .cirth p, .cirth pre, .cirth table, .cirth ul {
119
- margin-top: 0;
120
- margin-bottom: var(--cirth-typography-spacing-vertical);
130
+ margin-block: 0 var(--cirth-typography-spacing-vertical);
121
131
  color: var(--cirth-color);
122
132
  font-style: normal;
123
- font-weight: var(--cirth-font-weight);
124
133
  }
125
134
 
126
135
  .cirth p {
@@ -128,8 +137,7 @@
128
137
  }
129
138
 
130
139
  .cirth h1, .cirth h2, .cirth h3, .cirth h4, .cirth h5, .cirth h6 {
131
- margin-top: 0;
132
- margin-bottom: var(--cirth-typography-spacing-vertical);
140
+ margin-block: 0 calc(var(--cirth-typography-spacing-vertical) * .5);
133
141
  color: var(--cirth-color);
134
142
  font-weight: var(--cirth-font-weight);
135
143
  font-size: var(--cirth-font-size);
@@ -167,13 +175,12 @@
167
175
  margin-top: var(--cirth-typography-spacing-top);
168
176
  }
169
177
 
170
- .cirth p, .cirth hgroup {
178
+ .cirth hgroup {
171
179
  margin-bottom: var(--cirth-typography-spacing-vertical);
172
180
  }
173
181
 
174
182
  .cirth hgroup > * {
175
- margin-top: 0;
176
- margin-bottom: 0;
183
+ margin-block: 0;
177
184
  }
178
185
 
179
186
  .cirth hgroup > :not(:first-child):last-child {
@@ -195,11 +202,32 @@
195
202
  list-style: square;
196
203
  }
197
204
 
205
+ .cirth dt {
206
+ font-weight: var(--cirth-font-weight-semibold);
207
+ }
208
+
209
+ .cirth dd {
210
+ margin-inline-start: 0;
211
+ }
212
+
213
+ .cirth dl > dd + dt {
214
+ margin-top: calc(var(--cirth-typography-spacing-vertical) * .5);
215
+ }
216
+
198
217
  .cirth mark {
199
218
  padding: 0 var(--cirth-space-1);
200
219
  background-color: var(--cirth-mark-background-color);
201
220
  color: var(--cirth-mark-color);
202
221
  vertical-align: baseline;
222
+ -webkit-box-decoration-break: clone;
223
+ box-decoration-break: clone;
224
+ }
225
+
226
+ @media (forced-colors: active) {
227
+ .cirth mark {
228
+ color: marktext;
229
+ background-color: mark;
230
+ }
203
231
  }
204
232
 
205
233
  .cirth blockquote {
@@ -207,7 +235,10 @@
207
235
  padding: var(--cirth-spacing);
208
236
  border-inline-start: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
209
237
  border-inline-end: none;
210
- display: block;
238
+ }
239
+
240
+ .cirth blockquote > :last-child, .cirth blockquote > :has( + footer) {
241
+ margin-bottom: 0;
211
242
  }
212
243
 
213
244
  .cirth blockquote footer {
@@ -279,10 +310,14 @@
279
310
  --cirth-underline: var(--cirth-contrast-hover-underline);
280
311
  }
281
312
 
282
- .cirth :where(a:not([role="button"])):visited:not(.secondary, .contrast, details.dropdown a, [aria-current]:not([aria-current="false"]), :hover, :active, :focus, nav a) {
313
+ .cirth :where(a:not([role="button"])):visited:not(.secondary, .contrast, details.dropdown a, [aria-current]:not([aria-current="false"]), :hover, :active, :focus, nav a, :has(article)) {
283
314
  color: var(--cirth-link-visited-color);
284
315
  }
285
316
 
317
+ .cirth :where(a:not([role="button"])):has(article) {
318
+ --cirth-color: inherit;
319
+ }
320
+
286
321
  .cirth a[role="button"] {
287
322
  display: inline-block;
288
323
  }
@@ -303,7 +338,7 @@
303
338
  --cirth-color: var(--cirth-primary-inverse);
304
339
  --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
305
340
  max-width: 100%;
306
- 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);
341
+ min-block-size: max(2.75rem, var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
307
342
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
308
343
  border: var(--cirth-border-width) solid var(--cirth-border-color);
309
344
  border-radius: var(--cirth-border-radius);
@@ -328,7 +363,7 @@
328
363
  --cirth-color: var(--cirth-primary-inverse);
329
364
  --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
330
365
  max-width: 100%;
331
- 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);
366
+ min-block-size: max(2.75rem, var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
332
367
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
333
368
  border: var(--cirth-border-width) solid var(--cirth-border-color);
334
369
  border-radius: var(--cirth-border-radius);
@@ -369,11 +404,11 @@
369
404
  }
370
405
 
371
406
  .cirth button:active, .cirth [type="submit"]:active, .cirth [type="reset"]:active, .cirth [type="button"]:active, .cirth [role="button"]:active {
372
- transform: translateY(.0625rem);
407
+ background-image: linear-gradient(#0000001f 0 0);
373
408
  }
374
409
 
375
410
  .cirth [type="file"]::file-selector-button:active {
376
- transform: translateY(.0625rem);
411
+ background-image: linear-gradient(#0000001f 0 0);
377
412
  }
378
413
 
379
414
  .cirth button:focus-visible, .cirth button[aria-current]:not([aria-current="false"]):focus-visible, .cirth [type="submit"]:focus-visible, .cirth [type="submit"][aria-current]:not([aria-current="false"]):focus-visible, .cirth [type="reset"]:focus-visible, .cirth [type="reset"][aria-current]:not([aria-current="false"]):focus-visible, .cirth [type="button"]:focus-visible, .cirth [type="button"][aria-current]:not([aria-current="false"]):focus-visible, .cirth [role="button"]:focus-visible, .cirth [role="button"][aria-current]:not([aria-current="false"]):focus-visible {
@@ -382,18 +417,6 @@
382
417
  outline: var(--cirth-outline-width) solid transparent;
383
418
  }
384
419
 
385
- .cirth [type="file"]::file-selector-button:focus-visible {
386
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
387
- 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
388
- outline: var(--cirth-outline-width) solid transparent;
389
- }
390
-
391
- .cirth [type="file"]::file-selector-button:is():focus-visible {
392
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
393
- 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
394
- outline: var(--cirth-outline-width) solid transparent;
395
- }
396
-
397
420
  .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"] {
398
421
  margin-bottom: var(--cirth-spacing);
399
422
  }
@@ -429,16 +452,6 @@
429
452
  0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
430
453
  }
431
454
 
432
- .cirth [type="file"]::file-selector-button:focus-visible {
433
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
434
- 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
435
- }
436
-
437
- .cirth [type="file"]::file-selector-button:is():focus-visible {
438
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
439
- 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
440
- }
441
-
442
455
  .cirth :is(button, [type="submit"], [type="button"], [role="button"]).contrast {
443
456
  --cirth-background-color: var(--cirth-contrast-background);
444
457
  --cirth-border-color: var(--cirth-contrast-border);
@@ -456,13 +469,33 @@
456
469
  0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
457
470
  }
458
471
 
472
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).danger {
473
+ --cirth-background-color: light-dark(var(--cirth-error), color-mix(in oklch, var(--cirth-error) 55%, black));
474
+ --cirth-border-color: var(--cirth-background-color);
475
+ --cirth-color: var(--cirth-primary-inverse);
476
+ }
477
+
478
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).danger:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
479
+ --cirth-background-color: light-dark(color-mix(in oklch, var(--cirth-error) 85%, black), color-mix(in oklch, var(--cirth-error) 50%, black));
480
+ --cirth-border-color: var(--cirth-background-color);
481
+ --cirth-color: var(--cirth-primary-inverse);
482
+ }
483
+
484
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).danger:focus-visible, .cirth :is(button, [type="submit"], [type="button"], [role="button"]).danger[aria-current]:not([aria-current="false"]):focus-visible {
485
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
486
+ 0
487
+ 0
488
+ 0
489
+ var(--cirth-outline-width)
490
+ var(--cirth-form-element-invalid-focus-color);
491
+ }
492
+
459
493
  .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline, .cirth [type="reset"].outline {
460
- --cirth-background-color: var(--cirth-canvas);
494
+ --cirth-background-color: var(--cirth-form-element-background-color);
461
495
  }
462
496
 
463
497
  .cirth :is(button, [type="submit"], [type="button"], [role="button"]).ghost, .cirth [type="reset"].ghost {
464
498
  --cirth-background-color: transparent;
465
- --cirth-box-shadow: none;
466
499
  }
467
500
 
468
501
  .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline, .cirth [type="reset"].outline {
@@ -473,7 +506,7 @@
473
506
  .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), .cirth [type="reset"].outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
474
507
  --cirth-background-color: color-mix(in oklch,
475
508
  var(--cirth-primary) 12%,
476
- var(--cirth-canvas));
509
+ var(--cirth-form-element-background-color));
477
510
  --cirth-color: var(--cirth-primary-hover);
478
511
  --cirth-border-color: var(--cirth-primary-hover);
479
512
  }
@@ -486,7 +519,7 @@
486
519
  .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), .cirth [type="reset"].outline.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
487
520
  --cirth-background-color: color-mix(in oklch,
488
521
  var(--cirth-secondary) 12%,
489
- var(--cirth-canvas));
522
+ var(--cirth-form-element-background-color));
490
523
  --cirth-color: var(--cirth-secondary-hover);
491
524
  --cirth-border-color: var(--cirth-secondary-hover);
492
525
  }
@@ -499,7 +532,7 @@
499
532
  .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline.contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), .cirth [type="reset"].outline.contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
500
533
  --cirth-background-color: color-mix(in oklch,
501
534
  var(--cirth-contrast) 12%,
502
- var(--cirth-canvas));
535
+ var(--cirth-form-element-background-color));
503
536
  --cirth-color: var(--cirth-contrast-hover);
504
537
  --cirth-border-color: var(--cirth-contrast-hover);
505
538
  }
@@ -543,27 +576,59 @@
543
576
  --cirth-border-color: transparent;
544
577
  }
545
578
 
579
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline.danger {
580
+ --cirth-background-color: var(--cirth-form-element-background-color);
581
+ --cirth-color: var(--cirth-error-text);
582
+ --cirth-border-color: var(--cirth-error-border);
583
+ }
584
+
585
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline.danger:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
586
+ --cirth-background-color: var(--cirth-error-surface);
587
+ --cirth-color: var(--cirth-error-text);
588
+ --cirth-border-color: var(--cirth-error-active);
589
+ }
590
+
591
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).ghost.danger {
592
+ --cirth-background-color: transparent;
593
+ --cirth-color: var(--cirth-error-text);
594
+ --cirth-border-color: transparent;
595
+ }
596
+
597
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).ghost.danger:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
598
+ --cirth-background-color: color-mix(in oklch,
599
+ var(--cirth-error) 12%,
600
+ transparent);
601
+ --cirth-color: var(--cirth-error-text);
602
+ --cirth-border-color: transparent;
603
+ }
604
+
546
605
  .cirth :where(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[disabled], .cirth :where(fieldset[disabled]) :is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]) {
547
606
  opacity: var(--cirth-opacity-disabled);
548
607
  pointer-events: none;
549
608
  }
550
609
 
551
- .cirth form:invalid :is(button:not([type="button"], [type="reset"]), [type="submit"]) {
610
+ .cirth form:has(:user-invalid) :is(button:not([type="button"], [type="reset"]), [type="submit"]) {
552
611
  filter: grayscale();
553
612
  }
554
613
 
555
614
  .cirth :where(table) {
556
615
  border-collapse: collapse;
557
- border-spacing: 0;
558
616
  text-indent: 0;
559
617
  border-color: currentColor;
560
618
  width: 100%;
561
619
  }
562
620
 
621
+ .cirth caption {
622
+ color: var(--cirth-muted-color);
623
+ font-size: var(--cirth-font-size-sm);
624
+ line-height: var(--cirth-line-height-normal);
625
+ text-align: start;
626
+ padding-block-end: calc(var(--cirth-spacing) * .5);
627
+ }
628
+
563
629
  .cirth th, .cirth td {
564
630
  padding: calc(var(--cirth-spacing) / 2) var(--cirth-spacing);
565
631
  border-bottom: var(--cirth-border-width) solid var(--cirth-table-border-color);
566
- color: var(--cirth-color);
567
632
  font-weight: var(--cirth-font-weight);
568
633
  font-variant-numeric: tabular-nums;
569
634
  text-align: start;
@@ -629,10 +694,15 @@
629
694
 
630
695
  .cirth pre {
631
696
  margin-bottom: var(--cirth-spacing);
697
+ border: var(--cirth-border-width) solid var(--cirth-card-border-color);
632
698
  display: block;
633
699
  overflow-x: auto;
634
700
  }
635
701
 
702
+ .cirth pre:focus-visible {
703
+ outline: var(--cirth-outline-width) solid var(--cirth-primary-focus);
704
+ }
705
+
636
706
  .cirth pre > code, .cirth pre > samp {
637
707
  padding: var(--cirth-spacing);
638
708
  line-height: var(--cirth-line-height);
@@ -662,6 +732,8 @@
662
732
  .cirth figure figcaption {
663
733
  padding: calc(var(--cirth-spacing) * .5) 0;
664
734
  color: var(--cirth-muted-color);
735
+ font-size: var(--cirth-font-size-sm);
736
+ line-height: var(--cirth-line-height-normal);
665
737
  }
666
738
 
667
739
  .cirth hr {
@@ -720,11 +792,11 @@
720
792
  }
721
793
 
722
794
  .cirth input:not([type="checkbox"], [type="radio"], [type="range"]) {
723
- height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
795
+ height: max(2.75rem, var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
724
796
  }
725
797
 
726
798
  .cirth select, .cirth textarea {
727
- 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);
799
+ min-block-size: max(2.75rem, var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
728
800
  }
729
801
 
730
802
  .cirth fieldset {
@@ -742,10 +814,6 @@
742
814
  display: block;
743
815
  }
744
816
 
745
- .cirth fieldset legend {
746
- margin-bottom: calc(var(--cirth-spacing) * .5);
747
- }
748
-
749
817
  .cirth input:not([type="checkbox"], [type="radio"], [size]), .cirth button[type="submit"], .cirth select, .cirth textarea {
750
818
  width: 100%;
751
819
  }
@@ -770,6 +838,11 @@
770
838
  outline: none;
771
839
  }
772
840
 
841
+ .cirth :where(input, textarea)[readonly] {
842
+ background-color: var(--cirth-card-sectioning-background-color);
843
+ border-style: dashed;
844
+ }
845
+
773
846
  .cirth input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [readonly]):is(:active, :focus), .cirth :where(select, textarea):not([readonly]):is(:active, :focus) {
774
847
  --cirth-background-color: var(--cirth-form-element-active-background-color);
775
848
  }
@@ -778,10 +851,18 @@
778
851
  --cirth-border-color: var(--cirth-form-element-active-border-color);
779
852
  }
780
853
 
781
- .cirth input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="range"], [type="file"], [readonly]):hover:not(:active, :focus, [disabled], [aria-invalid]), .cirth :where(select, textarea):not([readonly]):hover:not(:active, :focus, [disabled], [aria-invalid]) {
782
- --cirth-border-color: color-mix(in oklch,
783
- var(--cirth-form-element-border-color) 65%,
784
- var(--cirth-color));
854
+ @media (hover: hover) and (pointer: fine) {
855
+ .cirth input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="range"], [type="file"], [readonly]):hover:not(:active, :focus, :disabled, [aria-invalid], :user-invalid) {
856
+ --cirth-border-color: color-mix(in oklch,
857
+ var(--cirth-form-element-border-color) 65%,
858
+ var(--cirth-color));
859
+ }
860
+
861
+ .cirth :where(select, textarea):not([readonly]):hover:not(:active, :focus, :disabled, [aria-invalid], :user-invalid) {
862
+ --cirth-border-color: color-mix(in oklch,
863
+ var(--cirth-form-element-border-color) 65%,
864
+ var(--cirth-color));
865
+ }
785
866
  }
786
867
 
787
868
  .cirth input:not([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly]):focus, .cirth :where(select, textarea):not([readonly]):focus {
@@ -886,7 +967,7 @@
886
967
  .cirth textarea:is([aria-invalid], :user-invalid:not([aria-invalid], [type="range"]):not(select:focus)) {
887
968
  --cirth-icon-height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) +
888
969
  var(--cirth-form-element-spacing-vertical) * 2 +
889
- var(--cirth-border-width) * 2);
970
+ (var(--cirth-border-width) * 2));
890
971
  background-position: top right var(--cirth-space-3);
891
972
  background-size: var(--cirth-font-size-md) var(--cirth-icon-height);
892
973
  }
@@ -1152,9 +1233,9 @@
1152
1233
 
1153
1234
  .cirth [type="range"] {
1154
1235
  appearance: none;
1155
- background: none;
1156
1236
  width: 100%;
1157
- height: 1.25rem;
1237
+ height: max(2.75rem, var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1238
+ background: none;
1158
1239
  }
1159
1240
 
1160
1241
  .cirth [type="range"]::-webkit-slider-runnable-track {
@@ -1201,6 +1282,18 @@
1201
1282
  --cirth-range-thumb-color: var(--cirth-range-thumb-active-color);
1202
1283
  }
1203
1284
 
1285
+ @media (hover: hover) and (pointer: fine) {
1286
+ .cirth [type="range"]:hover:not(:active, :focus, :disabled) {
1287
+ --cirth-range-border-color: var(--cirth-range-active-border-color);
1288
+ --cirth-range-thumb-color: var(--cirth-secondary-hover);
1289
+ }
1290
+ }
1291
+
1292
+ .cirth [type="range"]:focus-visible {
1293
+ outline: var(--cirth-outline-width) solid var(--cirth-primary-focus);
1294
+ outline-offset: var(--cirth-space-1);
1295
+ }
1296
+
1204
1297
  .cirth [type="range"]:active::-webkit-slider-thumb {
1205
1298
  transform: scale(1.25);
1206
1299
  }
@@ -1240,16 +1333,21 @@
1240
1333
 
1241
1334
  .cirth details {
1242
1335
  margin-bottom: var(--cirth-spacing);
1243
- display: block;
1244
1336
  }
1245
1337
 
1246
1338
  .cirth details summary {
1247
- line-height: var(--cirth-font-size-md);
1339
+ line-height: var(--cirth-line-height-normal);
1248
1340
  cursor: pointer;
1249
1341
  transition: color var(--cirth-transition);
1250
1342
  list-style-type: none;
1251
1343
  }
1252
1344
 
1345
+ @media (hover: hover) and (pointer: fine) {
1346
+ .cirth details summary:hover:not([role]) {
1347
+ color: var(--cirth-accordion-active-summary-color);
1348
+ }
1349
+ }
1350
+
1253
1351
  .cirth details summary:not([role]) {
1254
1352
  color: var(--cirth-accordion-close-summary-color);
1255
1353
  }
@@ -1263,16 +1361,16 @@
1263
1361
  }
1264
1362
 
1265
1363
  .cirth details summary:after {
1266
- width: var(--cirth-font-size-md);
1267
- height: var(--cirth-font-size-md);
1364
+ width: 1em;
1365
+ height: 1lh;
1268
1366
  float: right;
1269
- background-color: var(--cirth-muted-color);
1270
1367
  mask-image: var(--cirth-icon-chevron);
1271
- mask-position: 100%;
1272
- mask-size: var(--cirth-font-size-md) auto;
1368
+ background-color: currentColor;
1273
1369
  margin-inline-start: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
1274
1370
  display: block;
1275
- transform: rotate(-90deg);
1371
+ transform: rotate(0);
1372
+ mask-position: 100%;
1373
+ mask-size: 1em;
1276
1374
  mask-repeat: no-repeat;
1277
1375
  }
1278
1376
 
@@ -1297,8 +1395,8 @@
1297
1395
 
1298
1396
  .cirth details summary:focus-visible:not([role]) {
1299
1397
  outline: var(--cirth-outline-width) solid var(--cirth-primary-focus);
1300
- outline-offset: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
1301
- color: var(--cirth-primary);
1398
+ outline-offset: var(--cirth-space-1);
1399
+ color: var(--cirth-accordion-active-summary-color);
1302
1400
  }
1303
1401
 
1304
1402
  .cirth details summary[role="button"] {
@@ -1306,59 +1404,92 @@
1306
1404
  width: 100%;
1307
1405
  }
1308
1406
 
1309
- .cirth details summary[role="button"]:after {
1310
- height: calc(var(--cirth-font-size-md) * var(--cirth-line-height, var(--cirth-line-height-normal)));
1311
- }
1312
-
1313
1407
  .cirth details[open] > summary {
1314
- margin-bottom: var(--cirth-spacing);
1408
+ margin-bottom: var(--cirth-space-2);
1315
1409
  }
1316
1410
 
1317
- .cirth details[open] > summary:not([role]):not(:focus) {
1411
+ .cirth details[open] > summary:not([role]):not(:focus, :hover) {
1318
1412
  color: var(--cirth-accordion-open-summary-color);
1319
1413
  }
1320
1414
 
1321
1415
  .cirth details[open] > summary:after {
1322
- transform: rotate(0);
1416
+ transform: rotate(180deg);
1417
+ }
1418
+
1419
+ .cirth details:not(.dropdown) {
1420
+ border-block-end: var(--cirth-border-width) solid var(--cirth-muted-border-color);
1421
+ }
1422
+
1423
+ .cirth details:not(.dropdown) > summary {
1424
+ min-block-size: 2.75rem;
1425
+ padding-block: var(--cirth-space-2);
1426
+ font-weight: var(--cirth-font-weight-semibold);
1427
+ }
1428
+
1429
+ .cirth details:not(.dropdown)[open] {
1430
+ padding-block-end: var(--cirth-space-4);
1431
+ }
1432
+
1433
+ .cirth details:not(.dropdown) > :last-child:not(summary) {
1434
+ margin-bottom: 0;
1435
+ }
1436
+
1437
+ @media (prefers-reduced-motion: no-preference) {
1438
+ @supports selector(::details-content) {
1439
+ .cirth details:not(.dropdown)::details-content {
1440
+ block-size: 0;
1441
+ transition: block-size var(--cirth-transition), content-visibility var(--cirth-transition) allow-discrete;
1442
+ interpolate-size: allow-keywords;
1443
+ overflow: hidden;
1444
+ }
1445
+
1446
+ .cirth details:not(.dropdown)[open]::details-content {
1447
+ block-size: auto;
1448
+ }
1449
+ }
1323
1450
  }
1324
1451
 
1325
1452
  [dir="rtl"] .cirth details summary:after {
1326
1453
  float: left;
1327
- background-position: 0;
1328
1454
  }
1329
1455
 
1330
1456
  .cirth article {
1331
1457
  margin-bottom: var(--cirth-block-spacing-vertical);
1332
1458
  padding: var(--cirth-block-spacing-vertical) var(--cirth-block-spacing-horizontal);
1333
- border-radius: var(--cirth-border-radius);
1459
+ border: var(--cirth-border-width) solid var(--cirth-card-border-color);
1460
+ border-radius: var(--cirth-card-border-radius);
1334
1461
  background: var(--cirth-card-background-color);
1335
1462
  box-shadow: var(--cirth-card-box-shadow);
1336
1463
  }
1337
1464
 
1465
+ .cirth article > :last-child:not(header, footer), .cirth article > :is(header, footer) > :last-child {
1466
+ margin-bottom: 0;
1467
+ }
1468
+
1469
+ .cirth article > :is(header, footer) :is(h1, h2, h3, h4, h5, h6) {
1470
+ margin-top: 0;
1471
+ }
1472
+
1338
1473
  .cirth article > header, .cirth article > footer {
1339
1474
  margin-inline: calc(var(--cirth-block-spacing-horizontal) * -1);
1340
1475
  padding: calc(var(--cirth-block-spacing-vertical) - var(--cirth-space-2)) var(--cirth-block-spacing-horizontal);
1341
1476
  background-color: var(--cirth-card-sectioning-background-color);
1342
1477
  }
1343
1478
 
1344
- .cirth article > header > :last-child, .cirth article > footer > :last-child {
1345
- margin-bottom: 0;
1346
- }
1347
-
1348
1479
  .cirth article > header {
1349
1480
  margin-top: calc(var(--cirth-block-spacing-vertical) * -1);
1350
1481
  margin-bottom: var(--cirth-block-spacing-vertical);
1351
1482
  border-bottom: var(--cirth-border-width) solid var(--cirth-card-border-color);
1352
- border-top-right-radius: var(--cirth-border-radius);
1353
- border-top-left-radius: var(--cirth-border-radius);
1483
+ border-top-right-radius: var(--cirth-card-border-radius);
1484
+ border-top-left-radius: var(--cirth-card-border-radius);
1354
1485
  }
1355
1486
 
1356
1487
  .cirth article > footer {
1357
1488
  margin-top: var(--cirth-block-spacing-vertical);
1358
1489
  margin-bottom: calc(var(--cirth-block-spacing-vertical) * -1);
1359
1490
  border-top: var(--cirth-border-width) solid var(--cirth-card-border-color);
1360
- border-bottom-right-radius: var(--cirth-border-radius);
1361
- border-bottom-left-radius: var(--cirth-border-radius);
1491
+ border-bottom-right-radius: var(--cirth-card-border-radius);
1492
+ border-bottom-left-radius: var(--cirth-card-border-radius);
1362
1493
  }
1363
1494
 
1364
1495
  .cirth details.dropdown {
@@ -1395,7 +1526,7 @@
1395
1526
  }
1396
1527
 
1397
1528
  .cirth details.dropdown > summary:not([role]) {
1398
- height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1529
+ height: max(2.75rem, var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1399
1530
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1400
1531
  border: var(--cirth-border-width) solid var(--cirth-form-element-border-color);
1401
1532
  border-radius: var(--cirth-border-radius);
@@ -1408,6 +1539,12 @@
1408
1539
  transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
1409
1540
  }
1410
1541
 
1542
+ @media (hover: hover) and (pointer: fine) {
1543
+ .cirth details.dropdown > summary:not([role]):hover:not(:active, :focus, [aria-invalid]) {
1544
+ border-color: color-mix(in oklch, var(--cirth-form-element-border-color) 65%, var(--cirth-form-element-color));
1545
+ }
1546
+ }
1547
+
1411
1548
  .cirth details.dropdown > summary:not([role]):active, .cirth details.dropdown > summary:not([role]):focus {
1412
1549
  border-color: var(--cirth-form-element-active-border-color);
1413
1550
  background-color: var(--cirth-form-element-active-background-color);
@@ -1419,6 +1556,7 @@
1419
1556
 
1420
1557
  .cirth details.dropdown > summary:not([role]):focus-visible {
1421
1558
  outline: var(--cirth-outline-width) solid transparent;
1559
+ outline-offset: 0;
1422
1560
  }
1423
1561
 
1424
1562
  .cirth details.dropdown > summary:not([role])[aria-invalid="false"] {
@@ -1755,37 +1893,25 @@
1755
1893
  @starting-style {
1756
1894
  .cirth dialog[open] > article {
1757
1895
  opacity: 0;
1758
- transform: translateY(-100%);
1896
+ transform: translateY(-.5rem);
1759
1897
  }
1760
1898
  }
1761
1899
 
1762
1900
  .cirth dialog > article {
1763
1901
  transition: opacity var(--cirth-transition), transform var(--cirth-transition);
1764
- width: 100%;
1902
+ width: min(100% - var(--cirth-spacing) * 2, var(--cirth-modal-max-width));
1765
1903
  max-height: calc(100vh - var(--cirth-spacing) * 2);
1766
1904
  max-height: calc(100dvh - var(--cirth-spacing) * 2);
1767
1905
  margin: var(--cirth-spacing);
1768
1906
  overflow: auto;
1769
1907
  }
1770
1908
 
1771
- @media (width >= 576px) {
1772
- .cirth dialog > article {
1773
- max-width: 510px;
1774
- }
1775
- }
1776
-
1777
- @media (width >= 768px) {
1778
- .cirth dialog > article {
1779
- max-width: 700px;
1780
- }
1781
- }
1782
-
1783
1909
  .cirth dialog > article > header > * {
1784
1910
  margin-bottom: 0;
1785
1911
  }
1786
1912
 
1787
1913
  .cirth dialog > article > header .close, .cirth dialog > article > header :is(a, button)[rel="prev"] {
1788
- 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);
1914
+ margin: calc(calc((max(2.75rem, 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);
1789
1915
  float: right;
1790
1916
  margin-inline-start: var(--cirth-spacing);
1791
1917
  padding: 0;
@@ -1804,11 +1930,11 @@
1804
1930
  }
1805
1931
 
1806
1932
  .cirth dialog > article .close, .cirth dialog > article :is(a, button)[rel="prev"] {
1807
- 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);
1808
- 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);
1809
- 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));
1810
- 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);
1811
- 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));
1933
+ width: calc(var(--cirth-font-size-md) + calc((max(2.75rem, 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);
1934
+ height: calc(var(--cirth-font-size-md) + calc((max(2.75rem, 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);
1935
+ margin-top: calc(var(--cirth-spacing) * -1 - calc((max(2.75rem, 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));
1936
+ margin-right: calc(calc((max(2.75rem, 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);
1937
+ margin-bottom: calc(var(--cirth-spacing) - calc((max(2.75rem, 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));
1812
1938
  opacity: .5;
1813
1939
  transition: opacity var(--cirth-transition);
1814
1940
  background-color: #0000;
@@ -1848,11 +1974,11 @@
1848
1974
  }
1849
1975
 
1850
1976
  .cirth :where(nav li):before {
1851
- float: left;
1852
1977
  content: "​";
1978
+ position: absolute;
1853
1979
  }
1854
1980
 
1855
- .cirth nav, .cirth nav ul {
1981
+ .cirth nav, .cirth nav :is(ol, ul) {
1856
1982
  display: flex;
1857
1983
  }
1858
1984
 
@@ -1883,8 +2009,11 @@
1883
2009
  }
1884
2010
 
1885
2011
  .cirth nav li :where(a:not([role="button"]), [role="link"]) {
1886
- margin: calc(var(--cirth-nav-link-spacing-vertical) * -1) calc(var(--cirth-nav-link-spacing-horizontal) * -1);
2012
+ --cirth-color: inherit;
2013
+ margin-block: calc(var(--cirth-nav-link-spacing-vertical) * -1);
2014
+ margin-inline: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
1887
2015
  padding: var(--cirth-nav-link-spacing-vertical) var(--cirth-nav-link-spacing-horizontal);
2016
+ border-block-end: var(--cirth-border-width-2) solid transparent;
1888
2017
  border-radius: var(--cirth-border-radius);
1889
2018
  display: inline-block;
1890
2019
  }
@@ -1893,6 +2022,13 @@
1893
2022
  text-decoration: none;
1894
2023
  }
1895
2024
 
2025
+ .cirth nav li :where(a:not([role="button"]), [role="link"]):is([aria-current]:not([aria-current="false"]), [aria-selected="true"]) {
2026
+ --cirth-color: inherit;
2027
+ --cirth-text-decoration: none;
2028
+ border-block-end-color: var(--cirth-primary-border);
2029
+ border-radius: 0;
2030
+ }
2031
+
1896
2032
  .cirth nav li .group, .cirth nav li [role="search"] {
1897
2033
  width: auto;
1898
2034
  margin-bottom: 0;
@@ -1900,7 +2036,7 @@
1900
2036
 
1901
2037
  .cirth nav li button, .cirth nav li [role="button"], .cirth nav li [type="button"], .cirth nav li input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), .cirth nav li select {
1902
2038
  height: auto;
1903
- min-block-size: var(--cirth-space-6);
2039
+ min-block-size: var(--cirth-space-10);
1904
2040
  margin-inline: inherit;
1905
2041
  padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
1906
2042
  margin-bottom: 0;
@@ -1911,16 +2047,16 @@
1911
2047
  align-items: center;
1912
2048
  }
1913
2049
 
1914
- .cirth nav[aria-label="breadcrumb"] ul li:not(:first-child) {
2050
+ .cirth nav[aria-label="breadcrumb"] :is(ol, ul) li:not(:first-child) {
1915
2051
  margin-inline-start: var(--cirth-nav-link-spacing-horizontal);
1916
2052
  }
1917
2053
 
1918
- .cirth nav[aria-label="breadcrumb"] ul li a {
2054
+ .cirth nav[aria-label="breadcrumb"] :is(ol, ul) li a {
1919
2055
  margin: calc(var(--cirth-nav-link-spacing-vertical) * -1) 0;
1920
- margin-inline-start: calc(var(--cirth-nav-link-spacing-horizontal) * -1);
2056
+ margin-inline-start: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
1921
2057
  }
1922
2058
 
1923
- .cirth nav[aria-label="breadcrumb"] ul li:not(:last-child):after {
2059
+ .cirth nav[aria-label="breadcrumb"] :is(ol, ul) li:not(:last-child):after {
1924
2060
  width: calc(var(--cirth-nav-link-spacing-horizontal) * 4);
1925
2061
  margin: 0 calc(var(--cirth-nav-link-spacing-horizontal) * -1);
1926
2062
  content: var(--cirth-nav-breadcrumb-divider);
@@ -1936,22 +2072,70 @@
1936
2072
  color: inherit;
1937
2073
  pointer-events: none;
1938
2074
  background-color: #0000;
2075
+ border-block-end-color: #0000;
1939
2076
  text-decoration: none;
1940
2077
  }
1941
2078
 
1942
- .cirth aside nav, .cirth aside ol, .cirth aside ul, .cirth aside li {
2079
+ .cirth header:not(:is(article, aside, dialog, figure, li, nav, section, td) *) > nav {
2080
+ --cirth-nav-element-spacing-vertical: var(--cirth-space-2);
2081
+ flex-wrap: wrap;
2082
+ align-items: center;
2083
+ }
2084
+
2085
+ .cirth header:not(:is(article, aside, dialog, figure, li, nav, section, td) *) > nav li :where(a:not([role="button"]), [role="link"]) {
2086
+ --cirth-color: var(--cirth-muted-color);
2087
+ --cirth-text-decoration: none;
2088
+ border-block-end: 0;
2089
+ border-radius: 0;
2090
+ }
2091
+
2092
+ .cirth header:not(:is(article, aside, dialog, figure, li, nav, section, td) *) > nav li :where(a:not([role="button"]), [role="link"]):is(:hover, :focus, :active) {
2093
+ --cirth-color: color-mix(in oklch,
2094
+ var(--cirth-muted-color),
2095
+ var(--cirth-contrast));
2096
+ }
2097
+
2098
+ .cirth header:not(:is(article, aside, dialog, figure, li, nav, section, td) *) > nav li :where(a:not([role="button"]), [role="link"]):is([aria-current]:not([aria-current="false"]), [aria-selected="true"]) {
2099
+ --cirth-color: var(--cirth-contrast);
2100
+ font-weight: var(--cirth-font-weight-semibold);
2101
+ }
2102
+
2103
+ .cirth header:not(:is(article, aside, dialog, figure, li, nav, section, td) *) > nav li :where(a:not([role="button"]), [role="link"])[aria-disabled="true"] {
2104
+ --cirth-color: color-mix(in oklch,
2105
+ var(--cirth-muted-color) 55%,
2106
+ transparent);
2107
+ pointer-events: none;
2108
+ }
2109
+
2110
+ .cirth header:not(:is(article, aside, dialog, figure, li, nav, section, td) *) > nav details.dropdown > summary:not([role]) {
2111
+ border-color: var(--cirth-muted-border-color);
2112
+ background-color: #0000;
2113
+ }
2114
+
2115
+ .cirth aside nav {
2116
+ --cirth-nav-element-spacing-horizontal: 0;
1943
2117
  display: block;
1944
2118
  }
1945
2119
 
1946
- .cirth aside li {
1947
- padding: calc(var(--cirth-nav-element-spacing-vertical) * .5) var(--cirth-nav-element-spacing-horizontal);
2120
+ .cirth aside nav ol, .cirth aside nav ul, .cirth aside nav li {
2121
+ display: block;
2122
+ }
2123
+
2124
+ .cirth aside nav li {
2125
+ padding: calc(var(--cirth-nav-element-spacing-vertical) * .5) 0;
1948
2126
  }
1949
2127
 
1950
- .cirth aside li a {
2128
+ .cirth aside nav li a {
2129
+ border-inline-start: var(--cirth-border-width-2) solid transparent;
1951
2130
  display: block;
1952
2131
  }
1953
2132
 
1954
- .cirth aside li [role="button"] {
2133
+ .cirth aside nav li a:is([aria-current]:not([aria-current="false"]), [aria-selected="true"]) {
2134
+ border-block-end-color: #0000;
2135
+ border-inline-start-color: var(--cirth-primary-border);
2136
+ }
2137
+
2138
+ .cirth aside nav li [role="button"] {
1955
2139
  margin: inherit;
1956
2140
  }
1957
2141
 
@@ -1969,11 +2153,18 @@
1969
2153
  background-color: var(--cirth-popover-background-color);
1970
2154
  box-shadow: var(--cirth-popover-box-shadow);
1971
2155
  color: var(--cirth-popover-color);
1972
- transition: opacity var(--cirth-transition), display var(--cirth-transition) allow-discrete, overlay var(--cirth-transition) allow-discrete;
1973
2156
  margin: auto;
1974
2157
  inset: 0;
1975
2158
  }
1976
2159
 
2160
+ .cirth :is([popover=""], [popover="auto"], [popover="hint"]):not(dialog):popover-open > :last-child {
2161
+ margin-bottom: 0;
2162
+ }
2163
+
2164
+ .cirth :is([popover=""], [popover="auto"], [popover="hint"]):not(dialog):popover-open {
2165
+ transition: opacity var(--cirth-transition), display var(--cirth-transition) allow-discrete, overlay var(--cirth-transition) allow-discrete;
2166
+ }
2167
+
1977
2168
  @starting-style {
1978
2169
  .cirth :is([popover=""], [popover="auto"], [popover="hint"]):not(dialog):popover-open {
1979
2170
  opacity: 0;
@@ -2067,6 +2258,7 @@
2067
2258
  scroll-behavior: auto;
2068
2259
  transition-delay: var(--cirth-duration-instant);
2069
2260
  transition-duration: var(--cirth-duration-instant);
2261
+ --cirth-transition: var(--cirth-duration-instant) var(--cirth-ease-out);
2070
2262
  animation-duration: 1ms;
2071
2263
  animation-iteration-count: 1;
2072
2264
  animation-delay: -1ms;
@@ -2086,12 +2278,16 @@
2086
2278
  }
2087
2279
 
2088
2280
  .cirth .sr-only-focusable:focus, .cirth .sr-only-focusable:focus-within {
2089
- clip-path: none;
2090
- white-space: normal;
2091
2281
  width: auto;
2092
2282
  height: auto;
2283
+ padding: var(--cirth-space-2) var(--cirth-space-4);
2284
+ clip-path: none;
2285
+ white-space: normal;
2286
+ z-index: var(--cirth-z-index-fixed);
2287
+ border-radius: var(--cirth-border-radius);
2288
+ background-color: var(--cirth-canvas);
2289
+ color: var(--cirth-ink);
2093
2290
  margin: 0;
2094
- position: static;
2095
2291
  overflow: visible;
2096
2292
  }
2097
2293
 
@@ -2124,7 +2320,7 @@
2124
2320
  --cirth-font-weight-medium: 500;
2125
2321
  --cirth-font-weight-semibold: 600;
2126
2322
  --cirth-font-weight-bold: 700;
2127
- --cirth-letter-spacing-tight: -.02em;
2323
+ --cirth-letter-spacing-tight: -.03em;
2128
2324
  --cirth-letter-spacing-snug: -.01em;
2129
2325
  --cirth-line-height-none: 1;
2130
2326
  --cirth-line-height-tight: 1.125;
@@ -2174,12 +2370,12 @@
2174
2370
  --cirth-z-index-modal-backdrop: 1040;
2175
2371
  --cirth-z-index-modal: 1050;
2176
2372
  --cirth-font-family: var(--cirth-font-family-sans);
2177
- --cirth-font-family-display: var(--cirth-font-family-serif);
2373
+ --cirth-font-family-display: var(--cirth-font-family-sans);
2178
2374
  --cirth-line-height: var(--cirth-line-height-normal);
2179
2375
  --cirth-font-weight: var(--cirth-font-weight-regular);
2180
2376
  --cirth-font-size: 100%;
2181
2377
  --cirth-text-underline-offset: .15em;
2182
- --cirth-border-radius: var(--cirth-radius-lg);
2378
+ --cirth-border-radius: var(--cirth-radius-sm);
2183
2379
  --cirth-card-border-radius: calc(var(--cirth-border-radius) * 1.5);
2184
2380
  --cirth-checkbox-border-radius: min(var(--cirth-border-radius),
2185
2381
  var(--cirth-radius-sm));
@@ -2190,28 +2386,32 @@
2190
2386
  --cirth-background-color: var(--cirth-canvas);
2191
2387
  --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-out);
2192
2388
  --cirth-spacing: var(--cirth-space-4);
2193
- --cirth-typography-spacing-vertical: var(--cirth-space-4);
2389
+ --cirth-typography-spacing-vertical: var(--cirth-spacing);
2194
2390
  --cirth-block-spacing-vertical: var(--cirth-spacing);
2195
2391
  --cirth-block-spacing-horizontal: var(--cirth-spacing);
2392
+ --cirth-container-gutter: clamp(var(--cirth-space-4),
2393
+ 4%,
2394
+ var(--cirth-space-12));
2196
2395
  --cirth-container-max-width: 60rem;
2197
2396
  --cirth-grid-column-gap: var(--cirth-spacing);
2198
2397
  --cirth-grid-row-gap: var(--cirth-spacing);
2199
2398
  --cirth-grid-min-column: 12rem;
2200
2399
  --cirth-form-element-spacing-vertical: var(--cirth-space-2);
2201
2400
  --cirth-form-element-spacing-horizontal: var(--cirth-space-4);
2202
- --cirth-form-label-font-weight: var(--cirth-font-weight);
2401
+ --cirth-form-label-font-weight: var(--cirth-font-weight-medium);
2203
2402
  --cirth-group-box-shadow: 0 0 0 #0000;
2204
2403
  --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width)
2205
2404
  var(--cirth-primary-focus);
2206
2405
  --cirth-group-box-shadow-focus-with-input: 0 0 0 var(--cirth-border-width-1)
2207
2406
  var(--cirth-form-element-border-color);
2407
+ --cirth-card-box-shadow: none;
2208
2408
  --cirth-meter-background-color: var(--cirth-progress-background-color);
2209
2409
  --cirth-meter-border-color: var(--cirth-progress-border-color);
2210
- --cirth-popover-background-color: var(--cirth-card-background-color);
2211
2410
  --cirth-popover-border-color: var(--cirth-muted-border-color);
2212
- --cirth-popover-color: var(--cirth-color);
2411
+ --cirth-popover-color: var(--cirth-ink);
2213
2412
  --cirth-popover-box-shadow: var(--cirth-box-shadow);
2214
2413
  --cirth-popover-max-width: min(30rem, 100% - var(--cirth-spacing) * 2);
2414
+ --cirth-modal-max-width: 43.75rem;
2215
2415
  --cirth-modal-overlay-backdrop-filter: blur(.375rem);
2216
2416
  --cirth-nav-element-spacing-vertical: var(--cirth-space-4);
2217
2417
  --cirth-nav-element-spacing-horizontal: var(--cirth-space-2);
@@ -2221,7 +2421,11 @@
2221
2421
  --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");
2222
2422
  --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");
2223
2423
  --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");
2224
- --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");
2424
+ --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(142, 144, 161)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E");
2425
+ }
2426
+
2427
+ .cirth :focus-visible {
2428
+ transition-duration: var(--cirth-duration-instant);
2225
2429
  }
2226
2430
 
2227
2431
  .cirth a, .cirth a.secondary, .cirth a.contrast {
@@ -2241,30 +2445,35 @@
2241
2445
  --cirth-font-weight: var(--cirth-font-weight-semibold);
2242
2446
  }
2243
2447
 
2448
+ .cirth h1, .cirth h2 {
2449
+ --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2450
+ }
2451
+
2452
+ .cirth h3, .cirth h4 {
2453
+ --cirth-letter-spacing: var(--cirth-letter-spacing-snug);
2454
+ }
2455
+
2244
2456
  .cirth h1 {
2245
- --cirth-font-size: clamp(var(--cirth-font-size-5xl),
2246
- 1.7rem + 2.2vw,
2247
- var(--cirth-font-size-7xl));
2457
+ --cirth-font-size: clamp(var(--cirth-font-size-3xl),
2458
+ 1.31rem + 1.8vw,
2459
+ var(--cirth-font-size-6xl));
2248
2460
  --cirth-line-height: var(--cirth-line-height-tight);
2249
- --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2250
2461
  --cirth-typography-spacing-top: var(--cirth-space-12);
2251
2462
  }
2252
2463
 
2253
2464
  .cirth h2 {
2254
2465
  --cirth-font-size: clamp(var(--cirth-font-size-2xl),
2255
- 1.3rem + 1vw,
2466
+ 1.28rem + .9vw,
2256
2467
  var(--cirth-font-size-4xl));
2257
- --cirth-line-height: 1.15;
2258
- --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2468
+ --cirth-line-height: var(--cirth-line-height-snug);
2259
2469
  --cirth-typography-spacing-top: var(--cirth-space-12);
2260
2470
  }
2261
2471
 
2262
2472
  .cirth h3 {
2263
2473
  --cirth-font-size: clamp(var(--cirth-font-size-xl),
2264
- 1.15rem + .5vw,
2474
+ 1.14rem + .45vw,
2265
2475
  var(--cirth-font-size-2xl));
2266
- --cirth-line-height: 1.2;
2267
- --cirth-letter-spacing: var(--cirth-letter-spacing-snug);
2476
+ --cirth-line-height: var(--cirth-line-height-snug);
2268
2477
  --cirth-typography-spacing-top: var(--cirth-space-10);
2269
2478
  }
2270
2479
 
@@ -2287,14 +2496,12 @@
2287
2496
  }
2288
2497
 
2289
2498
  .cirth article {
2290
- --cirth-border-radius: var(--cirth-card-border-radius);
2291
- --cirth-block-spacing-vertical: var(--cirth-space-6);
2292
- --cirth-block-spacing-horizontal: var(--cirth-space-6);
2499
+ --cirth-block-spacing-vertical: var(--cirth-space-5);
2500
+ --cirth-block-spacing-horizontal: var(--cirth-space-5);
2293
2501
  }
2294
2502
 
2295
2503
  .cirth thead th, .cirth thead td, .cirth tfoot th, .cirth tfoot td {
2296
2504
  --cirth-font-weight: var(--cirth-font-weight-semibold);
2297
- --cirth-border-width: .1875rem;
2298
2505
  }
2299
2506
 
2300
2507
  .cirth pre, .cirth code, .cirth kbd, .cirth samp, .cirth var {
@@ -2309,11 +2516,6 @@
2309
2516
  --cirth-font-weight: bolder;
2310
2517
  }
2311
2518
 
2312
- .cirth input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth :where(select, textarea) {
2313
- --cirth-outline-width: var(--cirth-border-width-1);
2314
- --cirth-line-height: var(--cirth-line-height-relaxed);
2315
- }
2316
-
2317
2519
  .cirth [type="search"] {
2318
2520
  --cirth-border-radius: var(--cirth-radius-pill);
2319
2521
  }
@@ -2324,12 +2526,7 @@
2324
2526
 
2325
2527
  .cirth button, .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"], .cirth [role="button"] {
2326
2528
  --cirth-font-weight: var(--cirth-font-weight-semibold);
2327
- --cirth-line-height: var(--cirth-line-height-relaxed);
2328
- --cirth-form-element-spacing-horizontal: var(--cirth-space-5);
2329
- }
2330
-
2331
- .cirth [type="file"] {
2332
- --cirth-line-height: var(--cirth-line-height-relaxed);
2529
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-4);
2333
2530
  }
2334
2531
 
2335
2532
  .cirth [type="checkbox"], .cirth [type="radio"] {
@@ -2381,54 +2578,46 @@
2381
2578
  }
2382
2579
 
2383
2580
  .cirth {
2384
- --cirth-canvas: light-dark(oklch(97.4% .004 69.35), oklch(20.15% .003 264));
2385
- --cirth-color: light-dark(oklch(35.3% .021 264), oklch(83% .016 264));
2386
- --cirth-text-selection-color: light-dark(oklch(65.7% .121 69.35 / .25), oklch(70% .129 69.35 / .1875));
2387
- --cirth-muted-color: light-dark(oklch(52.7% .032 264), oklch(61.3% .032 264));
2388
- --cirth-muted-border-color: light-dark(oklch(93.85% .003 264), oklch(26.7% .011 264));
2389
- --cirth-error: light-dark(oklch(44% .151 29.73), oklch(74.3% .133 29.73));
2390
- --cirth-success: light-dark(oklch(52.7% .1 160.59), oklch(65.7% .125 160.59));
2391
- --cirth-warning: light-dark(oklch(48.3% .086 78), oklch(70% .124 78));
2392
- --cirth-primary: light-dark(oklch(52.7% .097 69.35), oklch(70% .129 69.35));
2393
- --cirth-secondary: light-dark(oklch(52.7% .032 264), oklch(70% .028 264));
2394
- --cirth-secondary-underline: light-dark(oklch(52.7% .032 264 / .5), oklch(70% .028 264 / .5));
2395
- --cirth-secondary-hover: light-dark(oklch(44% .028 264), oklch(78.7% .021 264));
2396
- --cirth-secondary-hover-background: light-dark(oklch(44% .028 264), oklch(52.7% .032 264));
2397
- --cirth-secondary-focus: light-dark(oklch(48.3% .03 264 / .7), oklch(70% .028 264 / .7));
2398
- --cirth-contrast: light-dark(oklch(22.3% .006 264), oklch(91.7% .006 264));
2399
- --cirth-contrast-background: light-dark(oklch(22.3% .006 264), oklch(96% 0 264));
2400
- --cirth-contrast-underline: light-dark(oklch(22.3% .006 264 / .5), oklch(91.7% .006 264 / .5));
2581
+ --cirth-canvas: light-dark(oklch(97.3% .006 44), oklch(20.15% .0225 280));
2582
+ --cirth-ink: light-dark(oklch(35.3% .027 280), oklch(83% .011 280));
2583
+ --cirth-color: var(--cirth-ink);
2584
+ --cirth-muted-color: light-dark(oklch(52.7% .031 280), oklch(65.7% .025 280));
2585
+ --cirth-muted-border-color: light-dark(oklch(93.85% .002 280), oklch(26.7% .025 280));
2586
+ --cirth-error: light-dark(oklch(44% .151 22), oklch(74.3% .133 22));
2587
+ --cirth-success: light-dark(oklch(52.7% .115 153), oklch(65.7% .144 153));
2588
+ --cirth-warning: light-dark(oklch(48.3% .084 89.5), oklch(70% .122 89.5));
2589
+ --cirth-primary: light-dark(oklch(52.7% .107 44), oklch(65.7% .134 44));
2590
+ --cirth-secondary: light-dark(oklch(52.7% .031 280), oklch(70% .021 280));
2591
+ --cirth-secondary-underline: light-dark(oklch(52.7% .031 280 / .5), oklch(70% .021 280 / .5));
2592
+ --cirth-secondary-hover: light-dark(oklch(44% .029 280), oklch(78.7% .014 280));
2593
+ --cirth-secondary-hover-background: light-dark(oklch(44% .029 280), oklch(52.7% .031 280));
2594
+ --cirth-secondary-focus: light-dark(oklch(48.3% .03 280 / .7), oklch(70% .021 280 / .7));
2595
+ --cirth-contrast: light-dark(oklch(22.3% .023 280), oklch(91.7% .004 280));
2596
+ --cirth-contrast-background: light-dark(oklch(22.3% .023 280), oklch(96% 0 280));
2597
+ --cirth-contrast-underline: light-dark(oklch(22.3% .023 280 / .5), oklch(91.7% .004 280 / .5));
2401
2598
  --cirth-contrast-hover: light-dark(oklch(0% 0 0), oklch(100% 0 0));
2402
2599
  --cirth-contrast-hover-background: light-dark(oklch(0% 0 0), oklch(100% 0 0));
2403
- --cirth-contrast-focus: light-dark(oklch(48.3% .03 264 / .7), oklch(87.3% .011 264 / .5));
2600
+ --cirth-contrast-focus: light-dark(oklch(48.3% .03 280 / .7), oklch(87.3% .007 280 / .5));
2404
2601
  --cirth-contrast-inverse: light-dark(oklch(100% 0 0), oklch(0% 0 0));
2405
- --cirth-link-visited-color: light-dark(oklch(48.3% .03 264), oklch(65.7% .03 264));
2406
- --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),
2407
- .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));
2408
- --cirth-h1-color: light-dark(oklch(22.3% .006 264), oklch(96% 0 264));
2409
- --cirth-h2-color: light-dark(oklch(26.7% .011 264), oklch(91.7% .006 264));
2410
- --cirth-h3-color: light-dark(oklch(31% .016 264), oklch(83% .016 264));
2411
- --cirth-h4-color: light-dark(oklch(35.3% .021 264), oklch(78.7% .021 264));
2412
- --cirth-h5-color: light-dark(oklch(39.7% .025 264), oklch(74.3% .025 264));
2413
- --cirth-h6-color: light-dark(oklch(44% .028 264), oklch(65.7% .03 264));
2414
- --cirth-mark-color: light-dark(oklch(18% 0 264), oklch(100% 0 0));
2415
- --cirth-code-background-color: light-dark(oklch(97% 0 288), oklch(23.4% .00725 264));
2416
- --cirth-code-color: light-dark(oklch(52.7% .032 264), oklch(65.7% .03 264));
2417
- --cirth-form-element-background-color: light-dark(oklch(99% 0 336), oklch(24.5% .0085 264));
2418
- --cirth-form-element-selected-background-color: light-dark(oklch(91.7% .006 264), oklch(31% .016 264));
2419
- --cirth-form-element-border-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
2420
- --cirth-form-element-color: light-dark(oklch(26.7% .011 264), oklch(91.7% .006 264));
2421
- --cirth-form-element-active-background-color: light-dark(oklch(100% 0 0), oklch(23.4% .00725 264));
2422
- --cirth-switch-background-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
2423
- --cirth-range-border-color: light-dark(oklch(91.7% .006 264), oklch(26.7% .011 264));
2424
- --cirth-range-active-border-color: light-dark(oklch(83% .016 264), oklch(31% .016 264));
2425
- --cirth-card-background-color: light-dark(oklch(100% 0 0), oklch(22.3% .006 264));
2426
- --cirth-card-sectioning-background-color: light-dark(oklch(99% 0 336), oklch(23.4% .00725 264));
2427
- --cirth-dropdown-background-color: light-dark(oklch(100% 0 0), oklch(22.3% .006 264));
2428
- --cirth-dropdown-border-color: light-dark(oklch(96% 0 264), oklch(26.7% .011 264));
2429
- --cirth-dropdown-hover-background-color: light-dark(oklch(96% 0 264), oklch(26.7% .011 264));
2430
- --cirth-progress-background-color: light-dark(oklch(91.7% .006 264), oklch(26.7% .011 264));
2431
- --cirth-progress-border-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
2602
+ --cirth-link-visited-color: light-dark(oklch(48.3% 0 280), oklch(65.7% 0 280));
2603
+ --cirth-box-shadow: light-dark(.0145rem .029rem .174rem oklch(65.7% .025 280 / .01698), .0335rem .067rem .402rem oklch(65.7% .025 280 / .024), .0625rem .125rem .75rem oklch(65.7% .025 280 / .03), .1125rem .225rem 1.35rem oklch(65.7% .025 280 / .036), .2085rem .417rem 2.502rem oklch(65.7% .025 280 / .04302), .5rem 1rem 6rem oklch(65.7% .025 280 / .06), 0 0 0 .0625rem oklch(65.7% .025 280 / .015),
2604
+ .0145rem .029rem .174rem oklch(9% .011 280 / .01698), .0335rem .067rem .402rem oklch(9% .011 280 / .024), .0625rem .125rem .75rem oklch(9% .011 280 / .03), .1125rem .225rem 1.35rem oklch(9% .011 280 / .036), .2085rem .417rem 2.502rem oklch(9% .011 280 / .04302), .5rem 1rem 6rem oklch(9% .011 280 / .06), 0 0 0 .0625rem oklch(9% .011 280 / .015));
2605
+ --cirth-h1-color: light-dark(oklch(22.3% .023 280), oklch(96% 0 280));
2606
+ --cirth-h2-color: light-dark(oklch(26.7% .025 280), oklch(91.7% .004 280));
2607
+ --cirth-h3-color: light-dark(oklch(31% .026 280), oklch(83% .011 280));
2608
+ --cirth-h4-color: light-dark(oklch(35.3% .027 280), oklch(78.7% .014 280));
2609
+ --cirth-h5-color: light-dark(oklch(39.7% .028 280), oklch(74.3% .018 280));
2610
+ --cirth-h6-color: light-dark(oklch(44% .029 280), oklch(65.7% .025 280));
2611
+ --cirth-mark-color: light-dark(oklch(18% .022 280), oklch(100% 0 0));
2612
+ --cirth-code-color: light-dark(oklch(52.7% .031 280), oklch(65.7% .025 280));
2613
+ --cirth-form-element-selected-background-color: light-dark(oklch(91.7% .004 280), oklch(31% .026 280));
2614
+ --cirth-form-element-border-color: light-dark(oklch(61.3% .028 280), oklch(52.7% .031 280));
2615
+ --cirth-form-element-color: light-dark(oklch(26.7% .025 280), oklch(91.7% .004 280));
2616
+ --cirth-switch-background-color: light-dark(oklch(61.3% .028 280), oklch(52.7% .031 280));
2617
+ --cirth-range-border-color: light-dark(oklch(91.7% .004 280), oklch(26.7% .025 280));
2618
+ --cirth-range-active-border-color: light-dark(oklch(83% .011 280), oklch(31% .026 280));
2619
+ --cirth-progress-background-color: light-dark(oklch(91.7% .004 280), oklch(26.7% .025 280));
2620
+ --cirth-progress-border-color: light-dark(oklch(61.3% .028 280), oklch(52.7% .031 280));
2432
2621
  }
2433
2622
 
2434
2623
  .cirth:where([data-theme="light"]), .cirth :where([data-theme="light"]), .cirth:where(:not([data-theme="dark"])) {
@@ -2456,7 +2645,15 @@
2456
2645
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
2457
2646
  --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 75%);
2458
2647
  --cirth-primary-inverse: oklch(100% 0 0);
2459
- --cirth-secondary-background: oklch(48.3% .03 264);
2648
+ --cirth-text-selection-color: oklch(from var(--cirth-primary) calc(l * 1.247) c h / 25%);
2649
+ --cirth-code-background-color: oklch(from var(--cirth-canvas) calc(l - .019) c h);
2650
+ --cirth-card-sectioning-background-color: oklch(from var(--cirth-canvas) calc(l + .009) c h);
2651
+ --cirth-form-element-background-color: oklch(from var(--cirth-canvas) calc(l - .008) c h);
2652
+ --cirth-card-background-color: oklch(from var(--cirth-canvas) calc(l + .018) c h);
2653
+ --cirth-form-element-active-background-color: var(--cirth-canvas);
2654
+ --cirth-dropdown-background-color: var(--cirth-card-background-color);
2655
+ --cirth-popover-background-color: var(--cirth-card-background-color);
2656
+ --cirth-secondary-background: oklch(48.3% .03 280);
2460
2657
  --cirth-secondary-border: var(--cirth-secondary-background);
2461
2658
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2462
2659
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
@@ -2464,20 +2661,22 @@
2464
2661
  --cirth-contrast-border: var(--cirth-contrast-background);
2465
2662
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2466
2663
  --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
2467
- --cirth-mark-background-color: var(--cirth-warning-surface);
2664
+ --cirth-mark-background-color: color-mix(in oklab,
2665
+ var(--cirth-primary) 18%,
2666
+ var(--cirth-canvas));
2468
2667
  --cirth-ins-color: var(--cirth-success-text);
2469
2668
  --cirth-del-color: var(--cirth-error-text);
2470
2669
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2471
2670
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
2472
2671
  --cirth-button-box-shadow: 0 0 0 #0000;
2473
2672
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
2474
- --cirth-table-border-color: var(--cirth-muted-border-color);
2475
- --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2476
- --cirth-code-kbd-background-color: var(--cirth-color);
2673
+ --cirth-table-border-color: var(--cirth-card-border-color);
2674
+ --cirth-table-row-stripped-background-color: oklch(57% .032 280 / .0375);
2675
+ --cirth-code-kbd-background-color: var(--cirth-ink);
2477
2676
  --cirth-code-kbd-color: var(--cirth-background-color);
2478
2677
  --cirth-form-element-placeholder-color: var(--cirth-muted-color);
2479
2678
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
2480
- --cirth-form-element-focus-color: var(--cirth-primary-border);
2679
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
2481
2680
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2482
2681
  --cirth-form-element-invalid-border-color: var(--cirth-error-border);
2483
2682
  --cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
@@ -2489,30 +2688,29 @@
2489
2688
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2490
2689
  --cirth-switch-color: var(--cirth-primary-inverse);
2491
2690
  --cirth-range-thumb-border-color: var(--cirth-background-color);
2492
- --cirth-range-thumb-color: var(--cirth-secondary-background);
2691
+ --cirth-range-thumb-color: var(--cirth-secondary);
2493
2692
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
2494
2693
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2495
- --cirth-accordion-close-summary-color: var(--cirth-color);
2496
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2497
- --cirth-card-border-color: var(--cirth-muted-border-color);
2498
- --cirth-card-box-shadow: var(--cirth-box-shadow);
2694
+ --cirth-accordion-close-summary-color: var(--cirth-ink);
2695
+ --cirth-accordion-open-summary-color: var(--cirth-ink);
2696
+ --cirth-card-border-color: color-mix(in oklab,
2697
+ var(--cirth-form-element-border-color) 38%,
2698
+ oklch(from var(--cirth-card-background-color) l 0 h));
2499
2699
  --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
2500
- --cirth-dropdown-color: var(--cirth-color);
2501
- --cirth-modal-overlay-background-color: oklch(93.85% .003 264deg / var(--cirth-opacity-overlay));
2700
+ --cirth-dropdown-color: var(--cirth-ink);
2701
+ --cirth-dropdown-border-color: var(--cirth-card-border-color);
2702
+ --cirth-dropdown-hover-background-color: var(--cirth-card-sectioning-background-color);
2703
+ --cirth-modal-overlay-background-color: oklch(93.85% .002 280deg / var(--cirth-opacity-overlay));
2502
2704
  --cirth-meter-optimum-color: var(--cirth-success);
2503
2705
  --cirth-meter-suboptimum-color: var(--cirth-warning);
2504
2706
  --cirth-meter-even-less-good-color: var(--cirth-error);
2505
2707
  --cirth-progress-color: var(--cirth-primary-background);
2506
- --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");
2507
- --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");
2508
- --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");
2509
- --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");
2510
- --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");
2511
- --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");
2512
- }
2513
-
2514
- .cirth:where([data-theme="light"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth :where([data-theme="light"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth:where(:not([data-theme="dark"])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2515
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
2708
+ --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(103, 105, 125)' 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");
2709
+ --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(103, 105, 125)' 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");
2710
+ --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(103, 105, 125)' 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");
2711
+ --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(103, 105, 125)' 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");
2712
+ --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, 126, 74)' 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");
2713
+ --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, 44, 56)' 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");
2516
2714
  }
2517
2715
 
2518
2716
  @media only screen and (prefers-color-scheme: dark) {
@@ -2537,13 +2735,21 @@
2537
2735
  --cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
2538
2736
  --cirth-primary-hover: oklch(from var(--cirth-primary) calc(l * 1.124) calc(c * 1.132) h);
2539
2737
  --cirth-primary-hover-background: color-mix(in oklch,
2540
- var(--cirth-primary) 81.4%,
2738
+ var(--cirth-primary) 72%,
2541
2739
  black);
2542
2740
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2543
2741
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
2544
- --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 70%);
2742
+ --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 80%);
2743
+ --cirth-text-selection-color: oklch(from var(--cirth-primary) calc(l * 1.065) c h / 18.75%);
2545
2744
  --cirth-primary-inverse: oklch(100% 0 0);
2546
- --cirth-secondary-background: oklch(48.3% .03 264);
2745
+ --cirth-code-background-color: oklch(from var(--cirth-canvas) calc(l - .02) c h);
2746
+ --cirth-card-sectioning-background-color: oklch(from var(--cirth-canvas) calc(l + .025) c h);
2747
+ --cirth-form-element-background-color: oklch(from var(--cirth-canvas) calc(l - .008) c h);
2748
+ --cirth-card-background-color: oklch(from var(--cirth-canvas) calc(l + .04) c h);
2749
+ --cirth-form-element-active-background-color: var(--cirth-canvas);
2750
+ --cirth-dropdown-background-color: var(--cirth-card-background-color);
2751
+ --cirth-popover-background-color: var(--cirth-card-background-color);
2752
+ --cirth-secondary-background: oklch(48.3% .03 280);
2547
2753
  --cirth-secondary-border: var(--cirth-secondary-background);
2548
2754
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2549
2755
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
@@ -2551,20 +2757,22 @@
2551
2757
  --cirth-contrast-border: var(--cirth-contrast-background);
2552
2758
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2553
2759
  --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2554
- --cirth-mark-background-color: var(--cirth-warning-surface);
2760
+ --cirth-mark-background-color: color-mix(in oklab,
2761
+ var(--cirth-primary) 24%,
2762
+ var(--cirth-canvas));
2555
2763
  --cirth-ins-color: var(--cirth-success-text);
2556
2764
  --cirth-del-color: var(--cirth-error-text);
2557
2765
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2558
2766
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
2559
2767
  --cirth-button-box-shadow: 0 0 0 #0000;
2560
2768
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
2561
- --cirth-table-border-color: var(--cirth-muted-border-color);
2562
- --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2563
- --cirth-code-kbd-background-color: var(--cirth-color);
2769
+ --cirth-table-border-color: var(--cirth-card-border-color);
2770
+ --cirth-table-row-stripped-background-color: oklch(57% .032 280 / .0375);
2771
+ --cirth-code-kbd-background-color: var(--cirth-ink);
2564
2772
  --cirth-code-kbd-color: var(--cirth-background-color);
2565
- --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2773
+ --cirth-form-element-placeholder-color: oklch(65.7% .025 280);
2566
2774
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
2567
- --cirth-form-element-focus-color: var(--cirth-primary-border);
2775
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
2568
2776
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2569
2777
  --cirth-form-element-invalid-border-color: var(--cirth-error-border);
2570
2778
  --cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
@@ -2576,30 +2784,29 @@
2576
2784
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2577
2785
  --cirth-switch-color: var(--cirth-primary-inverse);
2578
2786
  --cirth-range-thumb-border-color: var(--cirth-background-color);
2579
- --cirth-range-thumb-color: var(--cirth-secondary-background);
2787
+ --cirth-range-thumb-color: var(--cirth-secondary);
2580
2788
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
2581
2789
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2582
- --cirth-accordion-close-summary-color: var(--cirth-color);
2583
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2584
- --cirth-card-border-color: var(--cirth-card-background-color);
2585
- --cirth-card-box-shadow: var(--cirth-box-shadow);
2790
+ --cirth-accordion-close-summary-color: var(--cirth-ink);
2791
+ --cirth-accordion-open-summary-color: var(--cirth-ink);
2792
+ --cirth-card-border-color: color-mix(in oklab,
2793
+ var(--cirth-form-element-border-color) 46%,
2794
+ var(--cirth-card-background-color));
2586
2795
  --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
2587
- --cirth-dropdown-color: var(--cirth-color);
2588
- --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2796
+ --cirth-dropdown-color: var(--cirth-ink);
2797
+ --cirth-dropdown-border-color: var(--cirth-card-border-color);
2798
+ --cirth-dropdown-hover-background-color: var(--cirth-card-sectioning-background-color);
2799
+ --cirth-modal-overlay-background-color: oklch(9% .011 280deg / var(--cirth-opacity-overlay));
2589
2800
  --cirth-meter-optimum-color: var(--cirth-success);
2590
2801
  --cirth-meter-suboptimum-color: var(--cirth-warning);
2591
2802
  --cirth-meter-even-less-good-color: var(--cirth-error);
2592
- --cirth-progress-color: oklch(61.3% .113 69.35);
2593
- --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");
2594
- --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");
2595
- --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");
2596
- --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");
2597
- --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");
2598
- --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");
2599
- }
2600
-
2601
- .cirth:where(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2602
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
2803
+ --cirth-progress-color: var(--cirth-primary);
2804
+ --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(142, 144, 161)' 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");
2805
+ --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(142, 144, 161)' 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");
2806
+ --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(142, 144, 161)' 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");
2807
+ --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(142, 144, 161)' 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");
2808
+ --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, 216, 131)' 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");
2809
+ --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, 158, 155)' 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");
2603
2810
  }
2604
2811
 
2605
2812
  .cirth:where(:not([data-theme])) details summary[role="button"].contrast:not(.outline):after, .cirth:where(:not([data-theme])) [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
@@ -2628,13 +2835,21 @@
2628
2835
  --cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
2629
2836
  --cirth-primary-hover: oklch(from var(--cirth-primary) calc(l * 1.124) calc(c * 1.132) h);
2630
2837
  --cirth-primary-hover-background: color-mix(in oklch,
2631
- var(--cirth-primary) 81.4%,
2838
+ var(--cirth-primary) 72%,
2632
2839
  black);
2633
2840
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2634
2841
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
2635
- --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 70%);
2842
+ --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 80%);
2843
+ --cirth-text-selection-color: oklch(from var(--cirth-primary) calc(l * 1.065) c h / 18.75%);
2636
2844
  --cirth-primary-inverse: oklch(100% 0 0);
2637
- --cirth-secondary-background: oklch(48.3% .03 264);
2845
+ --cirth-code-background-color: oklch(from var(--cirth-canvas) calc(l - .02) c h);
2846
+ --cirth-card-sectioning-background-color: oklch(from var(--cirth-canvas) calc(l + .025) c h);
2847
+ --cirth-form-element-background-color: oklch(from var(--cirth-canvas) calc(l - .008) c h);
2848
+ --cirth-card-background-color: oklch(from var(--cirth-canvas) calc(l + .04) c h);
2849
+ --cirth-form-element-active-background-color: var(--cirth-canvas);
2850
+ --cirth-dropdown-background-color: var(--cirth-card-background-color);
2851
+ --cirth-popover-background-color: var(--cirth-card-background-color);
2852
+ --cirth-secondary-background: oklch(48.3% .03 280);
2638
2853
  --cirth-secondary-border: var(--cirth-secondary-background);
2639
2854
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2640
2855
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
@@ -2642,20 +2857,22 @@
2642
2857
  --cirth-contrast-border: var(--cirth-contrast-background);
2643
2858
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2644
2859
  --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2645
- --cirth-mark-background-color: var(--cirth-warning-surface);
2860
+ --cirth-mark-background-color: color-mix(in oklab,
2861
+ var(--cirth-primary) 24%,
2862
+ var(--cirth-canvas));
2646
2863
  --cirth-ins-color: var(--cirth-success-text);
2647
2864
  --cirth-del-color: var(--cirth-error-text);
2648
2865
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2649
2866
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
2650
2867
  --cirth-button-box-shadow: 0 0 0 #0000;
2651
2868
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
2652
- --cirth-table-border-color: var(--cirth-muted-border-color);
2653
- --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2654
- --cirth-code-kbd-background-color: var(--cirth-color);
2869
+ --cirth-table-border-color: var(--cirth-card-border-color);
2870
+ --cirth-table-row-stripped-background-color: oklch(57% .032 280 / .0375);
2871
+ --cirth-code-kbd-background-color: var(--cirth-ink);
2655
2872
  --cirth-code-kbd-color: var(--cirth-background-color);
2656
- --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2873
+ --cirth-form-element-placeholder-color: oklch(65.7% .025 280);
2657
2874
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
2658
- --cirth-form-element-focus-color: var(--cirth-primary-border);
2875
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
2659
2876
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2660
2877
  --cirth-form-element-invalid-border-color: var(--cirth-error-border);
2661
2878
  --cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
@@ -2667,30 +2884,29 @@
2667
2884
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2668
2885
  --cirth-switch-color: var(--cirth-primary-inverse);
2669
2886
  --cirth-range-thumb-border-color: var(--cirth-background-color);
2670
- --cirth-range-thumb-color: var(--cirth-secondary-background);
2887
+ --cirth-range-thumb-color: var(--cirth-secondary);
2671
2888
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
2672
2889
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2673
- --cirth-accordion-close-summary-color: var(--cirth-color);
2674
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2675
- --cirth-card-border-color: var(--cirth-card-background-color);
2676
- --cirth-card-box-shadow: var(--cirth-box-shadow);
2890
+ --cirth-accordion-close-summary-color: var(--cirth-ink);
2891
+ --cirth-accordion-open-summary-color: var(--cirth-ink);
2892
+ --cirth-card-border-color: color-mix(in oklab,
2893
+ var(--cirth-form-element-border-color) 46%,
2894
+ var(--cirth-card-background-color));
2677
2895
  --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
2678
- --cirth-dropdown-color: var(--cirth-color);
2679
- --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2896
+ --cirth-dropdown-color: var(--cirth-ink);
2897
+ --cirth-dropdown-border-color: var(--cirth-card-border-color);
2898
+ --cirth-dropdown-hover-background-color: var(--cirth-card-sectioning-background-color);
2899
+ --cirth-modal-overlay-background-color: oklch(9% .011 280deg / var(--cirth-opacity-overlay));
2680
2900
  --cirth-meter-optimum-color: var(--cirth-success);
2681
2901
  --cirth-meter-suboptimum-color: var(--cirth-warning);
2682
2902
  --cirth-meter-even-less-good-color: var(--cirth-error);
2683
- --cirth-progress-color: oklch(61.3% .113 69.35);
2684
- --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");
2685
- --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");
2686
- --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");
2687
- --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");
2688
- --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");
2689
- --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");
2690
- }
2691
-
2692
- .cirth:where([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth :where([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2693
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
2903
+ --cirth-progress-color: var(--cirth-primary);
2904
+ --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(142, 144, 161)' 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");
2905
+ --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(142, 144, 161)' 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");
2906
+ --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(142, 144, 161)' 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");
2907
+ --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(142, 144, 161)' 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");
2908
+ --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, 216, 131)' 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");
2909
+ --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, 158, 155)' 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");
2694
2910
  }
2695
2911
 
2696
2912
  .cirth:where([data-theme="dark"]) details summary[role="button"].contrast:not(.outline):after, .cirth :where([data-theme="dark"]) details summary[role="button"].contrast:not(.outline):after, .cirth:where([data-theme="dark"]) [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before, .cirth :where([data-theme="dark"]) [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
@@ -2703,120 +2919,120 @@
2703
2919
 
2704
2920
  @media (prefers-contrast: more) {
2705
2921
  .cirth:where([data-theme="light"]), .cirth :where([data-theme="light"]), .cirth:where(:not([data-theme="dark"])) {
2706
- --cirth-color: oklch(22.3% .006 264);
2922
+ --cirth-ink: oklch(22.3% .023 280);
2707
2923
  --cirth-h1-color: var(--cirth-color);
2708
2924
  --cirth-h2-color: var(--cirth-color);
2709
2925
  --cirth-h3-color: var(--cirth-color);
2710
2926
  --cirth-h4-color: var(--cirth-color);
2711
2927
  --cirth-h5-color: var(--cirth-color);
2712
2928
  --cirth-h6-color: var(--cirth-color);
2713
- --cirth-muted-color: oklch(39.7% .025 264);
2714
- --cirth-secondary: oklch(39.7% .025 264);
2715
- --cirth-code-color: oklch(35.3% .021 264);
2716
- --cirth-link-visited-color: oklch(35.3% .021 264);
2717
- --cirth-muted-border-color: oklch(57% .032 264);
2718
- --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");
2719
- --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");
2720
- --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");
2721
- --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");
2722
- --cirth-form-element-border-color: oklch(39.7% .025 264);
2723
- --cirth-form-element-invalid-border-color: oklch(48.3% .166 29.73);
2724
- --cirth-form-element-valid-border-color: oklch(48.3% .092 160.59);
2725
- --cirth-primary: oklch(39.7% .073 69.35);
2726
- --cirth-primary-hover: oklch(31% .057 69.35);
2929
+ --cirth-muted-color: oklch(39.7% .028 280);
2930
+ --cirth-secondary: oklch(39.7% .028 280);
2931
+ --cirth-code-color: oklch(35.3% .027 280);
2932
+ --cirth-link-visited-color: oklch(35.3% .027 280);
2933
+ --cirth-muted-border-color: oklch(57% .032 280);
2934
+ --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(68, 69, 86)' 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");
2935
+ --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(68, 69, 86)' 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");
2936
+ --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(68, 69, 86)' 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");
2937
+ --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(68, 69, 86)' 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");
2938
+ --cirth-form-element-border-color: oklch(39.7% .028 280);
2939
+ --cirth-form-element-invalid-border-color: oklch(48.3% .165 22);
2940
+ --cirth-form-element-valid-border-color: oklch(48.3% .106 153);
2941
+ --cirth-primary: oklch(39.7% .081 44);
2942
+ --cirth-primary-hover: oklch(31% .063 44);
2727
2943
  --cirth-primary-underline: var(--cirth-primary);
2728
2944
  --cirth-secondary-underline: var(--cirth-secondary);
2729
2945
  --cirth-contrast-underline: var(--cirth-contrast);
2730
- --cirth-primary-focus: oklch(48.3% .089 69.35);
2731
- --cirth-secondary-focus: oklch(48.3% .03 264);
2732
- --cirth-contrast-focus: oklch(48.3% .03 264);
2733
- --cirth-switch-background-color: oklch(48.3% .03 264);
2734
- --cirth-progress-border-color: oklch(48.3% .03 264);
2735
- --cirth-meter-optimum-color: oklch(44% .084 160.59);
2736
- --cirth-meter-suboptimum-color: oklch(39.7% .07 78);
2737
- --cirth-meter-even-less-good-color: oklch(35.3% .122 29.73);
2946
+ --cirth-primary-focus: oklch(48.3% .098 44);
2947
+ --cirth-secondary-focus: oklch(48.3% .03 280);
2948
+ --cirth-contrast-focus: oklch(48.3% .03 280);
2949
+ --cirth-switch-background-color: oklch(48.3% .03 280);
2950
+ --cirth-progress-border-color: oklch(48.3% .03 280);
2951
+ --cirth-meter-optimum-color: oklch(44% .096 153);
2952
+ --cirth-meter-suboptimum-color: oklch(39.7% .069 89.5);
2953
+ --cirth-meter-even-less-good-color: oklch(35.3% .121 22);
2738
2954
  --cirth-dropdown-border-color: var(--cirth-muted-border-color);
2739
2955
  }
2740
2956
  }
2741
2957
 
2742
2958
  @media only screen and (prefers-contrast: more) and (prefers-color-scheme: dark) {
2743
2959
  .cirth:where(:not([data-theme])) {
2744
- --cirth-color: oklch(96% 0 264);
2960
+ --cirth-ink: oklch(96% 0 280);
2745
2961
  --cirth-h1-color: var(--cirth-color);
2746
2962
  --cirth-h2-color: var(--cirth-color);
2747
2963
  --cirth-h3-color: var(--cirth-color);
2748
2964
  --cirth-h4-color: var(--cirth-color);
2749
2965
  --cirth-h5-color: var(--cirth-color);
2750
2966
  --cirth-h6-color: var(--cirth-color);
2751
- --cirth-muted-color: oklch(78.7% .021 264);
2752
- --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");
2753
- --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");
2754
- --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");
2755
- --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");
2756
- --cirth-secondary: oklch(78.7% .021 264);
2757
- --cirth-code-color: oklch(83% .016 264);
2758
- --cirth-link-visited-color: oklch(78.7% .021 264);
2759
- --cirth-muted-border-color: oklch(57% .032 264);
2967
+ --cirth-muted-color: oklch(78.7% .014 280);
2968
+ --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(183, 185, 195)' 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");
2969
+ --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(183, 185, 195)' 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");
2970
+ --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(183, 185, 195)' 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");
2971
+ --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(183, 185, 195)' 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");
2972
+ --cirth-secondary: oklch(78.7% .014 280);
2973
+ --cirth-code-color: oklch(83% .011 280);
2974
+ --cirth-link-visited-color: oklch(78.7% .014 280);
2975
+ --cirth-muted-border-color: oklch(57% .032 280);
2760
2976
  --cirth-card-border-color: var(--cirth-muted-border-color);
2761
- --cirth-form-element-border-color: oklch(70% .028 264);
2762
- --cirth-form-element-invalid-border-color: oklch(78.7% .106 29.73);
2763
- --cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
2764
- --cirth-primary: oklch(78.7% .146 69.35);
2765
- --cirth-primary-hover: oklch(87.3% .082 69.35);
2766
- --cirth-primary-background: oklch(44% .081 69.35);
2767
- --cirth-primary-hover-background: oklch(39.7% .073 69.35);
2977
+ --cirth-form-element-border-color: oklch(70% .021 280);
2978
+ --cirth-form-element-invalid-border-color: oklch(78.7% .105 22);
2979
+ --cirth-form-element-valid-border-color: oklch(78.7% .172 153);
2980
+ --cirth-primary: oklch(78.7% .092 44);
2981
+ --cirth-primary-hover: oklch(87.3% .051 44);
2982
+ --cirth-primary-background: oklch(44% .09 44);
2983
+ --cirth-primary-hover-background: oklch(39.7% .081 44);
2768
2984
  --cirth-primary-underline: var(--cirth-primary);
2769
2985
  --cirth-secondary-underline: var(--cirth-secondary);
2770
2986
  --cirth-contrast-underline: var(--cirth-contrast);
2771
- --cirth-primary-focus: oklch(70% .129 69.35);
2772
- --cirth-secondary-focus: oklch(70% .028 264);
2773
- --cirth-contrast-focus: oklch(87.3% .011 264);
2774
- --cirth-switch-background-color: oklch(65.7% .03 264);
2775
- --cirth-progress-border-color: oklch(70% .028 264);
2776
- --cirth-meter-optimum-color: oklch(74.3% .142 160.59);
2777
- --cirth-meter-suboptimum-color: oklch(78.7% .139 78);
2778
- --cirth-meter-even-less-good-color: oklch(83% .081 29.73);
2987
+ --cirth-primary-focus: oklch(70% .141 44);
2988
+ --cirth-secondary-focus: oklch(70% .021 280);
2989
+ --cirth-contrast-focus: oklch(87.3% .007 280);
2990
+ --cirth-switch-background-color: oklch(65.7% .025 280);
2991
+ --cirth-progress-border-color: oklch(70% .021 280);
2992
+ --cirth-meter-optimum-color: oklch(74.3% .163 153);
2993
+ --cirth-meter-suboptimum-color: oklch(78.7% .137 89.5);
2994
+ --cirth-meter-even-less-good-color: oklch(83% .08 22);
2779
2995
  --cirth-dropdown-border-color: var(--cirth-muted-border-color);
2780
2996
  }
2781
2997
  }
2782
2998
 
2783
2999
  @media (prefers-contrast: more) {
2784
3000
  .cirth:where([data-theme="dark"]), .cirth :where([data-theme="dark"]) {
2785
- --cirth-color: oklch(96% 0 264);
3001
+ --cirth-ink: oklch(96% 0 280);
2786
3002
  --cirth-h1-color: var(--cirth-color);
2787
3003
  --cirth-h2-color: var(--cirth-color);
2788
3004
  --cirth-h3-color: var(--cirth-color);
2789
3005
  --cirth-h4-color: var(--cirth-color);
2790
3006
  --cirth-h5-color: var(--cirth-color);
2791
3007
  --cirth-h6-color: var(--cirth-color);
2792
- --cirth-muted-color: oklch(78.7% .021 264);
2793
- --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");
2794
- --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");
2795
- --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");
2796
- --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");
2797
- --cirth-secondary: oklch(78.7% .021 264);
2798
- --cirth-code-color: oklch(83% .016 264);
2799
- --cirth-link-visited-color: oklch(78.7% .021 264);
2800
- --cirth-muted-border-color: oklch(57% .032 264);
3008
+ --cirth-muted-color: oklch(78.7% .014 280);
3009
+ --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(183, 185, 195)' 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");
3010
+ --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(183, 185, 195)' 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");
3011
+ --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(183, 185, 195)' 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");
3012
+ --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(183, 185, 195)' 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");
3013
+ --cirth-secondary: oklch(78.7% .014 280);
3014
+ --cirth-code-color: oklch(83% .011 280);
3015
+ --cirth-link-visited-color: oklch(78.7% .014 280);
3016
+ --cirth-muted-border-color: oklch(57% .032 280);
2801
3017
  --cirth-card-border-color: var(--cirth-muted-border-color);
2802
- --cirth-form-element-border-color: oklch(70% .028 264);
2803
- --cirth-form-element-invalid-border-color: oklch(78.7% .106 29.73);
2804
- --cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
2805
- --cirth-primary: oklch(78.7% .146 69.35);
2806
- --cirth-primary-hover: oklch(87.3% .082 69.35);
2807
- --cirth-primary-background: oklch(44% .081 69.35);
2808
- --cirth-primary-hover-background: oklch(39.7% .073 69.35);
3018
+ --cirth-form-element-border-color: oklch(70% .021 280);
3019
+ --cirth-form-element-invalid-border-color: oklch(78.7% .105 22);
3020
+ --cirth-form-element-valid-border-color: oklch(78.7% .172 153);
3021
+ --cirth-primary: oklch(78.7% .092 44);
3022
+ --cirth-primary-hover: oklch(87.3% .051 44);
3023
+ --cirth-primary-background: oklch(44% .09 44);
3024
+ --cirth-primary-hover-background: oklch(39.7% .081 44);
2809
3025
  --cirth-primary-underline: var(--cirth-primary);
2810
3026
  --cirth-secondary-underline: var(--cirth-secondary);
2811
3027
  --cirth-contrast-underline: var(--cirth-contrast);
2812
- --cirth-primary-focus: oklch(70% .129 69.35);
2813
- --cirth-secondary-focus: oklch(70% .028 264);
2814
- --cirth-contrast-focus: oklch(87.3% .011 264);
2815
- --cirth-switch-background-color: oklch(65.7% .03 264);
2816
- --cirth-progress-border-color: oklch(70% .028 264);
2817
- --cirth-meter-optimum-color: oklch(74.3% .142 160.59);
2818
- --cirth-meter-suboptimum-color: oklch(78.7% .139 78);
2819
- --cirth-meter-even-less-good-color: oklch(83% .081 29.73);
3028
+ --cirth-primary-focus: oklch(70% .141 44);
3029
+ --cirth-secondary-focus: oklch(70% .021 280);
3030
+ --cirth-contrast-focus: oklch(87.3% .007 280);
3031
+ --cirth-switch-background-color: oklch(65.7% .025 280);
3032
+ --cirth-progress-border-color: oklch(70% .021 280);
3033
+ --cirth-meter-optimum-color: oklch(74.3% .163 153);
3034
+ --cirth-meter-suboptimum-color: oklch(78.7% .137 89.5);
3035
+ --cirth-meter-even-less-good-color: oklch(83% .08 22);
2820
3036
  --cirth-dropdown-border-color: var(--cirth-muted-border-color);
2821
3037
  }
2822
3038
  }