@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.
- package/NOTICE.md +9 -0
- package/README.md +19 -14
- package/dist/cirth.classless.css +481 -335
- package/dist/cirth.classless.min.css +1 -1
- package/dist/cirth.classless.scoped.css +481 -335
- package/dist/cirth.classless.scoped.min.css +1 -1
- package/dist/cirth.css +571 -355
- package/dist/cirth.min.css +1 -1
- package/dist/cirth.print.classless.css +10 -7
- package/dist/cirth.print.classless.min.css +1 -1
- package/dist/cirth.print.classless.scoped.css +10 -7
- package/dist/cirth.print.classless.scoped.min.css +1 -1
- package/dist/cirth.print.css +10 -7
- package/dist/cirth.print.min.css +1 -1
- package/dist/cirth.print.scoped.css +10 -7
- package/dist/cirth.print.scoped.min.css +1 -1
- package/dist/cirth.scoped.css +571 -355
- package/dist/cirth.scoped.min.css +1 -1
- package/dist/presets/plain.css +2 -2
- package/dist/presets/plain.min.css +1 -1
- package/dist/presets/playroom.css +5 -10
- package/dist/presets/playroom.min.css +1 -1
- package/package.json +20 -5
package/dist/cirth.css
CHANGED
|
@@ -44,21 +44,28 @@ section {
|
|
|
44
44
|
margin-bottom: var(--cirth-block-spacing-vertical);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
main > section + section {
|
|
48
|
+
margin-block-start: var(--cirth-space-8);
|
|
49
|
+
}
|
|
50
|
+
|
|
47
51
|
.container, .container-fluid {
|
|
48
|
-
grid-template-columns: minmax(var(--cirth-spacing), 1fr) minmax(0, 1fr) minmax(var(--cirth-spacing), 1fr);
|
|
49
52
|
display: grid;
|
|
50
53
|
}
|
|
51
54
|
|
|
52
55
|
.container > *, .container-fluid > * {
|
|
53
|
-
grid-column:
|
|
56
|
+
grid-column: content;
|
|
54
57
|
}
|
|
55
58
|
|
|
56
59
|
.container {
|
|
57
|
-
grid-template-columns: minmax(var(--cirth-
|
|
60
|
+
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];
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.container-fluid {
|
|
64
|
+
grid-template-columns: [full-start] var(--cirth-container-gutter) [content-start] minmax(0, 1fr) [content-end] var(--cirth-container-gutter) [full-end];
|
|
58
65
|
}
|
|
59
66
|
|
|
60
|
-
.breakout {
|
|
61
|
-
grid-column:
|
|
67
|
+
.container > .breakout {
|
|
68
|
+
grid-column: full;
|
|
62
69
|
}
|
|
63
70
|
|
|
64
71
|
.row {
|
|
@@ -99,6 +106,10 @@ section {
|
|
|
99
106
|
overflow: auto;
|
|
100
107
|
}
|
|
101
108
|
|
|
109
|
+
.overflow-auto:focus-visible {
|
|
110
|
+
outline: var(--cirth-outline-width) solid var(--cirth-primary-focus);
|
|
111
|
+
}
|
|
112
|
+
|
|
102
113
|
b, strong {
|
|
103
114
|
font-weight: bolder;
|
|
104
115
|
}
|
|
@@ -119,11 +130,9 @@ sup {
|
|
|
119
130
|
}
|
|
120
131
|
|
|
121
132
|
address, blockquote, dl, ol, p, pre, table, ul {
|
|
122
|
-
margin-
|
|
123
|
-
margin-bottom: var(--cirth-typography-spacing-vertical);
|
|
133
|
+
margin-block: 0 var(--cirth-typography-spacing-vertical);
|
|
124
134
|
color: var(--cirth-color);
|
|
125
135
|
font-style: normal;
|
|
126
|
-
font-weight: var(--cirth-font-weight);
|
|
127
136
|
}
|
|
128
137
|
|
|
129
138
|
p {
|
|
@@ -131,8 +140,7 @@ p {
|
|
|
131
140
|
}
|
|
132
141
|
|
|
133
142
|
h1, h2, h3, h4, h5, h6 {
|
|
134
|
-
margin-
|
|
135
|
-
margin-bottom: var(--cirth-typography-spacing-vertical);
|
|
143
|
+
margin-block: 0 calc(var(--cirth-typography-spacing-vertical) * .5);
|
|
136
144
|
color: var(--cirth-color);
|
|
137
145
|
font-weight: var(--cirth-font-weight);
|
|
138
146
|
font-size: var(--cirth-font-size);
|
|
@@ -170,13 +178,12 @@ h6 {
|
|
|
170
178
|
margin-top: var(--cirth-typography-spacing-top);
|
|
171
179
|
}
|
|
172
180
|
|
|
173
|
-
|
|
181
|
+
hgroup {
|
|
174
182
|
margin-bottom: var(--cirth-typography-spacing-vertical);
|
|
175
183
|
}
|
|
176
184
|
|
|
177
185
|
hgroup > * {
|
|
178
|
-
margin-
|
|
179
|
-
margin-bottom: 0;
|
|
186
|
+
margin-block: 0;
|
|
180
187
|
}
|
|
181
188
|
|
|
182
189
|
hgroup > :not(:first-child):last-child {
|
|
@@ -198,11 +205,32 @@ ul li {
|
|
|
198
205
|
list-style: square;
|
|
199
206
|
}
|
|
200
207
|
|
|
208
|
+
dt {
|
|
209
|
+
font-weight: var(--cirth-font-weight-semibold);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
dd {
|
|
213
|
+
margin-inline-start: 0;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
dl > dd + dt {
|
|
217
|
+
margin-top: calc(var(--cirth-typography-spacing-vertical) * .5);
|
|
218
|
+
}
|
|
219
|
+
|
|
201
220
|
mark {
|
|
202
221
|
padding: 0 var(--cirth-space-1);
|
|
203
222
|
background-color: var(--cirth-mark-background-color);
|
|
204
223
|
color: var(--cirth-mark-color);
|
|
205
224
|
vertical-align: baseline;
|
|
225
|
+
-webkit-box-decoration-break: clone;
|
|
226
|
+
box-decoration-break: clone;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
@media (forced-colors: active) {
|
|
230
|
+
mark {
|
|
231
|
+
color: marktext;
|
|
232
|
+
background-color: mark;
|
|
233
|
+
}
|
|
206
234
|
}
|
|
207
235
|
|
|
208
236
|
blockquote {
|
|
@@ -210,7 +238,10 @@ blockquote {
|
|
|
210
238
|
padding: var(--cirth-spacing);
|
|
211
239
|
border-inline-start: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
|
|
212
240
|
border-inline-end: none;
|
|
213
|
-
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
blockquote > :last-child, blockquote > :has( + footer) {
|
|
244
|
+
margin-bottom: 0;
|
|
214
245
|
}
|
|
215
246
|
|
|
216
247
|
blockquote footer {
|
|
@@ -282,10 +313,14 @@ del {
|
|
|
282
313
|
--cirth-underline: var(--cirth-contrast-hover-underline);
|
|
283
314
|
}
|
|
284
315
|
|
|
285
|
-
:where(a:not([role="button"])):visited:not(.secondary, .contrast, details.dropdown a, [aria-current]:not([aria-current="false"]), :hover, :active, :focus, nav a) {
|
|
316
|
+
: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)) {
|
|
286
317
|
color: var(--cirth-link-visited-color);
|
|
287
318
|
}
|
|
288
319
|
|
|
320
|
+
:where(a:not([role="button"])):has(article) {
|
|
321
|
+
--cirth-color: inherit;
|
|
322
|
+
}
|
|
323
|
+
|
|
289
324
|
a[role="button"] {
|
|
290
325
|
display: inline-block;
|
|
291
326
|
}
|
|
@@ -306,7 +341,7 @@ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
|
|
|
306
341
|
--cirth-color: var(--cirth-primary-inverse);
|
|
307
342
|
--cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
|
|
308
343
|
max-width: 100%;
|
|
309
|
-
min-block-size:
|
|
344
|
+
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);
|
|
310
345
|
padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
|
|
311
346
|
border: var(--cirth-border-width) solid var(--cirth-border-color);
|
|
312
347
|
border-radius: var(--cirth-border-radius);
|
|
@@ -331,7 +366,7 @@ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
|
|
|
331
366
|
--cirth-color: var(--cirth-primary-inverse);
|
|
332
367
|
--cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
|
|
333
368
|
max-width: 100%;
|
|
334
|
-
min-block-size:
|
|
369
|
+
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);
|
|
335
370
|
padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
|
|
336
371
|
border: var(--cirth-border-width) solid var(--cirth-border-color);
|
|
337
372
|
border-radius: var(--cirth-border-radius);
|
|
@@ -372,11 +407,11 @@ button[aria-current]:not([aria-current="false"]), button:is(:hover, :active, :fo
|
|
|
372
407
|
}
|
|
373
408
|
|
|
374
409
|
button:active, [type="submit"]:active, [type="reset"]:active, [type="button"]:active, [role="button"]:active {
|
|
375
|
-
|
|
410
|
+
background-image: linear-gradient(#0000001f 0 0);
|
|
376
411
|
}
|
|
377
412
|
|
|
378
413
|
[type="file"]::file-selector-button:active {
|
|
379
|
-
|
|
414
|
+
background-image: linear-gradient(#0000001f 0 0);
|
|
380
415
|
}
|
|
381
416
|
|
|
382
417
|
button:focus-visible, button[aria-current]:not([aria-current="false"]):focus-visible, [type="submit"]:focus-visible, [type="submit"][aria-current]:not([aria-current="false"]):focus-visible, [type="reset"]:focus-visible, [type="reset"][aria-current]:not([aria-current="false"]):focus-visible, [type="button"]:focus-visible, [type="button"][aria-current]:not([aria-current="false"]):focus-visible, [role="button"]:focus-visible, [role="button"][aria-current]:not([aria-current="false"]):focus-visible {
|
|
@@ -385,18 +420,6 @@ button:focus-visible, button[aria-current]:not([aria-current="false"]):focus-vis
|
|
|
385
420
|
outline: var(--cirth-outline-width) solid transparent;
|
|
386
421
|
}
|
|
387
422
|
|
|
388
|
-
[type="file"]::file-selector-button:focus-visible {
|
|
389
|
-
--cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
|
|
390
|
-
0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
|
|
391
|
-
outline: var(--cirth-outline-width) solid transparent;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
[type="file"]::file-selector-button:is():focus-visible {
|
|
395
|
-
--cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
|
|
396
|
-
0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
|
|
397
|
-
outline: var(--cirth-outline-width) solid transparent;
|
|
398
|
-
}
|
|
399
|
-
|
|
400
423
|
[type="submit"], [type="reset"], [type="button"] {
|
|
401
424
|
margin-bottom: var(--cirth-spacing);
|
|
402
425
|
}
|
|
@@ -432,16 +455,6 @@ button:focus-visible, button[aria-current]:not([aria-current="false"]):focus-vis
|
|
|
432
455
|
0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
|
|
433
456
|
}
|
|
434
457
|
|
|
435
|
-
[type="file"]::file-selector-button:focus-visible {
|
|
436
|
-
--cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
|
|
437
|
-
0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
[type="file"]::file-selector-button:is():focus-visible {
|
|
441
|
-
--cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
|
|
442
|
-
0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
|
|
443
|
-
}
|
|
444
|
-
|
|
445
458
|
:is(button, [type="submit"], [type="button"], [role="button"]).contrast {
|
|
446
459
|
--cirth-background-color: var(--cirth-contrast-background);
|
|
447
460
|
--cirth-border-color: var(--cirth-contrast-border);
|
|
@@ -459,13 +472,33 @@ button:focus-visible, button[aria-current]:not([aria-current="false"]):focus-vis
|
|
|
459
472
|
0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
|
|
460
473
|
}
|
|
461
474
|
|
|
475
|
+
:is(button, [type="submit"], [type="button"], [role="button"]).danger {
|
|
476
|
+
--cirth-background-color: light-dark(var(--cirth-error), color-mix(in oklch, var(--cirth-error) 55%, black));
|
|
477
|
+
--cirth-border-color: var(--cirth-background-color);
|
|
478
|
+
--cirth-color: var(--cirth-primary-inverse);
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
:is(button, [type="submit"], [type="button"], [role="button"]).danger:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
|
|
482
|
+
--cirth-background-color: light-dark(color-mix(in oklch, var(--cirth-error) 85%, black), color-mix(in oklch, var(--cirth-error) 50%, black));
|
|
483
|
+
--cirth-border-color: var(--cirth-background-color);
|
|
484
|
+
--cirth-color: var(--cirth-primary-inverse);
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
:is(button, [type="submit"], [type="button"], [role="button"]).danger:focus-visible, :is(button, [type="submit"], [type="button"], [role="button"]).danger[aria-current]:not([aria-current="false"]):focus-visible {
|
|
488
|
+
--cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
|
|
489
|
+
0
|
|
490
|
+
0
|
|
491
|
+
0
|
|
492
|
+
var(--cirth-outline-width)
|
|
493
|
+
var(--cirth-form-element-invalid-focus-color);
|
|
494
|
+
}
|
|
495
|
+
|
|
462
496
|
:is(button, [type="submit"], [type="button"], [role="button"]).outline, [type="reset"].outline {
|
|
463
|
-
--cirth-background-color: var(--cirth-
|
|
497
|
+
--cirth-background-color: var(--cirth-form-element-background-color);
|
|
464
498
|
}
|
|
465
499
|
|
|
466
500
|
:is(button, [type="submit"], [type="button"], [role="button"]).ghost, [type="reset"].ghost {
|
|
467
501
|
--cirth-background-color: transparent;
|
|
468
|
-
--cirth-box-shadow: none;
|
|
469
502
|
}
|
|
470
503
|
|
|
471
504
|
:is(button, [type="submit"], [type="button"], [role="button"]).outline, [type="reset"].outline {
|
|
@@ -476,7 +509,7 @@ button:focus-visible, button[aria-current]:not([aria-current="false"]):focus-vis
|
|
|
476
509
|
:is(button, [type="submit"], [type="button"], [role="button"]).outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
|
|
477
510
|
--cirth-background-color: color-mix(in oklch,
|
|
478
511
|
var(--cirth-primary) 12%,
|
|
479
|
-
var(--cirth-
|
|
512
|
+
var(--cirth-form-element-background-color));
|
|
480
513
|
--cirth-color: var(--cirth-primary-hover);
|
|
481
514
|
--cirth-border-color: var(--cirth-primary-hover);
|
|
482
515
|
}
|
|
@@ -489,7 +522,7 @@ button:focus-visible, button[aria-current]:not([aria-current="false"]):focus-vis
|
|
|
489
522
|
:is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].outline.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
|
|
490
523
|
--cirth-background-color: color-mix(in oklch,
|
|
491
524
|
var(--cirth-secondary) 12%,
|
|
492
|
-
var(--cirth-
|
|
525
|
+
var(--cirth-form-element-background-color));
|
|
493
526
|
--cirth-color: var(--cirth-secondary-hover);
|
|
494
527
|
--cirth-border-color: var(--cirth-secondary-hover);
|
|
495
528
|
}
|
|
@@ -502,7 +535,7 @@ button:focus-visible, button[aria-current]:not([aria-current="false"]):focus-vis
|
|
|
502
535
|
:is(button, [type="submit"], [type="button"], [role="button"]).outline.contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].outline.contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
|
|
503
536
|
--cirth-background-color: color-mix(in oklch,
|
|
504
537
|
var(--cirth-contrast) 12%,
|
|
505
|
-
var(--cirth-
|
|
538
|
+
var(--cirth-form-element-background-color));
|
|
506
539
|
--cirth-color: var(--cirth-contrast-hover);
|
|
507
540
|
--cirth-border-color: var(--cirth-contrast-hover);
|
|
508
541
|
}
|
|
@@ -546,27 +579,59 @@ button:focus-visible, button[aria-current]:not([aria-current="false"]):focus-vis
|
|
|
546
579
|
--cirth-border-color: transparent;
|
|
547
580
|
}
|
|
548
581
|
|
|
582
|
+
:is(button, [type="submit"], [type="button"], [role="button"]).outline.danger {
|
|
583
|
+
--cirth-background-color: var(--cirth-form-element-background-color);
|
|
584
|
+
--cirth-color: var(--cirth-error-text);
|
|
585
|
+
--cirth-border-color: var(--cirth-error-border);
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
:is(button, [type="submit"], [type="button"], [role="button"]).outline.danger:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
|
|
589
|
+
--cirth-background-color: var(--cirth-error-surface);
|
|
590
|
+
--cirth-color: var(--cirth-error-text);
|
|
591
|
+
--cirth-border-color: var(--cirth-error-active);
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
:is(button, [type="submit"], [type="button"], [role="button"]).ghost.danger {
|
|
595
|
+
--cirth-background-color: transparent;
|
|
596
|
+
--cirth-color: var(--cirth-error-text);
|
|
597
|
+
--cirth-border-color: transparent;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
:is(button, [type="submit"], [type="button"], [role="button"]).ghost.danger:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
|
|
601
|
+
--cirth-background-color: color-mix(in oklch,
|
|
602
|
+
var(--cirth-error) 12%,
|
|
603
|
+
transparent);
|
|
604
|
+
--cirth-color: var(--cirth-error-text);
|
|
605
|
+
--cirth-border-color: transparent;
|
|
606
|
+
}
|
|
607
|
+
|
|
549
608
|
:where(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[disabled], :where(fieldset[disabled]) :is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]) {
|
|
550
609
|
opacity: var(--cirth-opacity-disabled);
|
|
551
610
|
pointer-events: none;
|
|
552
611
|
}
|
|
553
612
|
|
|
554
|
-
form:invalid :is(button:not([type="button"], [type="reset"]), [type="submit"]) {
|
|
613
|
+
form:has(:user-invalid) :is(button:not([type="button"], [type="reset"]), [type="submit"]) {
|
|
555
614
|
filter: grayscale();
|
|
556
615
|
}
|
|
557
616
|
|
|
558
617
|
:where(table) {
|
|
559
618
|
border-collapse: collapse;
|
|
560
|
-
border-spacing: 0;
|
|
561
619
|
text-indent: 0;
|
|
562
620
|
border-color: currentColor;
|
|
563
621
|
width: 100%;
|
|
564
622
|
}
|
|
565
623
|
|
|
624
|
+
caption {
|
|
625
|
+
color: var(--cirth-muted-color);
|
|
626
|
+
font-size: var(--cirth-font-size-sm);
|
|
627
|
+
line-height: var(--cirth-line-height-normal);
|
|
628
|
+
text-align: start;
|
|
629
|
+
padding-block-end: calc(var(--cirth-spacing) * .5);
|
|
630
|
+
}
|
|
631
|
+
|
|
566
632
|
th, td {
|
|
567
633
|
padding: calc(var(--cirth-spacing) / 2) var(--cirth-spacing);
|
|
568
634
|
border-bottom: var(--cirth-border-width) solid var(--cirth-table-border-color);
|
|
569
|
-
color: var(--cirth-color);
|
|
570
635
|
font-weight: var(--cirth-font-weight);
|
|
571
636
|
font-variant-numeric: tabular-nums;
|
|
572
637
|
text-align: start;
|
|
@@ -632,10 +697,15 @@ code, kbd, samp {
|
|
|
632
697
|
|
|
633
698
|
pre {
|
|
634
699
|
margin-bottom: var(--cirth-spacing);
|
|
700
|
+
border: var(--cirth-border-width) solid var(--cirth-card-border-color);
|
|
635
701
|
display: block;
|
|
636
702
|
overflow-x: auto;
|
|
637
703
|
}
|
|
638
704
|
|
|
705
|
+
pre:focus-visible {
|
|
706
|
+
outline: var(--cirth-outline-width) solid var(--cirth-primary-focus);
|
|
707
|
+
}
|
|
708
|
+
|
|
639
709
|
pre > code, pre > samp {
|
|
640
710
|
padding: var(--cirth-spacing);
|
|
641
711
|
line-height: var(--cirth-line-height);
|
|
@@ -665,6 +735,8 @@ figure {
|
|
|
665
735
|
figure figcaption {
|
|
666
736
|
padding: calc(var(--cirth-spacing) * .5) 0;
|
|
667
737
|
color: var(--cirth-muted-color);
|
|
738
|
+
font-size: var(--cirth-font-size-sm);
|
|
739
|
+
line-height: var(--cirth-line-height-normal);
|
|
668
740
|
}
|
|
669
741
|
|
|
670
742
|
hr {
|
|
@@ -723,11 +795,11 @@ legend {
|
|
|
723
795
|
}
|
|
724
796
|
|
|
725
797
|
input:not([type="checkbox"], [type="radio"], [type="range"]) {
|
|
726
|
-
height:
|
|
798
|
+
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);
|
|
727
799
|
}
|
|
728
800
|
|
|
729
801
|
select, textarea {
|
|
730
|
-
min-block-size:
|
|
802
|
+
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);
|
|
731
803
|
}
|
|
732
804
|
|
|
733
805
|
fieldset {
|
|
@@ -745,10 +817,6 @@ label, fieldset legend {
|
|
|
745
817
|
display: block;
|
|
746
818
|
}
|
|
747
819
|
|
|
748
|
-
fieldset legend {
|
|
749
|
-
margin-bottom: calc(var(--cirth-spacing) * .5);
|
|
750
|
-
}
|
|
751
|
-
|
|
752
820
|
input:not([type="checkbox"], [type="radio"], [size]), button[type="submit"], select, textarea {
|
|
753
821
|
width: 100%;
|
|
754
822
|
}
|
|
@@ -773,6 +841,11 @@ input, select, textarea {
|
|
|
773
841
|
outline: none;
|
|
774
842
|
}
|
|
775
843
|
|
|
844
|
+
:where(input, textarea)[readonly] {
|
|
845
|
+
background-color: var(--cirth-card-sectioning-background-color);
|
|
846
|
+
border-style: dashed;
|
|
847
|
+
}
|
|
848
|
+
|
|
776
849
|
input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [readonly]):is(:active, :focus), :where(select, textarea):not([readonly]):is(:active, :focus) {
|
|
777
850
|
--cirth-background-color: var(--cirth-form-element-active-background-color);
|
|
778
851
|
}
|
|
@@ -781,10 +854,18 @@ input:not([type="submit"], [type="button"], [type="reset"], [role="switch"], [re
|
|
|
781
854
|
--cirth-border-color: var(--cirth-form-element-active-border-color);
|
|
782
855
|
}
|
|
783
856
|
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
857
|
+
@media (hover: hover) and (pointer: fine) {
|
|
858
|
+
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) {
|
|
859
|
+
--cirth-border-color: color-mix(in oklch,
|
|
860
|
+
var(--cirth-form-element-border-color) 65%,
|
|
861
|
+
var(--cirth-color));
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
:where(select, textarea):not([readonly]):hover:not(:active, :focus, :disabled, [aria-invalid], :user-invalid) {
|
|
865
|
+
--cirth-border-color: color-mix(in oklch,
|
|
866
|
+
var(--cirth-form-element-border-color) 65%,
|
|
867
|
+
var(--cirth-color));
|
|
868
|
+
}
|
|
788
869
|
}
|
|
789
870
|
|
|
790
871
|
input:not([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly]):focus, :where(select, textarea):not([readonly]):focus {
|
|
@@ -889,7 +970,7 @@ textarea:not([rows]) {
|
|
|
889
970
|
textarea:is([aria-invalid], :user-invalid:not([aria-invalid], [type="range"]):not(select:focus)) {
|
|
890
971
|
--cirth-icon-height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) +
|
|
891
972
|
var(--cirth-form-element-spacing-vertical) * 2 +
|
|
892
|
-
var(--cirth-border-width) * 2);
|
|
973
|
+
(var(--cirth-border-width) * 2));
|
|
893
974
|
background-position: top right var(--cirth-space-3);
|
|
894
975
|
background-size: var(--cirth-font-size-md) var(--cirth-icon-height);
|
|
895
976
|
}
|
|
@@ -1155,9 +1236,9 @@ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type
|
|
|
1155
1236
|
|
|
1156
1237
|
[type="range"] {
|
|
1157
1238
|
appearance: none;
|
|
1158
|
-
background: none;
|
|
1159
1239
|
width: 100%;
|
|
1160
|
-
height:
|
|
1240
|
+
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);
|
|
1241
|
+
background: none;
|
|
1161
1242
|
}
|
|
1162
1243
|
|
|
1163
1244
|
[type="range"]::-webkit-slider-runnable-track {
|
|
@@ -1204,6 +1285,18 @@ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type
|
|
|
1204
1285
|
--cirth-range-thumb-color: var(--cirth-range-thumb-active-color);
|
|
1205
1286
|
}
|
|
1206
1287
|
|
|
1288
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1289
|
+
[type="range"]:hover:not(:active, :focus, :disabled) {
|
|
1290
|
+
--cirth-range-border-color: var(--cirth-range-active-border-color);
|
|
1291
|
+
--cirth-range-thumb-color: var(--cirth-secondary-hover);
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
[type="range"]:focus-visible {
|
|
1296
|
+
outline: var(--cirth-outline-width) solid var(--cirth-primary-focus);
|
|
1297
|
+
outline-offset: var(--cirth-space-1);
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1207
1300
|
[type="range"]:active::-webkit-slider-thumb {
|
|
1208
1301
|
transform: scale(1.25);
|
|
1209
1302
|
}
|
|
@@ -1243,16 +1336,21 @@ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type
|
|
|
1243
1336
|
|
|
1244
1337
|
details {
|
|
1245
1338
|
margin-bottom: var(--cirth-spacing);
|
|
1246
|
-
display: block;
|
|
1247
1339
|
}
|
|
1248
1340
|
|
|
1249
1341
|
details summary {
|
|
1250
|
-
line-height: var(--cirth-
|
|
1342
|
+
line-height: var(--cirth-line-height-normal);
|
|
1251
1343
|
cursor: pointer;
|
|
1252
1344
|
transition: color var(--cirth-transition);
|
|
1253
1345
|
list-style-type: none;
|
|
1254
1346
|
}
|
|
1255
1347
|
|
|
1348
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1349
|
+
details summary:hover:not([role]) {
|
|
1350
|
+
color: var(--cirth-accordion-active-summary-color);
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1256
1354
|
details summary:not([role]) {
|
|
1257
1355
|
color: var(--cirth-accordion-close-summary-color);
|
|
1258
1356
|
}
|
|
@@ -1266,16 +1364,16 @@ details summary::marker {
|
|
|
1266
1364
|
}
|
|
1267
1365
|
|
|
1268
1366
|
details summary:after {
|
|
1269
|
-
width:
|
|
1270
|
-
height:
|
|
1367
|
+
width: 1em;
|
|
1368
|
+
height: 1lh;
|
|
1271
1369
|
float: right;
|
|
1272
|
-
background-color: var(--cirth-muted-color);
|
|
1273
1370
|
mask-image: var(--cirth-icon-chevron);
|
|
1274
|
-
|
|
1275
|
-
mask-size: var(--cirth-font-size-md) auto;
|
|
1371
|
+
background-color: currentColor;
|
|
1276
1372
|
margin-inline-start: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
|
|
1277
1373
|
display: block;
|
|
1278
|
-
transform: rotate(
|
|
1374
|
+
transform: rotate(0);
|
|
1375
|
+
mask-position: 100%;
|
|
1376
|
+
mask-size: 1em;
|
|
1279
1377
|
mask-repeat: no-repeat;
|
|
1280
1378
|
}
|
|
1281
1379
|
|
|
@@ -1300,8 +1398,8 @@ details summary:focus:not([role]) {
|
|
|
1300
1398
|
|
|
1301
1399
|
details summary:focus-visible:not([role]) {
|
|
1302
1400
|
outline: var(--cirth-outline-width) solid var(--cirth-primary-focus);
|
|
1303
|
-
outline-offset:
|
|
1304
|
-
color: var(--cirth-
|
|
1401
|
+
outline-offset: var(--cirth-space-1);
|
|
1402
|
+
color: var(--cirth-accordion-active-summary-color);
|
|
1305
1403
|
}
|
|
1306
1404
|
|
|
1307
1405
|
details summary[role="button"] {
|
|
@@ -1309,59 +1407,92 @@ details summary[role="button"] {
|
|
|
1309
1407
|
width: 100%;
|
|
1310
1408
|
}
|
|
1311
1409
|
|
|
1312
|
-
details summary[role="button"]:after {
|
|
1313
|
-
height: calc(var(--cirth-font-size-md) * var(--cirth-line-height, var(--cirth-line-height-normal)));
|
|
1314
|
-
}
|
|
1315
|
-
|
|
1316
1410
|
details[open] > summary {
|
|
1317
|
-
margin-bottom: var(--cirth-
|
|
1411
|
+
margin-bottom: var(--cirth-space-2);
|
|
1318
1412
|
}
|
|
1319
1413
|
|
|
1320
|
-
details[open] > summary:not([role]):not(:focus) {
|
|
1414
|
+
details[open] > summary:not([role]):not(:focus, :hover) {
|
|
1321
1415
|
color: var(--cirth-accordion-open-summary-color);
|
|
1322
1416
|
}
|
|
1323
1417
|
|
|
1324
1418
|
details[open] > summary:after {
|
|
1325
|
-
transform: rotate(
|
|
1419
|
+
transform: rotate(180deg);
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1422
|
+
details:not(.dropdown) {
|
|
1423
|
+
border-block-end: var(--cirth-border-width) solid var(--cirth-muted-border-color);
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
details:not(.dropdown) > summary {
|
|
1427
|
+
min-block-size: 2.75rem;
|
|
1428
|
+
padding-block: var(--cirth-space-2);
|
|
1429
|
+
font-weight: var(--cirth-font-weight-semibold);
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
details:not(.dropdown)[open] {
|
|
1433
|
+
padding-block-end: var(--cirth-space-4);
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
details:not(.dropdown) > :last-child:not(summary) {
|
|
1437
|
+
margin-bottom: 0;
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1441
|
+
@supports selector(::details-content) {
|
|
1442
|
+
details:not(.dropdown)::details-content {
|
|
1443
|
+
block-size: 0;
|
|
1444
|
+
transition: block-size var(--cirth-transition), content-visibility var(--cirth-transition) allow-discrete;
|
|
1445
|
+
interpolate-size: allow-keywords;
|
|
1446
|
+
overflow: hidden;
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
details:not(.dropdown)[open]::details-content {
|
|
1450
|
+
block-size: auto;
|
|
1451
|
+
}
|
|
1452
|
+
}
|
|
1326
1453
|
}
|
|
1327
1454
|
|
|
1328
1455
|
[dir="rtl"] details summary:after {
|
|
1329
1456
|
float: left;
|
|
1330
|
-
background-position: 0;
|
|
1331
1457
|
}
|
|
1332
1458
|
|
|
1333
1459
|
article {
|
|
1334
1460
|
margin-bottom: var(--cirth-block-spacing-vertical);
|
|
1335
1461
|
padding: var(--cirth-block-spacing-vertical) var(--cirth-block-spacing-horizontal);
|
|
1336
|
-
border
|
|
1462
|
+
border: var(--cirth-border-width) solid var(--cirth-card-border-color);
|
|
1463
|
+
border-radius: var(--cirth-card-border-radius);
|
|
1337
1464
|
background: var(--cirth-card-background-color);
|
|
1338
1465
|
box-shadow: var(--cirth-card-box-shadow);
|
|
1339
1466
|
}
|
|
1340
1467
|
|
|
1468
|
+
article > :last-child:not(header, footer), article > :is(header, footer) > :last-child {
|
|
1469
|
+
margin-bottom: 0;
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
article > :is(header, footer) :is(h1, h2, h3, h4, h5, h6) {
|
|
1473
|
+
margin-top: 0;
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1341
1476
|
article > header, article > footer {
|
|
1342
1477
|
margin-inline: calc(var(--cirth-block-spacing-horizontal) * -1);
|
|
1343
1478
|
padding: calc(var(--cirth-block-spacing-vertical) - var(--cirth-space-2)) var(--cirth-block-spacing-horizontal);
|
|
1344
1479
|
background-color: var(--cirth-card-sectioning-background-color);
|
|
1345
1480
|
}
|
|
1346
1481
|
|
|
1347
|
-
article > header > :last-child, article > footer > :last-child {
|
|
1348
|
-
margin-bottom: 0;
|
|
1349
|
-
}
|
|
1350
|
-
|
|
1351
1482
|
article > header {
|
|
1352
1483
|
margin-top: calc(var(--cirth-block-spacing-vertical) * -1);
|
|
1353
1484
|
margin-bottom: var(--cirth-block-spacing-vertical);
|
|
1354
1485
|
border-bottom: var(--cirth-border-width) solid var(--cirth-card-border-color);
|
|
1355
|
-
border-top-right-radius: var(--cirth-border-radius);
|
|
1356
|
-
border-top-left-radius: var(--cirth-border-radius);
|
|
1486
|
+
border-top-right-radius: var(--cirth-card-border-radius);
|
|
1487
|
+
border-top-left-radius: var(--cirth-card-border-radius);
|
|
1357
1488
|
}
|
|
1358
1489
|
|
|
1359
1490
|
article > footer {
|
|
1360
1491
|
margin-top: var(--cirth-block-spacing-vertical);
|
|
1361
1492
|
margin-bottom: calc(var(--cirth-block-spacing-vertical) * -1);
|
|
1362
1493
|
border-top: var(--cirth-border-width) solid var(--cirth-card-border-color);
|
|
1363
|
-
border-bottom-right-radius: var(--cirth-border-radius);
|
|
1364
|
-
border-bottom-left-radius: var(--cirth-border-radius);
|
|
1494
|
+
border-bottom-right-radius: var(--cirth-card-border-radius);
|
|
1495
|
+
border-bottom-left-radius: var(--cirth-card-border-radius);
|
|
1365
1496
|
}
|
|
1366
1497
|
|
|
1367
1498
|
details.dropdown {
|
|
@@ -1398,7 +1529,7 @@ nav details.dropdown {
|
|
|
1398
1529
|
}
|
|
1399
1530
|
|
|
1400
1531
|
details.dropdown > summary:not([role]) {
|
|
1401
|
-
height:
|
|
1532
|
+
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);
|
|
1402
1533
|
padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
|
|
1403
1534
|
border: var(--cirth-border-width) solid var(--cirth-form-element-border-color);
|
|
1404
1535
|
border-radius: var(--cirth-border-radius);
|
|
@@ -1411,6 +1542,12 @@ details.dropdown > summary:not([role]) {
|
|
|
1411
1542
|
transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
|
|
1412
1543
|
}
|
|
1413
1544
|
|
|
1545
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1546
|
+
details.dropdown > summary:not([role]):hover:not(:active, :focus, [aria-invalid]) {
|
|
1547
|
+
border-color: color-mix(in oklch, var(--cirth-form-element-border-color) 65%, var(--cirth-form-element-color));
|
|
1548
|
+
}
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1414
1551
|
details.dropdown > summary:not([role]):active, details.dropdown > summary:not([role]):focus {
|
|
1415
1552
|
border-color: var(--cirth-form-element-active-border-color);
|
|
1416
1553
|
background-color: var(--cirth-form-element-active-background-color);
|
|
@@ -1422,6 +1559,7 @@ details.dropdown > summary:not([role]):focus {
|
|
|
1422
1559
|
|
|
1423
1560
|
details.dropdown > summary:not([role]):focus-visible {
|
|
1424
1561
|
outline: var(--cirth-outline-width) solid transparent;
|
|
1562
|
+
outline-offset: 0;
|
|
1425
1563
|
}
|
|
1426
1564
|
|
|
1427
1565
|
details.dropdown > summary:not([role])[aria-invalid="false"] {
|
|
@@ -1758,37 +1896,25 @@ dialog[open] {
|
|
|
1758
1896
|
@starting-style {
|
|
1759
1897
|
dialog[open] > article {
|
|
1760
1898
|
opacity: 0;
|
|
1761
|
-
transform: translateY(
|
|
1899
|
+
transform: translateY(-.5rem);
|
|
1762
1900
|
}
|
|
1763
1901
|
}
|
|
1764
1902
|
|
|
1765
1903
|
dialog > article {
|
|
1766
1904
|
transition: opacity var(--cirth-transition), transform var(--cirth-transition);
|
|
1767
|
-
width: 100
|
|
1905
|
+
width: min(100% - var(--cirth-spacing) * 2, var(--cirth-modal-max-width));
|
|
1768
1906
|
max-height: calc(100vh - var(--cirth-spacing) * 2);
|
|
1769
1907
|
max-height: calc(100dvh - var(--cirth-spacing) * 2);
|
|
1770
1908
|
margin: var(--cirth-spacing);
|
|
1771
1909
|
overflow: auto;
|
|
1772
1910
|
}
|
|
1773
1911
|
|
|
1774
|
-
@media (width >= 576px) {
|
|
1775
|
-
dialog > article {
|
|
1776
|
-
max-width: 510px;
|
|
1777
|
-
}
|
|
1778
|
-
}
|
|
1779
|
-
|
|
1780
|
-
@media (width >= 768px) {
|
|
1781
|
-
dialog > article {
|
|
1782
|
-
max-width: 700px;
|
|
1783
|
-
}
|
|
1784
|
-
}
|
|
1785
|
-
|
|
1786
1912
|
dialog > article > header > * {
|
|
1787
1913
|
margin-bottom: 0;
|
|
1788
1914
|
}
|
|
1789
1915
|
|
|
1790
1916
|
dialog > article > header .close, dialog > article > header :is(a, button)[rel="prev"] {
|
|
1791
|
-
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);
|
|
1917
|
+
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);
|
|
1792
1918
|
float: right;
|
|
1793
1919
|
margin-inline-start: var(--cirth-spacing);
|
|
1794
1920
|
padding: 0;
|
|
@@ -1807,11 +1933,11 @@ dialog > article > footer button:not(:first-of-type), dialog > article > footer
|
|
|
1807
1933
|
}
|
|
1808
1934
|
|
|
1809
1935
|
dialog > article .close, dialog > article :is(a, button)[rel="prev"] {
|
|
1810
|
-
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);
|
|
1811
|
-
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);
|
|
1812
|
-
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));
|
|
1813
|
-
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);
|
|
1814
|
-
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));
|
|
1936
|
+
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);
|
|
1937
|
+
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);
|
|
1938
|
+
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));
|
|
1939
|
+
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);
|
|
1940
|
+
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));
|
|
1815
1941
|
opacity: .5;
|
|
1816
1942
|
transition: opacity var(--cirth-transition);
|
|
1817
1943
|
background-color: #0000;
|
|
@@ -1855,11 +1981,11 @@ html:has(dialog:modal) {
|
|
|
1855
1981
|
}
|
|
1856
1982
|
|
|
1857
1983
|
:where(nav li):before {
|
|
1858
|
-
float: left;
|
|
1859
1984
|
content: "";
|
|
1985
|
+
position: absolute;
|
|
1860
1986
|
}
|
|
1861
1987
|
|
|
1862
|
-
nav, nav ul {
|
|
1988
|
+
nav, nav :is(ol, ul) {
|
|
1863
1989
|
display: flex;
|
|
1864
1990
|
}
|
|
1865
1991
|
|
|
@@ -1890,8 +2016,11 @@ nav li {
|
|
|
1890
2016
|
}
|
|
1891
2017
|
|
|
1892
2018
|
nav li :where(a:not([role="button"]), [role="link"]) {
|
|
1893
|
-
|
|
2019
|
+
--cirth-color: inherit;
|
|
2020
|
+
margin-block: calc(var(--cirth-nav-link-spacing-vertical) * -1);
|
|
2021
|
+
margin-inline: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
|
|
1894
2022
|
padding: var(--cirth-nav-link-spacing-vertical) var(--cirth-nav-link-spacing-horizontal);
|
|
2023
|
+
border-block-end: var(--cirth-border-width-2) solid transparent;
|
|
1895
2024
|
border-radius: var(--cirth-border-radius);
|
|
1896
2025
|
display: inline-block;
|
|
1897
2026
|
}
|
|
@@ -1900,6 +2029,13 @@ nav li :where(a:not([role="button"]), [role="link"]):not(:hover) {
|
|
|
1900
2029
|
text-decoration: none;
|
|
1901
2030
|
}
|
|
1902
2031
|
|
|
2032
|
+
nav li :where(a:not([role="button"]), [role="link"]):is([aria-current]:not([aria-current="false"]), [aria-selected="true"]) {
|
|
2033
|
+
--cirth-color: inherit;
|
|
2034
|
+
--cirth-text-decoration: none;
|
|
2035
|
+
border-block-end-color: var(--cirth-primary-border);
|
|
2036
|
+
border-radius: 0;
|
|
2037
|
+
}
|
|
2038
|
+
|
|
1903
2039
|
nav li .group, nav li [role="search"] {
|
|
1904
2040
|
width: auto;
|
|
1905
2041
|
margin-bottom: 0;
|
|
@@ -1907,7 +2043,7 @@ nav li .group, nav li [role="search"] {
|
|
|
1907
2043
|
|
|
1908
2044
|
nav li button, nav li [role="button"], nav li [type="button"], nav li input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), nav li select {
|
|
1909
2045
|
height: auto;
|
|
1910
|
-
min-block-size: var(--cirth-space-
|
|
2046
|
+
min-block-size: var(--cirth-space-10);
|
|
1911
2047
|
margin-inline: inherit;
|
|
1912
2048
|
padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
|
|
1913
2049
|
margin-bottom: 0;
|
|
@@ -1918,16 +2054,16 @@ nav[aria-label="breadcrumb"] {
|
|
|
1918
2054
|
align-items: center;
|
|
1919
2055
|
}
|
|
1920
2056
|
|
|
1921
|
-
nav[aria-label="breadcrumb"] ul li:not(:first-child) {
|
|
2057
|
+
nav[aria-label="breadcrumb"] :is(ol, ul) li:not(:first-child) {
|
|
1922
2058
|
margin-inline-start: var(--cirth-nav-link-spacing-horizontal);
|
|
1923
2059
|
}
|
|
1924
2060
|
|
|
1925
|
-
nav[aria-label="breadcrumb"] ul li a {
|
|
2061
|
+
nav[aria-label="breadcrumb"] :is(ol, ul) li a {
|
|
1926
2062
|
margin: calc(var(--cirth-nav-link-spacing-vertical) * -1) 0;
|
|
1927
|
-
margin-inline-start: calc(var(--cirth-nav-
|
|
2063
|
+
margin-inline-start: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
|
|
1928
2064
|
}
|
|
1929
2065
|
|
|
1930
|
-
nav[aria-label="breadcrumb"] ul li:not(:last-child):after {
|
|
2066
|
+
nav[aria-label="breadcrumb"] :is(ol, ul) li:not(:last-child):after {
|
|
1931
2067
|
width: calc(var(--cirth-nav-link-spacing-horizontal) * 4);
|
|
1932
2068
|
margin: 0 calc(var(--cirth-nav-link-spacing-horizontal) * -1);
|
|
1933
2069
|
content: var(--cirth-nav-breadcrumb-divider);
|
|
@@ -1943,22 +2079,70 @@ nav[aria-label="breadcrumb"] a[aria-current]:not([aria-current="false"]) {
|
|
|
1943
2079
|
color: inherit;
|
|
1944
2080
|
pointer-events: none;
|
|
1945
2081
|
background-color: #0000;
|
|
2082
|
+
border-block-end-color: #0000;
|
|
1946
2083
|
text-decoration: none;
|
|
1947
2084
|
}
|
|
1948
2085
|
|
|
1949
|
-
aside
|
|
2086
|
+
header:not(:is(article, aside, dialog, figure, li, nav, section, td) *) > nav {
|
|
2087
|
+
--cirth-nav-element-spacing-vertical: var(--cirth-space-2);
|
|
2088
|
+
flex-wrap: wrap;
|
|
2089
|
+
align-items: center;
|
|
2090
|
+
}
|
|
2091
|
+
|
|
2092
|
+
header:not(:is(article, aside, dialog, figure, li, nav, section, td) *) > nav li :where(a:not([role="button"]), [role="link"]) {
|
|
2093
|
+
--cirth-color: var(--cirth-muted-color);
|
|
2094
|
+
--cirth-text-decoration: none;
|
|
2095
|
+
border-block-end: 0;
|
|
2096
|
+
border-radius: 0;
|
|
2097
|
+
}
|
|
2098
|
+
|
|
2099
|
+
header:not(:is(article, aside, dialog, figure, li, nav, section, td) *) > nav li :where(a:not([role="button"]), [role="link"]):is(:hover, :focus, :active) {
|
|
2100
|
+
--cirth-color: color-mix(in oklch,
|
|
2101
|
+
var(--cirth-muted-color),
|
|
2102
|
+
var(--cirth-contrast));
|
|
2103
|
+
}
|
|
2104
|
+
|
|
2105
|
+
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"]) {
|
|
2106
|
+
--cirth-color: var(--cirth-contrast);
|
|
2107
|
+
font-weight: var(--cirth-font-weight-semibold);
|
|
2108
|
+
}
|
|
2109
|
+
|
|
2110
|
+
header:not(:is(article, aside, dialog, figure, li, nav, section, td) *) > nav li :where(a:not([role="button"]), [role="link"])[aria-disabled="true"] {
|
|
2111
|
+
--cirth-color: color-mix(in oklch,
|
|
2112
|
+
var(--cirth-muted-color) 55%,
|
|
2113
|
+
transparent);
|
|
2114
|
+
pointer-events: none;
|
|
2115
|
+
}
|
|
2116
|
+
|
|
2117
|
+
header:not(:is(article, aside, dialog, figure, li, nav, section, td) *) > nav details.dropdown > summary:not([role]) {
|
|
2118
|
+
border-color: var(--cirth-muted-border-color);
|
|
2119
|
+
background-color: #0000;
|
|
2120
|
+
}
|
|
2121
|
+
|
|
2122
|
+
aside nav {
|
|
2123
|
+
--cirth-nav-element-spacing-horizontal: 0;
|
|
1950
2124
|
display: block;
|
|
1951
2125
|
}
|
|
1952
2126
|
|
|
1953
|
-
aside li {
|
|
1954
|
-
|
|
2127
|
+
aside nav ol, aside nav ul, aside nav li {
|
|
2128
|
+
display: block;
|
|
2129
|
+
}
|
|
2130
|
+
|
|
2131
|
+
aside nav li {
|
|
2132
|
+
padding: calc(var(--cirth-nav-element-spacing-vertical) * .5) 0;
|
|
1955
2133
|
}
|
|
1956
2134
|
|
|
1957
|
-
aside li a {
|
|
2135
|
+
aside nav li a {
|
|
2136
|
+
border-inline-start: var(--cirth-border-width-2) solid transparent;
|
|
1958
2137
|
display: block;
|
|
1959
2138
|
}
|
|
1960
2139
|
|
|
1961
|
-
aside li [
|
|
2140
|
+
aside nav li a:is([aria-current]:not([aria-current="false"]), [aria-selected="true"]) {
|
|
2141
|
+
border-block-end-color: #0000;
|
|
2142
|
+
border-inline-start-color: var(--cirth-primary-border);
|
|
2143
|
+
}
|
|
2144
|
+
|
|
2145
|
+
aside nav li [role="button"] {
|
|
1962
2146
|
margin: inherit;
|
|
1963
2147
|
}
|
|
1964
2148
|
|
|
@@ -1976,11 +2160,18 @@ aside li [role="button"] {
|
|
|
1976
2160
|
background-color: var(--cirth-popover-background-color);
|
|
1977
2161
|
box-shadow: var(--cirth-popover-box-shadow);
|
|
1978
2162
|
color: var(--cirth-popover-color);
|
|
1979
|
-
transition: opacity var(--cirth-transition), display var(--cirth-transition) allow-discrete, overlay var(--cirth-transition) allow-discrete;
|
|
1980
2163
|
margin: auto;
|
|
1981
2164
|
inset: 0;
|
|
1982
2165
|
}
|
|
1983
2166
|
|
|
2167
|
+
:is([popover=""], [popover="auto"], [popover="hint"]):not(dialog):popover-open > :last-child {
|
|
2168
|
+
margin-bottom: 0;
|
|
2169
|
+
}
|
|
2170
|
+
|
|
2171
|
+
:is([popover=""], [popover="auto"], [popover="hint"]):not(dialog):popover-open {
|
|
2172
|
+
transition: opacity var(--cirth-transition), display var(--cirth-transition) allow-discrete, overlay var(--cirth-transition) allow-discrete;
|
|
2173
|
+
}
|
|
2174
|
+
|
|
1984
2175
|
@starting-style {
|
|
1985
2176
|
:is([popover=""], [popover="auto"], [popover="hint"]):not(dialog):popover-open {
|
|
1986
2177
|
opacity: 0;
|
|
@@ -2074,6 +2265,7 @@ progress::-moz-progress-bar {
|
|
|
2074
2265
|
scroll-behavior: auto;
|
|
2075
2266
|
transition-delay: var(--cirth-duration-instant);
|
|
2076
2267
|
transition-duration: var(--cirth-duration-instant);
|
|
2268
|
+
--cirth-transition: var(--cirth-duration-instant) var(--cirth-ease-out);
|
|
2077
2269
|
animation-duration: 1ms;
|
|
2078
2270
|
animation-iteration-count: 1;
|
|
2079
2271
|
animation-delay: -1ms;
|
|
@@ -2093,12 +2285,16 @@ progress::-moz-progress-bar {
|
|
|
2093
2285
|
}
|
|
2094
2286
|
|
|
2095
2287
|
.sr-only-focusable:focus, .sr-only-focusable:focus-within {
|
|
2096
|
-
clip-path: none;
|
|
2097
|
-
white-space: normal;
|
|
2098
2288
|
width: auto;
|
|
2099
2289
|
height: auto;
|
|
2290
|
+
padding: var(--cirth-space-2) var(--cirth-space-4);
|
|
2291
|
+
clip-path: none;
|
|
2292
|
+
white-space: normal;
|
|
2293
|
+
z-index: var(--cirth-z-index-fixed);
|
|
2294
|
+
border-radius: var(--cirth-border-radius);
|
|
2295
|
+
background-color: var(--cirth-canvas);
|
|
2296
|
+
color: var(--cirth-ink);
|
|
2100
2297
|
margin: 0;
|
|
2101
|
-
position: static;
|
|
2102
2298
|
overflow: visible;
|
|
2103
2299
|
}
|
|
2104
2300
|
|
|
@@ -2131,7 +2327,7 @@ progress::-moz-progress-bar {
|
|
|
2131
2327
|
--cirth-font-weight-medium: 500;
|
|
2132
2328
|
--cirth-font-weight-semibold: 600;
|
|
2133
2329
|
--cirth-font-weight-bold: 700;
|
|
2134
|
-
--cirth-letter-spacing-tight: -.
|
|
2330
|
+
--cirth-letter-spacing-tight: -.03em;
|
|
2135
2331
|
--cirth-letter-spacing-snug: -.01em;
|
|
2136
2332
|
--cirth-line-height-none: 1;
|
|
2137
2333
|
--cirth-line-height-tight: 1.125;
|
|
@@ -2181,12 +2377,12 @@ progress::-moz-progress-bar {
|
|
|
2181
2377
|
--cirth-z-index-modal-backdrop: 1040;
|
|
2182
2378
|
--cirth-z-index-modal: 1050;
|
|
2183
2379
|
--cirth-font-family: var(--cirth-font-family-sans);
|
|
2184
|
-
--cirth-font-family-display: var(--cirth-font-family-
|
|
2380
|
+
--cirth-font-family-display: var(--cirth-font-family-sans);
|
|
2185
2381
|
--cirth-line-height: var(--cirth-line-height-normal);
|
|
2186
2382
|
--cirth-font-weight: var(--cirth-font-weight-regular);
|
|
2187
2383
|
--cirth-font-size: 100%;
|
|
2188
2384
|
--cirth-text-underline-offset: .15em;
|
|
2189
|
-
--cirth-border-radius: var(--cirth-radius-
|
|
2385
|
+
--cirth-border-radius: var(--cirth-radius-sm);
|
|
2190
2386
|
--cirth-card-border-radius: calc(var(--cirth-border-radius) * 1.5);
|
|
2191
2387
|
--cirth-checkbox-border-radius: min(var(--cirth-border-radius),
|
|
2192
2388
|
var(--cirth-radius-sm));
|
|
@@ -2197,28 +2393,32 @@ progress::-moz-progress-bar {
|
|
|
2197
2393
|
--cirth-background-color: var(--cirth-canvas);
|
|
2198
2394
|
--cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-out);
|
|
2199
2395
|
--cirth-spacing: var(--cirth-space-4);
|
|
2200
|
-
--cirth-typography-spacing-vertical: var(--cirth-
|
|
2396
|
+
--cirth-typography-spacing-vertical: var(--cirth-spacing);
|
|
2201
2397
|
--cirth-block-spacing-vertical: var(--cirth-spacing);
|
|
2202
2398
|
--cirth-block-spacing-horizontal: var(--cirth-spacing);
|
|
2399
|
+
--cirth-container-gutter: clamp(var(--cirth-space-4),
|
|
2400
|
+
4%,
|
|
2401
|
+
var(--cirth-space-12));
|
|
2203
2402
|
--cirth-container-max-width: 60rem;
|
|
2204
2403
|
--cirth-grid-column-gap: var(--cirth-spacing);
|
|
2205
2404
|
--cirth-grid-row-gap: var(--cirth-spacing);
|
|
2206
2405
|
--cirth-grid-min-column: 12rem;
|
|
2207
2406
|
--cirth-form-element-spacing-vertical: var(--cirth-space-2);
|
|
2208
2407
|
--cirth-form-element-spacing-horizontal: var(--cirth-space-4);
|
|
2209
|
-
--cirth-form-label-font-weight: var(--cirth-font-weight);
|
|
2408
|
+
--cirth-form-label-font-weight: var(--cirth-font-weight-medium);
|
|
2210
2409
|
--cirth-group-box-shadow: 0 0 0 #0000;
|
|
2211
2410
|
--cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width)
|
|
2212
2411
|
var(--cirth-primary-focus);
|
|
2213
2412
|
--cirth-group-box-shadow-focus-with-input: 0 0 0 var(--cirth-border-width-1)
|
|
2214
2413
|
var(--cirth-form-element-border-color);
|
|
2414
|
+
--cirth-card-box-shadow: none;
|
|
2215
2415
|
--cirth-meter-background-color: var(--cirth-progress-background-color);
|
|
2216
2416
|
--cirth-meter-border-color: var(--cirth-progress-border-color);
|
|
2217
|
-
--cirth-popover-background-color: var(--cirth-card-background-color);
|
|
2218
2417
|
--cirth-popover-border-color: var(--cirth-muted-border-color);
|
|
2219
|
-
--cirth-popover-color: var(--cirth-
|
|
2418
|
+
--cirth-popover-color: var(--cirth-ink);
|
|
2220
2419
|
--cirth-popover-box-shadow: var(--cirth-box-shadow);
|
|
2221
2420
|
--cirth-popover-max-width: min(30rem, 100% - var(--cirth-spacing) * 2);
|
|
2421
|
+
--cirth-modal-max-width: 43.75rem;
|
|
2222
2422
|
--cirth-modal-overlay-backdrop-filter: blur(.375rem);
|
|
2223
2423
|
--cirth-nav-element-spacing-vertical: var(--cirth-space-4);
|
|
2224
2424
|
--cirth-nav-element-spacing-horizontal: var(--cirth-space-2);
|
|
@@ -2228,7 +2428,11 @@ progress::-moz-progress-bar {
|
|
|
2228
2428
|
--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");
|
|
2229
2429
|
--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");
|
|
2230
2430
|
--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");
|
|
2231
|
-
--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(
|
|
2431
|
+
--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");
|
|
2432
|
+
}
|
|
2433
|
+
|
|
2434
|
+
:focus-visible {
|
|
2435
|
+
transition-duration: var(--cirth-duration-instant);
|
|
2232
2436
|
}
|
|
2233
2437
|
|
|
2234
2438
|
a, a.secondary, a.contrast {
|
|
@@ -2248,30 +2452,35 @@ h4, h5, h6 {
|
|
|
2248
2452
|
--cirth-font-weight: var(--cirth-font-weight-semibold);
|
|
2249
2453
|
}
|
|
2250
2454
|
|
|
2455
|
+
h1, h2 {
|
|
2456
|
+
--cirth-letter-spacing: var(--cirth-letter-spacing-tight);
|
|
2457
|
+
}
|
|
2458
|
+
|
|
2459
|
+
h3, h4 {
|
|
2460
|
+
--cirth-letter-spacing: var(--cirth-letter-spacing-snug);
|
|
2461
|
+
}
|
|
2462
|
+
|
|
2251
2463
|
h1 {
|
|
2252
|
-
--cirth-font-size: clamp(var(--cirth-font-size-
|
|
2253
|
-
1.
|
|
2254
|
-
var(--cirth-font-size-
|
|
2464
|
+
--cirth-font-size: clamp(var(--cirth-font-size-3xl),
|
|
2465
|
+
1.31rem + 1.8vw,
|
|
2466
|
+
var(--cirth-font-size-6xl));
|
|
2255
2467
|
--cirth-line-height: var(--cirth-line-height-tight);
|
|
2256
|
-
--cirth-letter-spacing: var(--cirth-letter-spacing-tight);
|
|
2257
2468
|
--cirth-typography-spacing-top: var(--cirth-space-12);
|
|
2258
2469
|
}
|
|
2259
2470
|
|
|
2260
2471
|
h2 {
|
|
2261
2472
|
--cirth-font-size: clamp(var(--cirth-font-size-2xl),
|
|
2262
|
-
1.
|
|
2473
|
+
1.28rem + .9vw,
|
|
2263
2474
|
var(--cirth-font-size-4xl));
|
|
2264
|
-
--cirth-line-height:
|
|
2265
|
-
--cirth-letter-spacing: var(--cirth-letter-spacing-tight);
|
|
2475
|
+
--cirth-line-height: var(--cirth-line-height-snug);
|
|
2266
2476
|
--cirth-typography-spacing-top: var(--cirth-space-12);
|
|
2267
2477
|
}
|
|
2268
2478
|
|
|
2269
2479
|
h3 {
|
|
2270
2480
|
--cirth-font-size: clamp(var(--cirth-font-size-xl),
|
|
2271
|
-
1.
|
|
2481
|
+
1.14rem + .45vw,
|
|
2272
2482
|
var(--cirth-font-size-2xl));
|
|
2273
|
-
--cirth-line-height:
|
|
2274
|
-
--cirth-letter-spacing: var(--cirth-letter-spacing-snug);
|
|
2483
|
+
--cirth-line-height: var(--cirth-line-height-snug);
|
|
2275
2484
|
--cirth-typography-spacing-top: var(--cirth-space-10);
|
|
2276
2485
|
}
|
|
2277
2486
|
|
|
@@ -2294,14 +2503,12 @@ h6 {
|
|
|
2294
2503
|
}
|
|
2295
2504
|
|
|
2296
2505
|
article {
|
|
2297
|
-
--cirth-
|
|
2298
|
-
--cirth-block-spacing-
|
|
2299
|
-
--cirth-block-spacing-horizontal: var(--cirth-space-6);
|
|
2506
|
+
--cirth-block-spacing-vertical: var(--cirth-space-5);
|
|
2507
|
+
--cirth-block-spacing-horizontal: var(--cirth-space-5);
|
|
2300
2508
|
}
|
|
2301
2509
|
|
|
2302
2510
|
thead th, thead td, tfoot th, tfoot td {
|
|
2303
2511
|
--cirth-font-weight: var(--cirth-font-weight-semibold);
|
|
2304
|
-
--cirth-border-width: .1875rem;
|
|
2305
2512
|
}
|
|
2306
2513
|
|
|
2307
2514
|
pre, code, kbd, samp, var {
|
|
@@ -2316,11 +2523,6 @@ kbd {
|
|
|
2316
2523
|
--cirth-font-weight: bolder;
|
|
2317
2524
|
}
|
|
2318
2525
|
|
|
2319
|
-
input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :where(select, textarea) {
|
|
2320
|
-
--cirth-outline-width: var(--cirth-border-width-1);
|
|
2321
|
-
--cirth-line-height: var(--cirth-line-height-relaxed);
|
|
2322
|
-
}
|
|
2323
|
-
|
|
2324
2526
|
[type="search"] {
|
|
2325
2527
|
--cirth-border-radius: var(--cirth-radius-pill);
|
|
2326
2528
|
}
|
|
@@ -2331,12 +2533,7 @@ input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [
|
|
|
2331
2533
|
|
|
2332
2534
|
button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
|
|
2333
2535
|
--cirth-font-weight: var(--cirth-font-weight-semibold);
|
|
2334
|
-
--cirth-
|
|
2335
|
-
--cirth-form-element-spacing-horizontal: var(--cirth-space-5);
|
|
2336
|
-
}
|
|
2337
|
-
|
|
2338
|
-
[type="file"] {
|
|
2339
|
-
--cirth-line-height: var(--cirth-line-height-relaxed);
|
|
2536
|
+
--cirth-form-element-spacing-horizontal: var(--cirth-space-4);
|
|
2340
2537
|
}
|
|
2341
2538
|
|
|
2342
2539
|
[type="checkbox"], [type="radio"] {
|
|
@@ -2388,54 +2585,46 @@ details summary[role="button"]:not(.outline):after {
|
|
|
2388
2585
|
}
|
|
2389
2586
|
|
|
2390
2587
|
:root, :host {
|
|
2391
|
-
--cirth-canvas: light-dark(oklch(97.
|
|
2392
|
-
--cirth-
|
|
2393
|
-
--cirth-
|
|
2394
|
-
--cirth-muted-color: light-dark(oklch(52.7% .
|
|
2395
|
-
--cirth-muted-border-color: light-dark(oklch(93.85% .
|
|
2396
|
-
--cirth-error: light-dark(oklch(44% .151
|
|
2397
|
-
--cirth-success: light-dark(oklch(52.7% .
|
|
2398
|
-
--cirth-warning: light-dark(oklch(48.3% .
|
|
2399
|
-
--cirth-primary: light-dark(oklch(52.7% .
|
|
2400
|
-
--cirth-secondary: light-dark(oklch(52.7% .
|
|
2401
|
-
--cirth-secondary-underline: light-dark(oklch(52.7% .
|
|
2402
|
-
--cirth-secondary-hover: light-dark(oklch(44% .
|
|
2403
|
-
--cirth-secondary-hover-background: light-dark(oklch(44% .
|
|
2404
|
-
--cirth-secondary-focus: light-dark(oklch(48.3% .03
|
|
2405
|
-
--cirth-contrast: light-dark(oklch(22.3% .
|
|
2406
|
-
--cirth-contrast-background: light-dark(oklch(22.3% .
|
|
2407
|
-
--cirth-contrast-underline: light-dark(oklch(22.3% .
|
|
2588
|
+
--cirth-canvas: light-dark(oklch(97.3% .006 44), oklch(20.15% .0225 280));
|
|
2589
|
+
--cirth-ink: light-dark(oklch(35.3% .027 280), oklch(83% .011 280));
|
|
2590
|
+
--cirth-color: var(--cirth-ink);
|
|
2591
|
+
--cirth-muted-color: light-dark(oklch(52.7% .031 280), oklch(65.7% .025 280));
|
|
2592
|
+
--cirth-muted-border-color: light-dark(oklch(93.85% .002 280), oklch(26.7% .025 280));
|
|
2593
|
+
--cirth-error: light-dark(oklch(44% .151 22), oklch(74.3% .133 22));
|
|
2594
|
+
--cirth-success: light-dark(oklch(52.7% .115 153), oklch(65.7% .144 153));
|
|
2595
|
+
--cirth-warning: light-dark(oklch(48.3% .084 89.5), oklch(70% .122 89.5));
|
|
2596
|
+
--cirth-primary: light-dark(oklch(52.7% .107 44), oklch(65.7% .134 44));
|
|
2597
|
+
--cirth-secondary: light-dark(oklch(52.7% .031 280), oklch(70% .021 280));
|
|
2598
|
+
--cirth-secondary-underline: light-dark(oklch(52.7% .031 280 / .5), oklch(70% .021 280 / .5));
|
|
2599
|
+
--cirth-secondary-hover: light-dark(oklch(44% .029 280), oklch(78.7% .014 280));
|
|
2600
|
+
--cirth-secondary-hover-background: light-dark(oklch(44% .029 280), oklch(52.7% .031 280));
|
|
2601
|
+
--cirth-secondary-focus: light-dark(oklch(48.3% .03 280 / .7), oklch(70% .021 280 / .7));
|
|
2602
|
+
--cirth-contrast: light-dark(oklch(22.3% .023 280), oklch(91.7% .004 280));
|
|
2603
|
+
--cirth-contrast-background: light-dark(oklch(22.3% .023 280), oklch(96% 0 280));
|
|
2604
|
+
--cirth-contrast-underline: light-dark(oklch(22.3% .023 280 / .5), oklch(91.7% .004 280 / .5));
|
|
2408
2605
|
--cirth-contrast-hover: light-dark(oklch(0% 0 0), oklch(100% 0 0));
|
|
2409
2606
|
--cirth-contrast-hover-background: light-dark(oklch(0% 0 0), oklch(100% 0 0));
|
|
2410
|
-
--cirth-contrast-focus: light-dark(oklch(48.3% .03
|
|
2607
|
+
--cirth-contrast-focus: light-dark(oklch(48.3% .03 280 / .7), oklch(87.3% .007 280 / .5));
|
|
2411
2608
|
--cirth-contrast-inverse: light-dark(oklch(100% 0 0), oklch(0% 0 0));
|
|
2412
|
-
--cirth-link-visited-color: light-dark(oklch(48.3%
|
|
2413
|
-
--cirth-box-shadow: light-dark(.0145rem .029rem .174rem oklch(65.7% .
|
|
2414
|
-
.0145rem .029rem .174rem oklch(9%
|
|
2415
|
-
--cirth-h1-color: light-dark(oklch(22.3% .
|
|
2416
|
-
--cirth-h2-color: light-dark(oklch(26.7% .
|
|
2417
|
-
--cirth-h3-color: light-dark(oklch(31% .
|
|
2418
|
-
--cirth-h4-color: light-dark(oklch(35.3% .
|
|
2419
|
-
--cirth-h5-color: light-dark(oklch(39.7% .
|
|
2420
|
-
--cirth-h6-color: light-dark(oklch(44% .
|
|
2421
|
-
--cirth-mark-color: light-dark(oklch(18%
|
|
2422
|
-
--cirth-code-
|
|
2423
|
-
--cirth-
|
|
2424
|
-
--cirth-form-element-
|
|
2425
|
-
--cirth-form-element-
|
|
2426
|
-
--cirth-
|
|
2427
|
-
--cirth-
|
|
2428
|
-
--cirth-
|
|
2429
|
-
--cirth-
|
|
2430
|
-
--cirth-
|
|
2431
|
-
--cirth-range-active-border-color: light-dark(oklch(83% .016 264), oklch(31% .016 264));
|
|
2432
|
-
--cirth-card-background-color: light-dark(oklch(100% 0 0), oklch(22.3% .006 264));
|
|
2433
|
-
--cirth-card-sectioning-background-color: light-dark(oklch(99% 0 336), oklch(23.4% .00725 264));
|
|
2434
|
-
--cirth-dropdown-background-color: light-dark(oklch(100% 0 0), oklch(22.3% .006 264));
|
|
2435
|
-
--cirth-dropdown-border-color: light-dark(oklch(96% 0 264), oklch(26.7% .011 264));
|
|
2436
|
-
--cirth-dropdown-hover-background-color: light-dark(oklch(96% 0 264), oklch(26.7% .011 264));
|
|
2437
|
-
--cirth-progress-background-color: light-dark(oklch(91.7% .006 264), oklch(26.7% .011 264));
|
|
2438
|
-
--cirth-progress-border-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
|
|
2609
|
+
--cirth-link-visited-color: light-dark(oklch(48.3% 0 280), oklch(65.7% 0 280));
|
|
2610
|
+
--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),
|
|
2611
|
+
.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));
|
|
2612
|
+
--cirth-h1-color: light-dark(oklch(22.3% .023 280), oklch(96% 0 280));
|
|
2613
|
+
--cirth-h2-color: light-dark(oklch(26.7% .025 280), oklch(91.7% .004 280));
|
|
2614
|
+
--cirth-h3-color: light-dark(oklch(31% .026 280), oklch(83% .011 280));
|
|
2615
|
+
--cirth-h4-color: light-dark(oklch(35.3% .027 280), oklch(78.7% .014 280));
|
|
2616
|
+
--cirth-h5-color: light-dark(oklch(39.7% .028 280), oklch(74.3% .018 280));
|
|
2617
|
+
--cirth-h6-color: light-dark(oklch(44% .029 280), oklch(65.7% .025 280));
|
|
2618
|
+
--cirth-mark-color: light-dark(oklch(18% .022 280), oklch(100% 0 0));
|
|
2619
|
+
--cirth-code-color: light-dark(oklch(52.7% .031 280), oklch(65.7% .025 280));
|
|
2620
|
+
--cirth-form-element-selected-background-color: light-dark(oklch(91.7% .004 280), oklch(31% .026 280));
|
|
2621
|
+
--cirth-form-element-border-color: light-dark(oklch(61.3% .028 280), oklch(52.7% .031 280));
|
|
2622
|
+
--cirth-form-element-color: light-dark(oklch(26.7% .025 280), oklch(91.7% .004 280));
|
|
2623
|
+
--cirth-switch-background-color: light-dark(oklch(61.3% .028 280), oklch(52.7% .031 280));
|
|
2624
|
+
--cirth-range-border-color: light-dark(oklch(91.7% .004 280), oklch(26.7% .025 280));
|
|
2625
|
+
--cirth-range-active-border-color: light-dark(oklch(83% .011 280), oklch(31% .026 280));
|
|
2626
|
+
--cirth-progress-background-color: light-dark(oklch(91.7% .004 280), oklch(26.7% .025 280));
|
|
2627
|
+
--cirth-progress-border-color: light-dark(oklch(61.3% .028 280), oklch(52.7% .031 280));
|
|
2439
2628
|
}
|
|
2440
2629
|
|
|
2441
2630
|
:where([data-theme="light"]), :root:where(:not([data-theme="dark"])), :host(:where(:not([data-theme="dark"]))) {
|
|
@@ -2463,7 +2652,15 @@ details summary[role="button"]:not(.outline):after {
|
|
|
2463
2652
|
--cirth-primary-hover-underline: var(--cirth-primary-hover);
|
|
2464
2653
|
--cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 75%);
|
|
2465
2654
|
--cirth-primary-inverse: oklch(100% 0 0);
|
|
2466
|
-
--cirth-
|
|
2655
|
+
--cirth-text-selection-color: oklch(from var(--cirth-primary) calc(l * 1.247) c h / 25%);
|
|
2656
|
+
--cirth-code-background-color: oklch(from var(--cirth-canvas) calc(l - .019) c h);
|
|
2657
|
+
--cirth-card-sectioning-background-color: oklch(from var(--cirth-canvas) calc(l + .009) c h);
|
|
2658
|
+
--cirth-form-element-background-color: oklch(from var(--cirth-canvas) calc(l - .008) c h);
|
|
2659
|
+
--cirth-card-background-color: oklch(from var(--cirth-canvas) calc(l + .018) c h);
|
|
2660
|
+
--cirth-form-element-active-background-color: var(--cirth-canvas);
|
|
2661
|
+
--cirth-dropdown-background-color: var(--cirth-card-background-color);
|
|
2662
|
+
--cirth-popover-background-color: var(--cirth-card-background-color);
|
|
2663
|
+
--cirth-secondary-background: oklch(48.3% .03 280);
|
|
2467
2664
|
--cirth-secondary-border: var(--cirth-secondary-background);
|
|
2468
2665
|
--cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
|
|
2469
2666
|
--cirth-secondary-hover-underline: var(--cirth-secondary-hover);
|
|
@@ -2471,20 +2668,22 @@ details summary[role="button"]:not(.outline):after {
|
|
|
2471
2668
|
--cirth-contrast-border: var(--cirth-contrast-background);
|
|
2472
2669
|
--cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
|
|
2473
2670
|
--cirth-contrast-hover-underline: var(--cirth-secondary-hover);
|
|
2474
|
-
--cirth-mark-background-color:
|
|
2671
|
+
--cirth-mark-background-color: color-mix(in oklab,
|
|
2672
|
+
var(--cirth-primary) 18%,
|
|
2673
|
+
var(--cirth-canvas));
|
|
2475
2674
|
--cirth-ins-color: var(--cirth-success-text);
|
|
2476
2675
|
--cirth-del-color: var(--cirth-error-text);
|
|
2477
2676
|
--cirth-blockquote-border-color: var(--cirth-muted-border-color);
|
|
2478
2677
|
--cirth-blockquote-footer-color: var(--cirth-muted-color);
|
|
2479
2678
|
--cirth-button-box-shadow: 0 0 0 #0000;
|
|
2480
2679
|
--cirth-button-hover-box-shadow: 0 0 0 #0000;
|
|
2481
|
-
--cirth-table-border-color: var(--cirth-
|
|
2482
|
-
--cirth-table-row-stripped-background-color: oklch(57% .032
|
|
2483
|
-
--cirth-code-kbd-background-color: var(--cirth-
|
|
2680
|
+
--cirth-table-border-color: var(--cirth-card-border-color);
|
|
2681
|
+
--cirth-table-row-stripped-background-color: oklch(57% .032 280 / .0375);
|
|
2682
|
+
--cirth-code-kbd-background-color: var(--cirth-ink);
|
|
2484
2683
|
--cirth-code-kbd-color: var(--cirth-background-color);
|
|
2485
2684
|
--cirth-form-element-placeholder-color: var(--cirth-muted-color);
|
|
2486
2685
|
--cirth-form-element-active-border-color: var(--cirth-primary-border);
|
|
2487
|
-
--cirth-form-element-focus-color: var(--cirth-primary-
|
|
2686
|
+
--cirth-form-element-focus-color: var(--cirth-primary-focus);
|
|
2488
2687
|
--cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
|
|
2489
2688
|
--cirth-form-element-invalid-border-color: var(--cirth-error-border);
|
|
2490
2689
|
--cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
|
|
@@ -2496,30 +2695,29 @@ details summary[role="button"]:not(.outline):after {
|
|
|
2496
2695
|
--cirth-switch-checked-background-color: var(--cirth-primary-background);
|
|
2497
2696
|
--cirth-switch-color: var(--cirth-primary-inverse);
|
|
2498
2697
|
--cirth-range-thumb-border-color: var(--cirth-background-color);
|
|
2499
|
-
--cirth-range-thumb-color: var(--cirth-secondary
|
|
2698
|
+
--cirth-range-thumb-color: var(--cirth-secondary);
|
|
2500
2699
|
--cirth-range-thumb-active-color: var(--cirth-primary-background);
|
|
2501
2700
|
--cirth-accordion-active-summary-color: var(--cirth-primary-hover);
|
|
2502
|
-
--cirth-accordion-close-summary-color: var(--cirth-
|
|
2503
|
-
--cirth-accordion-open-summary-color: var(--cirth-
|
|
2504
|
-
--cirth-card-border-color:
|
|
2505
|
-
|
|
2701
|
+
--cirth-accordion-close-summary-color: var(--cirth-ink);
|
|
2702
|
+
--cirth-accordion-open-summary-color: var(--cirth-ink);
|
|
2703
|
+
--cirth-card-border-color: color-mix(in oklab,
|
|
2704
|
+
var(--cirth-form-element-border-color) 38%,
|
|
2705
|
+
oklch(from var(--cirth-card-background-color) l 0 h));
|
|
2506
2706
|
--cirth-dropdown-box-shadow: var(--cirth-box-shadow);
|
|
2507
|
-
--cirth-dropdown-color: var(--cirth-
|
|
2508
|
-
--cirth-
|
|
2707
|
+
--cirth-dropdown-color: var(--cirth-ink);
|
|
2708
|
+
--cirth-dropdown-border-color: var(--cirth-card-border-color);
|
|
2709
|
+
--cirth-dropdown-hover-background-color: var(--cirth-card-sectioning-background-color);
|
|
2710
|
+
--cirth-modal-overlay-background-color: oklch(93.85% .002 280deg / var(--cirth-opacity-overlay));
|
|
2509
2711
|
--cirth-meter-optimum-color: var(--cirth-success);
|
|
2510
2712
|
--cirth-meter-suboptimum-color: var(--cirth-warning);
|
|
2511
2713
|
--cirth-meter-even-less-good-color: var(--cirth-error);
|
|
2512
2714
|
--cirth-progress-color: var(--cirth-primary-background);
|
|
2513
|
-
--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(
|
|
2514
|
-
--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(
|
|
2515
|
-
--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(
|
|
2516
|
-
--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(
|
|
2517
|
-
--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,
|
|
2518
|
-
--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,
|
|
2519
|
-
}
|
|
2520
|
-
|
|
2521
|
-
:where([data-theme="light"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :root:where(:not([data-theme="dark"])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:where(:not([data-theme="dark"]))) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2522
|
-
--cirth-form-element-focus-color: var(--cirth-primary-focus);
|
|
2715
|
+
--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");
|
|
2716
|
+
--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");
|
|
2717
|
+
--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");
|
|
2718
|
+
--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");
|
|
2719
|
+
--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");
|
|
2720
|
+
--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");
|
|
2523
2721
|
}
|
|
2524
2722
|
|
|
2525
2723
|
@media only screen and (prefers-color-scheme: dark) {
|
|
@@ -2544,13 +2742,21 @@ details summary[role="button"]:not(.outline):after {
|
|
|
2544
2742
|
--cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
|
|
2545
2743
|
--cirth-primary-hover: oklch(from var(--cirth-primary) calc(l * 1.124) calc(c * 1.132) h);
|
|
2546
2744
|
--cirth-primary-hover-background: color-mix(in oklch,
|
|
2547
|
-
var(--cirth-primary)
|
|
2745
|
+
var(--cirth-primary) 72%,
|
|
2548
2746
|
black);
|
|
2549
2747
|
--cirth-primary-hover-border: var(--cirth-primary-hover-background);
|
|
2550
2748
|
--cirth-primary-hover-underline: var(--cirth-primary-hover);
|
|
2551
|
-
--cirth-primary-focus: oklch(from var(--cirth-primary) l c h /
|
|
2749
|
+
--cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 80%);
|
|
2750
|
+
--cirth-text-selection-color: oklch(from var(--cirth-primary) calc(l * 1.065) c h / 18.75%);
|
|
2552
2751
|
--cirth-primary-inverse: oklch(100% 0 0);
|
|
2553
|
-
--cirth-
|
|
2752
|
+
--cirth-code-background-color: oklch(from var(--cirth-canvas) calc(l - .02) c h);
|
|
2753
|
+
--cirth-card-sectioning-background-color: oklch(from var(--cirth-canvas) calc(l + .025) c h);
|
|
2754
|
+
--cirth-form-element-background-color: oklch(from var(--cirth-canvas) calc(l - .008) c h);
|
|
2755
|
+
--cirth-card-background-color: oklch(from var(--cirth-canvas) calc(l + .04) c h);
|
|
2756
|
+
--cirth-form-element-active-background-color: var(--cirth-canvas);
|
|
2757
|
+
--cirth-dropdown-background-color: var(--cirth-card-background-color);
|
|
2758
|
+
--cirth-popover-background-color: var(--cirth-card-background-color);
|
|
2759
|
+
--cirth-secondary-background: oklch(48.3% .03 280);
|
|
2554
2760
|
--cirth-secondary-border: var(--cirth-secondary-background);
|
|
2555
2761
|
--cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
|
|
2556
2762
|
--cirth-secondary-hover-underline: var(--cirth-secondary-hover);
|
|
@@ -2558,20 +2764,22 @@ details summary[role="button"]:not(.outline):after {
|
|
|
2558
2764
|
--cirth-contrast-border: var(--cirth-contrast-background);
|
|
2559
2765
|
--cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
|
|
2560
2766
|
--cirth-contrast-hover-underline: var(--cirth-contrast-hover);
|
|
2561
|
-
--cirth-mark-background-color:
|
|
2767
|
+
--cirth-mark-background-color: color-mix(in oklab,
|
|
2768
|
+
var(--cirth-primary) 24%,
|
|
2769
|
+
var(--cirth-canvas));
|
|
2562
2770
|
--cirth-ins-color: var(--cirth-success-text);
|
|
2563
2771
|
--cirth-del-color: var(--cirth-error-text);
|
|
2564
2772
|
--cirth-blockquote-border-color: var(--cirth-muted-border-color);
|
|
2565
2773
|
--cirth-blockquote-footer-color: var(--cirth-muted-color);
|
|
2566
2774
|
--cirth-button-box-shadow: 0 0 0 #0000;
|
|
2567
2775
|
--cirth-button-hover-box-shadow: 0 0 0 #0000;
|
|
2568
|
-
--cirth-table-border-color: var(--cirth-
|
|
2569
|
-
--cirth-table-row-stripped-background-color: oklch(57% .032
|
|
2570
|
-
--cirth-code-kbd-background-color: var(--cirth-
|
|
2776
|
+
--cirth-table-border-color: var(--cirth-card-border-color);
|
|
2777
|
+
--cirth-table-row-stripped-background-color: oklch(57% .032 280 / .0375);
|
|
2778
|
+
--cirth-code-kbd-background-color: var(--cirth-ink);
|
|
2571
2779
|
--cirth-code-kbd-color: var(--cirth-background-color);
|
|
2572
|
-
--cirth-form-element-placeholder-color: oklch(65.7% .
|
|
2780
|
+
--cirth-form-element-placeholder-color: oklch(65.7% .025 280);
|
|
2573
2781
|
--cirth-form-element-active-border-color: var(--cirth-primary-border);
|
|
2574
|
-
--cirth-form-element-focus-color: var(--cirth-primary-
|
|
2782
|
+
--cirth-form-element-focus-color: var(--cirth-primary-focus);
|
|
2575
2783
|
--cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
|
|
2576
2784
|
--cirth-form-element-invalid-border-color: var(--cirth-error-border);
|
|
2577
2785
|
--cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
|
|
@@ -2583,30 +2791,29 @@ details summary[role="button"]:not(.outline):after {
|
|
|
2583
2791
|
--cirth-switch-checked-background-color: var(--cirth-primary-background);
|
|
2584
2792
|
--cirth-switch-color: var(--cirth-primary-inverse);
|
|
2585
2793
|
--cirth-range-thumb-border-color: var(--cirth-background-color);
|
|
2586
|
-
--cirth-range-thumb-color: var(--cirth-secondary
|
|
2794
|
+
--cirth-range-thumb-color: var(--cirth-secondary);
|
|
2587
2795
|
--cirth-range-thumb-active-color: var(--cirth-primary-background);
|
|
2588
2796
|
--cirth-accordion-active-summary-color: var(--cirth-primary-hover);
|
|
2589
|
-
--cirth-accordion-close-summary-color: var(--cirth-
|
|
2590
|
-
--cirth-accordion-open-summary-color: var(--cirth-
|
|
2591
|
-
--cirth-card-border-color:
|
|
2592
|
-
|
|
2797
|
+
--cirth-accordion-close-summary-color: var(--cirth-ink);
|
|
2798
|
+
--cirth-accordion-open-summary-color: var(--cirth-ink);
|
|
2799
|
+
--cirth-card-border-color: color-mix(in oklab,
|
|
2800
|
+
var(--cirth-form-element-border-color) 46%,
|
|
2801
|
+
var(--cirth-card-background-color));
|
|
2593
2802
|
--cirth-dropdown-box-shadow: var(--cirth-box-shadow);
|
|
2594
|
-
--cirth-dropdown-color: var(--cirth-
|
|
2595
|
-
--cirth-
|
|
2803
|
+
--cirth-dropdown-color: var(--cirth-ink);
|
|
2804
|
+
--cirth-dropdown-border-color: var(--cirth-card-border-color);
|
|
2805
|
+
--cirth-dropdown-hover-background-color: var(--cirth-card-sectioning-background-color);
|
|
2806
|
+
--cirth-modal-overlay-background-color: oklch(9% .011 280deg / var(--cirth-opacity-overlay));
|
|
2596
2807
|
--cirth-meter-optimum-color: var(--cirth-success);
|
|
2597
2808
|
--cirth-meter-suboptimum-color: var(--cirth-warning);
|
|
2598
2809
|
--cirth-meter-even-less-good-color: var(--cirth-error);
|
|
2599
|
-
--cirth-progress-color:
|
|
2600
|
-
--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(
|
|
2601
|
-
--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(
|
|
2602
|
-
--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(
|
|
2603
|
-
--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(
|
|
2604
|
-
--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,
|
|
2605
|
-
--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,
|
|
2606
|
-
}
|
|
2607
|
-
|
|
2608
|
-
:root:where(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:where(:not([data-theme]))) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2609
|
-
--cirth-form-element-focus-color: var(--cirth-primary-focus);
|
|
2810
|
+
--cirth-progress-color: var(--cirth-primary);
|
|
2811
|
+
--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");
|
|
2812
|
+
--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");
|
|
2813
|
+
--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");
|
|
2814
|
+
--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");
|
|
2815
|
+
--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");
|
|
2816
|
+
--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");
|
|
2610
2817
|
}
|
|
2611
2818
|
|
|
2612
2819
|
:root:where(:not([data-theme])) details summary[role="button"].contrast:not(.outline):after, :host(:where(:not([data-theme]))) details summary[role="button"].contrast:not(.outline):after, :root: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, :host(: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 {
|
|
@@ -2635,13 +2842,21 @@ details summary[role="button"]:not(.outline):after {
|
|
|
2635
2842
|
--cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
|
|
2636
2843
|
--cirth-primary-hover: oklch(from var(--cirth-primary) calc(l * 1.124) calc(c * 1.132) h);
|
|
2637
2844
|
--cirth-primary-hover-background: color-mix(in oklch,
|
|
2638
|
-
var(--cirth-primary)
|
|
2845
|
+
var(--cirth-primary) 72%,
|
|
2639
2846
|
black);
|
|
2640
2847
|
--cirth-primary-hover-border: var(--cirth-primary-hover-background);
|
|
2641
2848
|
--cirth-primary-hover-underline: var(--cirth-primary-hover);
|
|
2642
|
-
--cirth-primary-focus: oklch(from var(--cirth-primary) l c h /
|
|
2849
|
+
--cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 80%);
|
|
2850
|
+
--cirth-text-selection-color: oklch(from var(--cirth-primary) calc(l * 1.065) c h / 18.75%);
|
|
2643
2851
|
--cirth-primary-inverse: oklch(100% 0 0);
|
|
2644
|
-
--cirth-
|
|
2852
|
+
--cirth-code-background-color: oklch(from var(--cirth-canvas) calc(l - .02) c h);
|
|
2853
|
+
--cirth-card-sectioning-background-color: oklch(from var(--cirth-canvas) calc(l + .025) c h);
|
|
2854
|
+
--cirth-form-element-background-color: oklch(from var(--cirth-canvas) calc(l - .008) c h);
|
|
2855
|
+
--cirth-card-background-color: oklch(from var(--cirth-canvas) calc(l + .04) c h);
|
|
2856
|
+
--cirth-form-element-active-background-color: var(--cirth-canvas);
|
|
2857
|
+
--cirth-dropdown-background-color: var(--cirth-card-background-color);
|
|
2858
|
+
--cirth-popover-background-color: var(--cirth-card-background-color);
|
|
2859
|
+
--cirth-secondary-background: oklch(48.3% .03 280);
|
|
2645
2860
|
--cirth-secondary-border: var(--cirth-secondary-background);
|
|
2646
2861
|
--cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
|
|
2647
2862
|
--cirth-secondary-hover-underline: var(--cirth-secondary-hover);
|
|
@@ -2649,20 +2864,22 @@ details summary[role="button"]:not(.outline):after {
|
|
|
2649
2864
|
--cirth-contrast-border: var(--cirth-contrast-background);
|
|
2650
2865
|
--cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
|
|
2651
2866
|
--cirth-contrast-hover-underline: var(--cirth-contrast-hover);
|
|
2652
|
-
--cirth-mark-background-color:
|
|
2867
|
+
--cirth-mark-background-color: color-mix(in oklab,
|
|
2868
|
+
var(--cirth-primary) 24%,
|
|
2869
|
+
var(--cirth-canvas));
|
|
2653
2870
|
--cirth-ins-color: var(--cirth-success-text);
|
|
2654
2871
|
--cirth-del-color: var(--cirth-error-text);
|
|
2655
2872
|
--cirth-blockquote-border-color: var(--cirth-muted-border-color);
|
|
2656
2873
|
--cirth-blockquote-footer-color: var(--cirth-muted-color);
|
|
2657
2874
|
--cirth-button-box-shadow: 0 0 0 #0000;
|
|
2658
2875
|
--cirth-button-hover-box-shadow: 0 0 0 #0000;
|
|
2659
|
-
--cirth-table-border-color: var(--cirth-
|
|
2660
|
-
--cirth-table-row-stripped-background-color: oklch(57% .032
|
|
2661
|
-
--cirth-code-kbd-background-color: var(--cirth-
|
|
2876
|
+
--cirth-table-border-color: var(--cirth-card-border-color);
|
|
2877
|
+
--cirth-table-row-stripped-background-color: oklch(57% .032 280 / .0375);
|
|
2878
|
+
--cirth-code-kbd-background-color: var(--cirth-ink);
|
|
2662
2879
|
--cirth-code-kbd-color: var(--cirth-background-color);
|
|
2663
|
-
--cirth-form-element-placeholder-color: oklch(65.7% .
|
|
2880
|
+
--cirth-form-element-placeholder-color: oklch(65.7% .025 280);
|
|
2664
2881
|
--cirth-form-element-active-border-color: var(--cirth-primary-border);
|
|
2665
|
-
--cirth-form-element-focus-color: var(--cirth-primary-
|
|
2882
|
+
--cirth-form-element-focus-color: var(--cirth-primary-focus);
|
|
2666
2883
|
--cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
|
|
2667
2884
|
--cirth-form-element-invalid-border-color: var(--cirth-error-border);
|
|
2668
2885
|
--cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
|
|
@@ -2674,30 +2891,29 @@ details summary[role="button"]:not(.outline):after {
|
|
|
2674
2891
|
--cirth-switch-checked-background-color: var(--cirth-primary-background);
|
|
2675
2892
|
--cirth-switch-color: var(--cirth-primary-inverse);
|
|
2676
2893
|
--cirth-range-thumb-border-color: var(--cirth-background-color);
|
|
2677
|
-
--cirth-range-thumb-color: var(--cirth-secondary
|
|
2894
|
+
--cirth-range-thumb-color: var(--cirth-secondary);
|
|
2678
2895
|
--cirth-range-thumb-active-color: var(--cirth-primary-background);
|
|
2679
2896
|
--cirth-accordion-active-summary-color: var(--cirth-primary-hover);
|
|
2680
|
-
--cirth-accordion-close-summary-color: var(--cirth-
|
|
2681
|
-
--cirth-accordion-open-summary-color: var(--cirth-
|
|
2682
|
-
--cirth-card-border-color:
|
|
2683
|
-
|
|
2897
|
+
--cirth-accordion-close-summary-color: var(--cirth-ink);
|
|
2898
|
+
--cirth-accordion-open-summary-color: var(--cirth-ink);
|
|
2899
|
+
--cirth-card-border-color: color-mix(in oklab,
|
|
2900
|
+
var(--cirth-form-element-border-color) 46%,
|
|
2901
|
+
var(--cirth-card-background-color));
|
|
2684
2902
|
--cirth-dropdown-box-shadow: var(--cirth-box-shadow);
|
|
2685
|
-
--cirth-dropdown-color: var(--cirth-
|
|
2686
|
-
--cirth-
|
|
2903
|
+
--cirth-dropdown-color: var(--cirth-ink);
|
|
2904
|
+
--cirth-dropdown-border-color: var(--cirth-card-border-color);
|
|
2905
|
+
--cirth-dropdown-hover-background-color: var(--cirth-card-sectioning-background-color);
|
|
2906
|
+
--cirth-modal-overlay-background-color: oklch(9% .011 280deg / var(--cirth-opacity-overlay));
|
|
2687
2907
|
--cirth-meter-optimum-color: var(--cirth-success);
|
|
2688
2908
|
--cirth-meter-suboptimum-color: var(--cirth-warning);
|
|
2689
2909
|
--cirth-meter-even-less-good-color: var(--cirth-error);
|
|
2690
|
-
--cirth-progress-color:
|
|
2691
|
-
--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(
|
|
2692
|
-
--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(
|
|
2693
|
-
--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(
|
|
2694
|
-
--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(
|
|
2695
|
-
--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,
|
|
2696
|
-
--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,
|
|
2697
|
-
}
|
|
2698
|
-
|
|
2699
|
-
:where([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2700
|
-
--cirth-form-element-focus-color: var(--cirth-primary-focus);
|
|
2910
|
+
--cirth-progress-color: var(--cirth-primary);
|
|
2911
|
+
--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");
|
|
2912
|
+
--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");
|
|
2913
|
+
--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");
|
|
2914
|
+
--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");
|
|
2915
|
+
--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");
|
|
2916
|
+
--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");
|
|
2701
2917
|
}
|
|
2702
2918
|
|
|
2703
2919
|
:where([data-theme="dark"]) details summary[role="button"].contrast:not(.outline):after, :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 {
|
|
@@ -2710,120 +2926,120 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
|
|
|
2710
2926
|
|
|
2711
2927
|
@media (prefers-contrast: more) {
|
|
2712
2928
|
:where([data-theme="light"]), :root:where(:not([data-theme="dark"])), :host(:where(:not([data-theme="dark"]))) {
|
|
2713
|
-
--cirth-
|
|
2929
|
+
--cirth-ink: oklch(22.3% .023 280);
|
|
2714
2930
|
--cirth-h1-color: var(--cirth-color);
|
|
2715
2931
|
--cirth-h2-color: var(--cirth-color);
|
|
2716
2932
|
--cirth-h3-color: var(--cirth-color);
|
|
2717
2933
|
--cirth-h4-color: var(--cirth-color);
|
|
2718
2934
|
--cirth-h5-color: var(--cirth-color);
|
|
2719
2935
|
--cirth-h6-color: var(--cirth-color);
|
|
2720
|
-
--cirth-muted-color: oklch(39.7% .
|
|
2721
|
-
--cirth-secondary: oklch(39.7% .
|
|
2722
|
-
--cirth-code-color: oklch(35.3% .
|
|
2723
|
-
--cirth-link-visited-color: oklch(35.3% .
|
|
2724
|
-
--cirth-muted-border-color: oklch(57% .032
|
|
2725
|
-
--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(
|
|
2726
|
-
--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(
|
|
2727
|
-
--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(
|
|
2728
|
-
--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(
|
|
2729
|
-
--cirth-form-element-border-color: oklch(39.7% .
|
|
2730
|
-
--cirth-form-element-invalid-border-color: oklch(48.3% .
|
|
2731
|
-
--cirth-form-element-valid-border-color: oklch(48.3% .
|
|
2732
|
-
--cirth-primary: oklch(39.7% .
|
|
2733
|
-
--cirth-primary-hover: oklch(31% .
|
|
2936
|
+
--cirth-muted-color: oklch(39.7% .028 280);
|
|
2937
|
+
--cirth-secondary: oklch(39.7% .028 280);
|
|
2938
|
+
--cirth-code-color: oklch(35.3% .027 280);
|
|
2939
|
+
--cirth-link-visited-color: oklch(35.3% .027 280);
|
|
2940
|
+
--cirth-muted-border-color: oklch(57% .032 280);
|
|
2941
|
+
--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");
|
|
2942
|
+
--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");
|
|
2943
|
+
--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");
|
|
2944
|
+
--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");
|
|
2945
|
+
--cirth-form-element-border-color: oklch(39.7% .028 280);
|
|
2946
|
+
--cirth-form-element-invalid-border-color: oklch(48.3% .165 22);
|
|
2947
|
+
--cirth-form-element-valid-border-color: oklch(48.3% .106 153);
|
|
2948
|
+
--cirth-primary: oklch(39.7% .081 44);
|
|
2949
|
+
--cirth-primary-hover: oklch(31% .063 44);
|
|
2734
2950
|
--cirth-primary-underline: var(--cirth-primary);
|
|
2735
2951
|
--cirth-secondary-underline: var(--cirth-secondary);
|
|
2736
2952
|
--cirth-contrast-underline: var(--cirth-contrast);
|
|
2737
|
-
--cirth-primary-focus: oklch(48.3% .
|
|
2738
|
-
--cirth-secondary-focus: oklch(48.3% .03
|
|
2739
|
-
--cirth-contrast-focus: oklch(48.3% .03
|
|
2740
|
-
--cirth-switch-background-color: oklch(48.3% .03
|
|
2741
|
-
--cirth-progress-border-color: oklch(48.3% .03
|
|
2742
|
-
--cirth-meter-optimum-color: oklch(44% .
|
|
2743
|
-
--cirth-meter-suboptimum-color: oklch(39.7% .
|
|
2744
|
-
--cirth-meter-even-less-good-color: oklch(35.3% .
|
|
2953
|
+
--cirth-primary-focus: oklch(48.3% .098 44);
|
|
2954
|
+
--cirth-secondary-focus: oklch(48.3% .03 280);
|
|
2955
|
+
--cirth-contrast-focus: oklch(48.3% .03 280);
|
|
2956
|
+
--cirth-switch-background-color: oklch(48.3% .03 280);
|
|
2957
|
+
--cirth-progress-border-color: oklch(48.3% .03 280);
|
|
2958
|
+
--cirth-meter-optimum-color: oklch(44% .096 153);
|
|
2959
|
+
--cirth-meter-suboptimum-color: oklch(39.7% .069 89.5);
|
|
2960
|
+
--cirth-meter-even-less-good-color: oklch(35.3% .121 22);
|
|
2745
2961
|
--cirth-dropdown-border-color: var(--cirth-muted-border-color);
|
|
2746
2962
|
}
|
|
2747
2963
|
}
|
|
2748
2964
|
|
|
2749
2965
|
@media only screen and (prefers-contrast: more) and (prefers-color-scheme: dark) {
|
|
2750
2966
|
:root:where(:not([data-theme])), :host(:where(:not([data-theme]))) {
|
|
2751
|
-
--cirth-
|
|
2967
|
+
--cirth-ink: oklch(96% 0 280);
|
|
2752
2968
|
--cirth-h1-color: var(--cirth-color);
|
|
2753
2969
|
--cirth-h2-color: var(--cirth-color);
|
|
2754
2970
|
--cirth-h3-color: var(--cirth-color);
|
|
2755
2971
|
--cirth-h4-color: var(--cirth-color);
|
|
2756
2972
|
--cirth-h5-color: var(--cirth-color);
|
|
2757
2973
|
--cirth-h6-color: var(--cirth-color);
|
|
2758
|
-
--cirth-muted-color: oklch(78.7% .
|
|
2759
|
-
--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(
|
|
2760
|
-
--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(
|
|
2761
|
-
--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(
|
|
2762
|
-
--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(
|
|
2763
|
-
--cirth-secondary: oklch(78.7% .
|
|
2764
|
-
--cirth-code-color: oklch(83% .
|
|
2765
|
-
--cirth-link-visited-color: oklch(78.7% .
|
|
2766
|
-
--cirth-muted-border-color: oklch(57% .032
|
|
2974
|
+
--cirth-muted-color: oklch(78.7% .014 280);
|
|
2975
|
+
--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");
|
|
2976
|
+
--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");
|
|
2977
|
+
--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");
|
|
2978
|
+
--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");
|
|
2979
|
+
--cirth-secondary: oklch(78.7% .014 280);
|
|
2980
|
+
--cirth-code-color: oklch(83% .011 280);
|
|
2981
|
+
--cirth-link-visited-color: oklch(78.7% .014 280);
|
|
2982
|
+
--cirth-muted-border-color: oklch(57% .032 280);
|
|
2767
2983
|
--cirth-card-border-color: var(--cirth-muted-border-color);
|
|
2768
|
-
--cirth-form-element-border-color: oklch(70% .
|
|
2769
|
-
--cirth-form-element-invalid-border-color: oklch(78.7% .
|
|
2770
|
-
--cirth-form-element-valid-border-color: oklch(78.7% .
|
|
2771
|
-
--cirth-primary: oklch(78.7% .
|
|
2772
|
-
--cirth-primary-hover: oklch(87.3% .
|
|
2773
|
-
--cirth-primary-background: oklch(44% .
|
|
2774
|
-
--cirth-primary-hover-background: oklch(39.7% .
|
|
2984
|
+
--cirth-form-element-border-color: oklch(70% .021 280);
|
|
2985
|
+
--cirth-form-element-invalid-border-color: oklch(78.7% .105 22);
|
|
2986
|
+
--cirth-form-element-valid-border-color: oklch(78.7% .172 153);
|
|
2987
|
+
--cirth-primary: oklch(78.7% .092 44);
|
|
2988
|
+
--cirth-primary-hover: oklch(87.3% .051 44);
|
|
2989
|
+
--cirth-primary-background: oklch(44% .09 44);
|
|
2990
|
+
--cirth-primary-hover-background: oklch(39.7% .081 44);
|
|
2775
2991
|
--cirth-primary-underline: var(--cirth-primary);
|
|
2776
2992
|
--cirth-secondary-underline: var(--cirth-secondary);
|
|
2777
2993
|
--cirth-contrast-underline: var(--cirth-contrast);
|
|
2778
|
-
--cirth-primary-focus: oklch(70% .
|
|
2779
|
-
--cirth-secondary-focus: oklch(70% .
|
|
2780
|
-
--cirth-contrast-focus: oklch(87.3% .
|
|
2781
|
-
--cirth-switch-background-color: oklch(65.7% .
|
|
2782
|
-
--cirth-progress-border-color: oklch(70% .
|
|
2783
|
-
--cirth-meter-optimum-color: oklch(74.3% .
|
|
2784
|
-
--cirth-meter-suboptimum-color: oklch(78.7% .
|
|
2785
|
-
--cirth-meter-even-less-good-color: oklch(83% .
|
|
2994
|
+
--cirth-primary-focus: oklch(70% .141 44);
|
|
2995
|
+
--cirth-secondary-focus: oklch(70% .021 280);
|
|
2996
|
+
--cirth-contrast-focus: oklch(87.3% .007 280);
|
|
2997
|
+
--cirth-switch-background-color: oklch(65.7% .025 280);
|
|
2998
|
+
--cirth-progress-border-color: oklch(70% .021 280);
|
|
2999
|
+
--cirth-meter-optimum-color: oklch(74.3% .163 153);
|
|
3000
|
+
--cirth-meter-suboptimum-color: oklch(78.7% .137 89.5);
|
|
3001
|
+
--cirth-meter-even-less-good-color: oklch(83% .08 22);
|
|
2786
3002
|
--cirth-dropdown-border-color: var(--cirth-muted-border-color);
|
|
2787
3003
|
}
|
|
2788
3004
|
}
|
|
2789
3005
|
|
|
2790
3006
|
@media (prefers-contrast: more) {
|
|
2791
3007
|
:where([data-theme="dark"]) {
|
|
2792
|
-
--cirth-
|
|
3008
|
+
--cirth-ink: oklch(96% 0 280);
|
|
2793
3009
|
--cirth-h1-color: var(--cirth-color);
|
|
2794
3010
|
--cirth-h2-color: var(--cirth-color);
|
|
2795
3011
|
--cirth-h3-color: var(--cirth-color);
|
|
2796
3012
|
--cirth-h4-color: var(--cirth-color);
|
|
2797
3013
|
--cirth-h5-color: var(--cirth-color);
|
|
2798
3014
|
--cirth-h6-color: var(--cirth-color);
|
|
2799
|
-
--cirth-muted-color: oklch(78.7% .
|
|
2800
|
-
--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(
|
|
2801
|
-
--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(
|
|
2802
|
-
--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(
|
|
2803
|
-
--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(
|
|
2804
|
-
--cirth-secondary: oklch(78.7% .
|
|
2805
|
-
--cirth-code-color: oklch(83% .
|
|
2806
|
-
--cirth-link-visited-color: oklch(78.7% .
|
|
2807
|
-
--cirth-muted-border-color: oklch(57% .032
|
|
3015
|
+
--cirth-muted-color: oklch(78.7% .014 280);
|
|
3016
|
+
--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");
|
|
3017
|
+
--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");
|
|
3018
|
+
--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");
|
|
3019
|
+
--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");
|
|
3020
|
+
--cirth-secondary: oklch(78.7% .014 280);
|
|
3021
|
+
--cirth-code-color: oklch(83% .011 280);
|
|
3022
|
+
--cirth-link-visited-color: oklch(78.7% .014 280);
|
|
3023
|
+
--cirth-muted-border-color: oklch(57% .032 280);
|
|
2808
3024
|
--cirth-card-border-color: var(--cirth-muted-border-color);
|
|
2809
|
-
--cirth-form-element-border-color: oklch(70% .
|
|
2810
|
-
--cirth-form-element-invalid-border-color: oklch(78.7% .
|
|
2811
|
-
--cirth-form-element-valid-border-color: oklch(78.7% .
|
|
2812
|
-
--cirth-primary: oklch(78.7% .
|
|
2813
|
-
--cirth-primary-hover: oklch(87.3% .
|
|
2814
|
-
--cirth-primary-background: oklch(44% .
|
|
2815
|
-
--cirth-primary-hover-background: oklch(39.7% .
|
|
3025
|
+
--cirth-form-element-border-color: oklch(70% .021 280);
|
|
3026
|
+
--cirth-form-element-invalid-border-color: oklch(78.7% .105 22);
|
|
3027
|
+
--cirth-form-element-valid-border-color: oklch(78.7% .172 153);
|
|
3028
|
+
--cirth-primary: oklch(78.7% .092 44);
|
|
3029
|
+
--cirth-primary-hover: oklch(87.3% .051 44);
|
|
3030
|
+
--cirth-primary-background: oklch(44% .09 44);
|
|
3031
|
+
--cirth-primary-hover-background: oklch(39.7% .081 44);
|
|
2816
3032
|
--cirth-primary-underline: var(--cirth-primary);
|
|
2817
3033
|
--cirth-secondary-underline: var(--cirth-secondary);
|
|
2818
3034
|
--cirth-contrast-underline: var(--cirth-contrast);
|
|
2819
|
-
--cirth-primary-focus: oklch(70% .
|
|
2820
|
-
--cirth-secondary-focus: oklch(70% .
|
|
2821
|
-
--cirth-contrast-focus: oklch(87.3% .
|
|
2822
|
-
--cirth-switch-background-color: oklch(65.7% .
|
|
2823
|
-
--cirth-progress-border-color: oklch(70% .
|
|
2824
|
-
--cirth-meter-optimum-color: oklch(74.3% .
|
|
2825
|
-
--cirth-meter-suboptimum-color: oklch(78.7% .
|
|
2826
|
-
--cirth-meter-even-less-good-color: oklch(83% .
|
|
3035
|
+
--cirth-primary-focus: oklch(70% .141 44);
|
|
3036
|
+
--cirth-secondary-focus: oklch(70% .021 280);
|
|
3037
|
+
--cirth-contrast-focus: oklch(87.3% .007 280);
|
|
3038
|
+
--cirth-switch-background-color: oklch(65.7% .025 280);
|
|
3039
|
+
--cirth-progress-border-color: oklch(70% .021 280);
|
|
3040
|
+
--cirth-meter-optimum-color: oklch(74.3% .163 153);
|
|
3041
|
+
--cirth-meter-suboptimum-color: oklch(78.7% .137 89.5);
|
|
3042
|
+
--cirth-meter-even-less-good-color: oklch(83% .08 22);
|
|
2827
3043
|
--cirth-dropdown-border-color: var(--cirth-muted-border-color);
|
|
2828
3044
|
}
|
|
2829
3045
|
}
|