@cirthcss/cirth 0.8.5 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -18
- package/dist/cirth.classless.css +320 -14
- package/dist/cirth.classless.min.css +1 -1
- package/dist/cirth.classless.scoped.css +312 -14
- package/dist/cirth.classless.scoped.min.css +1 -1
- package/dist/cirth.css +331 -16
- package/dist/cirth.min.css +1 -1
- package/dist/cirth.scoped.css +323 -16
- package/dist/cirth.scoped.min.css +1 -1
- package/dist/presets/cobalt.css +45 -6
- package/dist/presets/cobalt.min.css +1 -1
- package/dist/presets/coral.css +45 -4
- package/dist/presets/coral.min.css +1 -1
- package/package.json +5 -3
package/dist/cirth.css
CHANGED
|
@@ -188,7 +188,7 @@ hgroup > :not(:first-child):last-child {
|
|
|
188
188
|
margin-bottom: calc(var(--cirth-typography-spacing-vertical) * .25);
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
:
|
|
191
|
+
:is(dl, ol, ul) :is(dl, ol, ul) {
|
|
192
192
|
margin: 0;
|
|
193
193
|
margin-top: calc(var(--cirth-typography-spacing-vertical) * .25);
|
|
194
194
|
}
|
|
@@ -281,6 +281,10 @@ del {
|
|
|
281
281
|
--cirth-underline: var(--cirth-contrast-hover-underline);
|
|
282
282
|
}
|
|
283
283
|
|
|
284
|
+
:where(a:not([role="button"])):visited:not(.secondary, .contrast, details.dropdown a, [aria-current]:not([aria-current="false"]), :hover, :active, :focus, nav a) {
|
|
285
|
+
color: var(--cirth-link-visited-color);
|
|
286
|
+
}
|
|
287
|
+
|
|
284
288
|
a[role="button"] {
|
|
285
289
|
display: inline-block;
|
|
286
290
|
}
|
|
@@ -300,6 +304,7 @@ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
|
|
|
300
304
|
--cirth-border-color: var(--cirth-primary-border);
|
|
301
305
|
--cirth-color: var(--cirth-primary-inverse);
|
|
302
306
|
--cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
|
|
307
|
+
max-width: 100%;
|
|
303
308
|
padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
|
|
304
309
|
border: var(--cirth-border-width) solid var(--cirth-border-color);
|
|
305
310
|
border-radius: var(--cirth-border-radius);
|
|
@@ -323,6 +328,7 @@ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
|
|
|
323
328
|
--cirth-border-color: var(--cirth-primary-border);
|
|
324
329
|
--cirth-color: var(--cirth-primary-inverse);
|
|
325
330
|
--cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
|
|
331
|
+
max-width: 100%;
|
|
326
332
|
padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
|
|
327
333
|
border: var(--cirth-border-width) solid var(--cirth-border-color);
|
|
328
334
|
border-radius: var(--cirth-border-radius);
|
|
@@ -1655,6 +1661,10 @@ label > details.dropdown {
|
|
|
1655
1661
|
text-align: center;
|
|
1656
1662
|
}
|
|
1657
1663
|
|
|
1664
|
+
:is(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[aria-busy="true"] {
|
|
1665
|
+
white-space: normal;
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1658
1668
|
input:is([type="submit"], [type="button"], [type="reset"])[aria-busy="true"] {
|
|
1659
1669
|
background-image: var(--cirth-icon-loading);
|
|
1660
1670
|
background-position: center left var(--cirth-form-element-spacing-horizontal);
|
|
@@ -1671,6 +1681,50 @@ button[aria-busy="true"], [type="submit"][aria-busy="true"], [type="button"][ari
|
|
|
1671
1681
|
pointer-events: none;
|
|
1672
1682
|
}
|
|
1673
1683
|
|
|
1684
|
+
meter {
|
|
1685
|
+
appearance: none;
|
|
1686
|
+
width: 100%;
|
|
1687
|
+
height: var(--cirth-size-2);
|
|
1688
|
+
margin-bottom: calc(var(--cirth-spacing) * .5);
|
|
1689
|
+
border: var(--cirth-border-width-1) solid var(--cirth-meter-border-color);
|
|
1690
|
+
border-radius: var(--cirth-border-radius);
|
|
1691
|
+
background: var(--cirth-meter-background-color);
|
|
1692
|
+
display: inline-block;
|
|
1693
|
+
overflow: hidden;
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
meter::-webkit-meter-bar {
|
|
1697
|
+
background: none;
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
meter::-webkit-meter-inner-element {
|
|
1701
|
+
display: flex;
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
meter::-webkit-meter-optimum-value {
|
|
1705
|
+
background: var(--cirth-meter-optimum-color);
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1708
|
+
meter::-webkit-meter-suboptimum-value {
|
|
1709
|
+
background: var(--cirth-meter-suboptimum-color);
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
meter::-webkit-meter-even-less-good-value {
|
|
1713
|
+
background: var(--cirth-meter-even-less-good-color);
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1716
|
+
meter::-moz-meter-bar {
|
|
1717
|
+
background: var(--cirth-meter-optimum-color);
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
meter:-moz-meter-sub-optimum::-moz-meter-bar {
|
|
1721
|
+
background: var(--cirth-meter-suboptimum-color);
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
1725
|
+
background: var(--cirth-meter-even-less-good-color);
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1674
1728
|
:root, :host {
|
|
1675
1729
|
--cirth-scrollbar-width: 0px;
|
|
1676
1730
|
}
|
|
@@ -2317,6 +2371,8 @@ progress::-moz-progress-bar {
|
|
|
2317
2371
|
var(--cirth-primary-focus);
|
|
2318
2372
|
--cirth-group-box-shadow-focus-with-input: 0 0 0 var(--cirth-border-width-1)
|
|
2319
2373
|
var(--cirth-form-element-border-color);
|
|
2374
|
+
--cirth-meter-background-color: var(--cirth-progress-background-color);
|
|
2375
|
+
--cirth-meter-border-color: var(--cirth-progress-border-color);
|
|
2320
2376
|
--cirth-modal-overlay-backdrop-filter: blur(.375rem);
|
|
2321
2377
|
--cirth-nav-element-spacing-vertical: var(--cirth-space-4);
|
|
2322
2378
|
--cirth-nav-element-spacing-horizontal: var(--cirth-space-2);
|
|
@@ -2421,6 +2477,10 @@ input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [
|
|
|
2421
2477
|
--cirth-border-radius: var(--cirth-radius-pill);
|
|
2422
2478
|
}
|
|
2423
2479
|
|
|
2480
|
+
.group [type="search"] {
|
|
2481
|
+
--cirth-border-radius: inherit;
|
|
2482
|
+
}
|
|
2483
|
+
|
|
2424
2484
|
button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
|
|
2425
2485
|
--cirth-font-weight: var(--cirth-font-weight-semibold);
|
|
2426
2486
|
--cirth-line-height: var(--cirth-line-height-relaxed);
|
|
@@ -2479,11 +2539,11 @@ details summary[role="button"]:not(.outline):after {
|
|
|
2479
2539
|
filter: brightness(0) invert();
|
|
2480
2540
|
}
|
|
2481
2541
|
|
|
2482
|
-
[data-theme="light"], :root:not([data-theme="dark"]), :host(:not([data-theme="dark"])) {
|
|
2542
|
+
:where([data-theme="light"]), :root:where(:not([data-theme="dark"])), :host(:where(:not([data-theme="dark"]))) {
|
|
2483
2543
|
--lightningcss-light: initial;
|
|
2484
2544
|
--lightningcss-dark: ;
|
|
2485
2545
|
color-scheme: light;
|
|
2486
|
-
--cirth-background-color: oklch(97.4% .
|
|
2546
|
+
--cirth-background-color: oklch(97.4% .004 69.35);
|
|
2487
2547
|
--cirth-color: oklch(35.3% .021 264);
|
|
2488
2548
|
--cirth-text-selection-color: oklch(65.7% .121 69.35 / .25);
|
|
2489
2549
|
--cirth-muted-color: oklch(52.7% .032 264);
|
|
@@ -2518,13 +2578,14 @@ details summary[role="button"]:not(.outline):after {
|
|
|
2518
2578
|
--cirth-contrast-hover-underline: var(--cirth-secondary-hover);
|
|
2519
2579
|
--cirth-contrast-focus: oklch(48.3% .03 264 / .7);
|
|
2520
2580
|
--cirth-contrast-inverse: oklch(100% 0 0);
|
|
2581
|
+
--cirth-link-visited-color: oklch(48.3% .03 264);
|
|
2521
2582
|
--cirth-box-shadow: .0145rem .029rem .174rem oklch(65.7% .03 264 / .01698), .0335rem .067rem .402rem oklch(65.7% .03 264 / .024), .0625rem .125rem .75rem oklch(65.7% .03 264 / .03), .1125rem .225rem 1.35rem oklch(65.7% .03 264 / .036), .2085rem .417rem 2.502rem oklch(65.7% .03 264 / .04302), .5rem 1rem 6rem oklch(65.7% .03 264 / .06), 0 0 0 .0625rem oklch(65.7% .03 264 / .015);
|
|
2522
|
-
--cirth-h1-color: oklch(
|
|
2523
|
-
--cirth-h2-color: oklch(
|
|
2524
|
-
--cirth-h3-color: oklch(
|
|
2525
|
-
--cirth-h4-color: oklch(
|
|
2526
|
-
--cirth-h5-color: oklch(
|
|
2527
|
-
--cirth-h6-color: oklch(
|
|
2583
|
+
--cirth-h1-color: oklch(22.3% .006 264);
|
|
2584
|
+
--cirth-h2-color: oklch(26.7% .011 264);
|
|
2585
|
+
--cirth-h3-color: oklch(31% .016 264);
|
|
2586
|
+
--cirth-h4-color: oklch(35.3% .021 264);
|
|
2587
|
+
--cirth-h5-color: oklch(39.7% .025 264);
|
|
2588
|
+
--cirth-h6-color: oklch(44% .028 264);
|
|
2528
2589
|
--cirth-mark-background-color: oklch(93% .05 78);
|
|
2529
2590
|
--cirth-mark-color: oklch(18% 0 264);
|
|
2530
2591
|
--cirth-ins-color: oklch(35.3% .067 160.59);
|
|
@@ -2578,6 +2639,9 @@ details summary[role="button"]:not(.outline):after {
|
|
|
2578
2639
|
--cirth-dropdown-hover-background-color: oklch(96% 0 264);
|
|
2579
2640
|
--cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
|
|
2580
2641
|
--cirth-modal-overlay-background-color: oklch(93.85% .003 264deg / var(--cirth-opacity-overlay));
|
|
2642
|
+
--cirth-meter-optimum-color: oklch(52.7% .1 160.59);
|
|
2643
|
+
--cirth-meter-suboptimum-color: oklch(48.3% .086 78);
|
|
2644
|
+
--cirth-meter-even-less-good-color: oklch(44% .151 29.73);
|
|
2581
2645
|
--cirth-progress-background-color: oklch(91.7% .006 264);
|
|
2582
2646
|
--cirth-progress-border-color: oklch(61.3% .032 264);
|
|
2583
2647
|
--cirth-progress-color: var(--cirth-primary-background);
|
|
@@ -2587,12 +2651,12 @@ details summary[role="button"]:not(.outline):after {
|
|
|
2587
2651
|
--cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(189, 47, 33)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
|
|
2588
2652
|
}
|
|
2589
2653
|
|
|
2590
|
-
[data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :root:not([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:not([data-theme="dark"])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2654
|
+
: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"]) {
|
|
2591
2655
|
--cirth-form-element-focus-color: var(--cirth-primary-focus);
|
|
2592
2656
|
}
|
|
2593
2657
|
|
|
2594
2658
|
@media only screen and (prefers-color-scheme: dark) {
|
|
2595
|
-
:root:not([data-theme]), :host(:not([data-theme])) {
|
|
2659
|
+
:root:where(:not([data-theme])), :host(:where(:not([data-theme]))) {
|
|
2596
2660
|
--lightningcss-light: ;
|
|
2597
2661
|
--lightningcss-dark: initial;
|
|
2598
2662
|
color-scheme: dark;
|
|
@@ -2631,6 +2695,7 @@ details summary[role="button"]:not(.outline):after {
|
|
|
2631
2695
|
--cirth-contrast-hover-underline: var(--cirth-contrast-hover);
|
|
2632
2696
|
--cirth-contrast-focus: oklch(87.3% .011 264 / .5);
|
|
2633
2697
|
--cirth-contrast-inverse: oklch(0% 0 0);
|
|
2698
|
+
--cirth-link-visited-color: oklch(65.7% .03 264);
|
|
2634
2699
|
--cirth-box-shadow: .0145rem .029rem .174rem oklch(9% 0 312 / .01698), .0335rem .067rem .402rem oklch(9% 0 312 / .024), .0625rem .125rem .75rem oklch(9% 0 312 / .03), .1125rem .225rem 1.35rem oklch(9% 0 312 / .036), .2085rem .417rem 2.502rem oklch(9% 0 312 / .04302), .5rem 1rem 6rem oklch(9% 0 312 / .06), 0 0 0 .0625rem oklch(9% 0 312 / .015);
|
|
2635
2700
|
--cirth-h1-color: oklch(96% 0 264);
|
|
2636
2701
|
--cirth-h2-color: oklch(91.7% .006 264);
|
|
@@ -2691,6 +2756,9 @@ details summary[role="button"]:not(.outline):after {
|
|
|
2691
2756
|
--cirth-dropdown-hover-background-color: oklch(26.7% .011 264);
|
|
2692
2757
|
--cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
|
|
2693
2758
|
--cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
|
|
2759
|
+
--cirth-meter-optimum-color: oklch(65.7% .125 160.59);
|
|
2760
|
+
--cirth-meter-suboptimum-color: oklch(70% .124 78);
|
|
2761
|
+
--cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
|
|
2694
2762
|
--cirth-progress-background-color: oklch(26.7% .011 264);
|
|
2695
2763
|
--cirth-progress-border-color: oklch(52.7% .032 264);
|
|
2696
2764
|
--cirth-progress-color: oklch(61.3% .113 69.35);
|
|
@@ -2700,16 +2768,16 @@ details summary[role="button"]:not(.outline):after {
|
|
|
2700
2768
|
--cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(246, 160, 145)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
|
|
2701
2769
|
}
|
|
2702
2770
|
|
|
2703
|
-
:root:not([data-theme]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2771
|
+
: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"]) {
|
|
2704
2772
|
--cirth-form-element-focus-color: var(--cirth-primary-focus);
|
|
2705
2773
|
}
|
|
2706
2774
|
|
|
2707
|
-
:root:not([data-theme]) details summary[role="button"].contrast:not(.outline):after, :host(:not([data-theme])) details summary[role="button"].contrast:not(.outline):after, :root: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(:not([data-theme])) [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
|
|
2775
|
+
: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 {
|
|
2708
2776
|
filter: brightness(0);
|
|
2709
2777
|
}
|
|
2710
2778
|
}
|
|
2711
2779
|
|
|
2712
|
-
[data-theme="dark"] {
|
|
2780
|
+
:where([data-theme="dark"]) {
|
|
2713
2781
|
--lightningcss-light: ;
|
|
2714
2782
|
--lightningcss-dark: initial;
|
|
2715
2783
|
color-scheme: dark;
|
|
@@ -2748,6 +2816,7 @@ details summary[role="button"]:not(.outline):after {
|
|
|
2748
2816
|
--cirth-contrast-hover-underline: var(--cirth-contrast-hover);
|
|
2749
2817
|
--cirth-contrast-focus: oklch(87.3% .011 264 / .5);
|
|
2750
2818
|
--cirth-contrast-inverse: oklch(0% 0 0);
|
|
2819
|
+
--cirth-link-visited-color: oklch(65.7% .03 264);
|
|
2751
2820
|
--cirth-box-shadow: .0145rem .029rem .174rem oklch(9% 0 312 / .01698), .0335rem .067rem .402rem oklch(9% 0 312 / .024), .0625rem .125rem .75rem oklch(9% 0 312 / .03), .1125rem .225rem 1.35rem oklch(9% 0 312 / .036), .2085rem .417rem 2.502rem oklch(9% 0 312 / .04302), .5rem 1rem 6rem oklch(9% 0 312 / .06), 0 0 0 .0625rem oklch(9% 0 312 / .015);
|
|
2752
2821
|
--cirth-h1-color: oklch(96% 0 264);
|
|
2753
2822
|
--cirth-h2-color: oklch(91.7% .006 264);
|
|
@@ -2808,6 +2877,9 @@ details summary[role="button"]:not(.outline):after {
|
|
|
2808
2877
|
--cirth-dropdown-hover-background-color: oklch(26.7% .011 264);
|
|
2809
2878
|
--cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
|
|
2810
2879
|
--cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
|
|
2880
|
+
--cirth-meter-optimum-color: oklch(65.7% .125 160.59);
|
|
2881
|
+
--cirth-meter-suboptimum-color: oklch(70% .124 78);
|
|
2882
|
+
--cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
|
|
2811
2883
|
--cirth-progress-background-color: oklch(26.7% .011 264);
|
|
2812
2884
|
--cirth-progress-border-color: oklch(52.7% .032 264);
|
|
2813
2885
|
--cirth-progress-color: oklch(61.3% .113 69.35);
|
|
@@ -2817,14 +2889,257 @@ details summary[role="button"]:not(.outline):after {
|
|
|
2817
2889
|
--cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(246, 160, 145)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
|
|
2818
2890
|
}
|
|
2819
2891
|
|
|
2820
|
-
[data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2892
|
+
:where([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2821
2893
|
--cirth-form-element-focus-color: var(--cirth-primary-focus);
|
|
2822
2894
|
}
|
|
2823
2895
|
|
|
2824
|
-
[data-theme="dark"] details summary[role="button"].contrast:not(.outline):after, [data-theme="dark"] [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
|
|
2896
|
+
: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 {
|
|
2825
2897
|
filter: brightness(0);
|
|
2826
2898
|
}
|
|
2827
2899
|
|
|
2828
2900
|
progress, [type="checkbox"], [type="radio"], [type="range"] {
|
|
2829
2901
|
accent-color: var(--cirth-primary);
|
|
2830
2902
|
}
|
|
2903
|
+
|
|
2904
|
+
@media (prefers-contrast: more) {
|
|
2905
|
+
:where([data-theme="light"]), :root:where(:not([data-theme="dark"])), :host(:where(:not([data-theme="dark"]))) {
|
|
2906
|
+
--cirth-color: oklch(22.3% .006 264);
|
|
2907
|
+
--cirth-h1-color: var(--cirth-color);
|
|
2908
|
+
--cirth-h2-color: var(--cirth-color);
|
|
2909
|
+
--cirth-h3-color: var(--cirth-color);
|
|
2910
|
+
--cirth-h4-color: var(--cirth-color);
|
|
2911
|
+
--cirth-h5-color: var(--cirth-color);
|
|
2912
|
+
--cirth-h6-color: var(--cirth-color);
|
|
2913
|
+
--cirth-muted-color: oklch(39.7% .025 264);
|
|
2914
|
+
--cirth-secondary: oklch(39.7% .025 264);
|
|
2915
|
+
--cirth-code-color: oklch(35.3% .021 264);
|
|
2916
|
+
--cirth-link-visited-color: oklch(35.3% .021 264);
|
|
2917
|
+
--cirth-muted-border-color: oklch(57% .032 264);
|
|
2918
|
+
--cirth-form-element-border-color: oklch(39.7% .025 264);
|
|
2919
|
+
--cirth-form-element-invalid-border-color: oklch(48.3% .166 29.73);
|
|
2920
|
+
--cirth-form-element-valid-border-color: oklch(48.3% .092 160.59);
|
|
2921
|
+
--cirth-primary: oklch(39.7% .073 69.35);
|
|
2922
|
+
--cirth-primary-hover: oklch(31% .057 69.35);
|
|
2923
|
+
--cirth-primary-underline: var(--cirth-primary);
|
|
2924
|
+
--cirth-secondary-underline: var(--cirth-secondary);
|
|
2925
|
+
--cirth-contrast-underline: var(--cirth-contrast);
|
|
2926
|
+
--cirth-primary-focus: oklch(48.3% .089 69.35);
|
|
2927
|
+
--cirth-secondary-focus: oklch(48.3% .03 264);
|
|
2928
|
+
--cirth-contrast-focus: oklch(48.3% .03 264);
|
|
2929
|
+
--cirth-switch-background-color: oklch(48.3% .03 264);
|
|
2930
|
+
--cirth-progress-border-color: oklch(48.3% .03 264);
|
|
2931
|
+
--cirth-meter-optimum-color: oklch(44% .084 160.59);
|
|
2932
|
+
--cirth-meter-suboptimum-color: oklch(39.7% .07 78);
|
|
2933
|
+
--cirth-meter-even-less-good-color: oklch(35.3% .122 29.73);
|
|
2934
|
+
--cirth-dropdown-border-color: var(--cirth-muted-border-color);
|
|
2935
|
+
}
|
|
2936
|
+
}
|
|
2937
|
+
|
|
2938
|
+
@media only screen and (prefers-contrast: more) and (prefers-color-scheme: dark) {
|
|
2939
|
+
:root:where(:not([data-theme])), :host(:where(:not([data-theme]))) {
|
|
2940
|
+
--cirth-color: oklch(96% 0 264);
|
|
2941
|
+
--cirth-h1-color: var(--cirth-color);
|
|
2942
|
+
--cirth-h2-color: var(--cirth-color);
|
|
2943
|
+
--cirth-h3-color: var(--cirth-color);
|
|
2944
|
+
--cirth-h4-color: var(--cirth-color);
|
|
2945
|
+
--cirth-h5-color: var(--cirth-color);
|
|
2946
|
+
--cirth-h6-color: var(--cirth-color);
|
|
2947
|
+
--cirth-muted-color: oklch(78.7% .021 264);
|
|
2948
|
+
--cirth-secondary: oklch(78.7% .021 264);
|
|
2949
|
+
--cirth-code-color: oklch(83% .016 264);
|
|
2950
|
+
--cirth-link-visited-color: oklch(78.7% .021 264);
|
|
2951
|
+
--cirth-muted-border-color: oklch(57% .032 264);
|
|
2952
|
+
--cirth-card-border-color: var(--cirth-muted-border-color);
|
|
2953
|
+
--cirth-form-element-border-color: oklch(70% .028 264);
|
|
2954
|
+
--cirth-form-element-invalid-border-color: oklch(78.7% .106 29.73);
|
|
2955
|
+
--cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
|
|
2956
|
+
--cirth-primary: oklch(78.7% .146 69.35);
|
|
2957
|
+
--cirth-primary-hover: oklch(87.3% .082 69.35);
|
|
2958
|
+
--cirth-primary-underline: var(--cirth-primary);
|
|
2959
|
+
--cirth-secondary-underline: var(--cirth-secondary);
|
|
2960
|
+
--cirth-contrast-underline: var(--cirth-contrast);
|
|
2961
|
+
--cirth-primary-focus: oklch(70% .129 69.35);
|
|
2962
|
+
--cirth-secondary-focus: oklch(70% .028 264);
|
|
2963
|
+
--cirth-contrast-focus: oklch(87.3% .011 264);
|
|
2964
|
+
--cirth-switch-background-color: oklch(65.7% .03 264);
|
|
2965
|
+
--cirth-progress-border-color: oklch(70% .028 264);
|
|
2966
|
+
--cirth-meter-optimum-color: oklch(74.3% .142 160.59);
|
|
2967
|
+
--cirth-meter-suboptimum-color: oklch(78.7% .139 78);
|
|
2968
|
+
--cirth-meter-even-less-good-color: oklch(83% .081 29.73);
|
|
2969
|
+
--cirth-dropdown-border-color: var(--cirth-muted-border-color);
|
|
2970
|
+
}
|
|
2971
|
+
}
|
|
2972
|
+
|
|
2973
|
+
@media (prefers-contrast: more) {
|
|
2974
|
+
:where([data-theme="dark"]) {
|
|
2975
|
+
--cirth-color: oklch(96% 0 264);
|
|
2976
|
+
--cirth-h1-color: var(--cirth-color);
|
|
2977
|
+
--cirth-h2-color: var(--cirth-color);
|
|
2978
|
+
--cirth-h3-color: var(--cirth-color);
|
|
2979
|
+
--cirth-h4-color: var(--cirth-color);
|
|
2980
|
+
--cirth-h5-color: var(--cirth-color);
|
|
2981
|
+
--cirth-h6-color: var(--cirth-color);
|
|
2982
|
+
--cirth-muted-color: oklch(78.7% .021 264);
|
|
2983
|
+
--cirth-secondary: oklch(78.7% .021 264);
|
|
2984
|
+
--cirth-code-color: oklch(83% .016 264);
|
|
2985
|
+
--cirth-link-visited-color: oklch(78.7% .021 264);
|
|
2986
|
+
--cirth-muted-border-color: oklch(57% .032 264);
|
|
2987
|
+
--cirth-card-border-color: var(--cirth-muted-border-color);
|
|
2988
|
+
--cirth-form-element-border-color: oklch(70% .028 264);
|
|
2989
|
+
--cirth-form-element-invalid-border-color: oklch(78.7% .106 29.73);
|
|
2990
|
+
--cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
|
|
2991
|
+
--cirth-primary: oklch(78.7% .146 69.35);
|
|
2992
|
+
--cirth-primary-hover: oklch(87.3% .082 69.35);
|
|
2993
|
+
--cirth-primary-underline: var(--cirth-primary);
|
|
2994
|
+
--cirth-secondary-underline: var(--cirth-secondary);
|
|
2995
|
+
--cirth-contrast-underline: var(--cirth-contrast);
|
|
2996
|
+
--cirth-primary-focus: oklch(70% .129 69.35);
|
|
2997
|
+
--cirth-secondary-focus: oklch(70% .028 264);
|
|
2998
|
+
--cirth-contrast-focus: oklch(87.3% .011 264);
|
|
2999
|
+
--cirth-switch-background-color: oklch(65.7% .03 264);
|
|
3000
|
+
--cirth-progress-border-color: oklch(70% .028 264);
|
|
3001
|
+
--cirth-meter-optimum-color: oklch(74.3% .142 160.59);
|
|
3002
|
+
--cirth-meter-suboptimum-color: oklch(78.7% .139 78);
|
|
3003
|
+
--cirth-meter-even-less-good-color: oklch(83% .081 29.73);
|
|
3004
|
+
--cirth-dropdown-border-color: var(--cirth-muted-border-color);
|
|
3005
|
+
}
|
|
3006
|
+
}
|
|
3007
|
+
|
|
3008
|
+
@media print {
|
|
3009
|
+
:root, :host {
|
|
3010
|
+
--cirth-print-color: oklch(0% 0 0);
|
|
3011
|
+
--cirth-print-muted-color: oklch(48.3% .03 264);
|
|
3012
|
+
--cirth-print-border-color: oklch(61.3% .032 264);
|
|
3013
|
+
}
|
|
3014
|
+
|
|
3015
|
+
html {
|
|
3016
|
+
--lightningcss-light: initial;
|
|
3017
|
+
--lightningcss-dark: ;
|
|
3018
|
+
color-scheme: light;
|
|
3019
|
+
background: none;
|
|
3020
|
+
}
|
|
3021
|
+
|
|
3022
|
+
body {
|
|
3023
|
+
color: var(--cirth-print-color);
|
|
3024
|
+
--lightningcss-light: initial;
|
|
3025
|
+
--lightningcss-dark: ;
|
|
3026
|
+
color-scheme: light;
|
|
3027
|
+
--cirth-color: var(--cirth-print-color);
|
|
3028
|
+
--cirth-h1-color: var(--cirth-print-color);
|
|
3029
|
+
--cirth-h2-color: var(--cirth-print-color);
|
|
3030
|
+
--cirth-h3-color: var(--cirth-print-color);
|
|
3031
|
+
--cirth-h4-color: var(--cirth-print-color);
|
|
3032
|
+
--cirth-h5-color: var(--cirth-print-color);
|
|
3033
|
+
--cirth-h6-color: var(--cirth-print-color);
|
|
3034
|
+
--cirth-code-color: var(--cirth-print-color);
|
|
3035
|
+
--cirth-code-kbd-color: var(--cirth-print-color);
|
|
3036
|
+
--cirth-form-element-color: var(--cirth-print-color);
|
|
3037
|
+
--cirth-muted-color: var(--cirth-print-muted-color);
|
|
3038
|
+
--cirth-form-element-placeholder-color: var(--cirth-print-muted-color);
|
|
3039
|
+
--cirth-primary: var(--cirth-print-color);
|
|
3040
|
+
--cirth-primary-hover: var(--cirth-print-color);
|
|
3041
|
+
--cirth-primary-underline: var(--cirth-print-color);
|
|
3042
|
+
--cirth-secondary: var(--cirth-print-color);
|
|
3043
|
+
--cirth-secondary-underline: var(--cirth-print-color);
|
|
3044
|
+
--cirth-contrast: var(--cirth-print-color);
|
|
3045
|
+
--cirth-contrast-underline: var(--cirth-print-color);
|
|
3046
|
+
--cirth-link-visited-color: var(--cirth-print-color);
|
|
3047
|
+
--cirth-muted-border-color: var(--cirth-print-border-color);
|
|
3048
|
+
--cirth-form-element-border-color: var(--cirth-print-border-color);
|
|
3049
|
+
--cirth-box-shadow: none;
|
|
3050
|
+
--cirth-card-box-shadow: none;
|
|
3051
|
+
--cirth-card-background-color: transparent;
|
|
3052
|
+
--cirth-card-sectioning-background-color: transparent;
|
|
3053
|
+
--cirth-code-background-color: transparent;
|
|
3054
|
+
--cirth-code-kbd-background-color: transparent;
|
|
3055
|
+
--cirth-form-element-background-color: transparent;
|
|
3056
|
+
--cirth-form-element-active-background-color: transparent;
|
|
3057
|
+
--cirth-table-row-stripped-background-color: transparent;
|
|
3058
|
+
--cirth-modal-overlay-background-color: transparent;
|
|
3059
|
+
--cirth-dropdown-background-color: transparent;
|
|
3060
|
+
--cirth-dropdown-box-shadow: none;
|
|
3061
|
+
--cirth-ins-color: oklch(35.3% .067 160.59);
|
|
3062
|
+
--cirth-del-color: oklch(35.3% .122 29.73);
|
|
3063
|
+
--cirth-meter-optimum-color: oklch(52.7% .1 160.59);
|
|
3064
|
+
--cirth-meter-suboptimum-color: oklch(48.3% .086 78);
|
|
3065
|
+
--cirth-meter-even-less-good-color: oklch(44% .151 29.73);
|
|
3066
|
+
background: none;
|
|
3067
|
+
}
|
|
3068
|
+
|
|
3069
|
+
kbd {
|
|
3070
|
+
border: var(--cirth-border-width) solid var(--cirth-print-border-color);
|
|
3071
|
+
}
|
|
3072
|
+
|
|
3073
|
+
:is(button, [type="submit"], [type="reset"], [type="button"], [role="button"]) {
|
|
3074
|
+
border-color: var(--cirth-print-border-color);
|
|
3075
|
+
box-shadow: none;
|
|
3076
|
+
color: var(--cirth-print-color);
|
|
3077
|
+
background: none;
|
|
3078
|
+
}
|
|
3079
|
+
|
|
3080
|
+
[type="file"]::file-selector-button {
|
|
3081
|
+
border-color: var(--cirth-print-border-color);
|
|
3082
|
+
box-shadow: none;
|
|
3083
|
+
color: var(--cirth-print-color);
|
|
3084
|
+
background: none;
|
|
3085
|
+
}
|
|
3086
|
+
|
|
3087
|
+
:is(mark, meter, progress, [type="checkbox"], [type="radio"]) {
|
|
3088
|
+
-webkit-print-color-adjust: exact;
|
|
3089
|
+
print-color-adjust: exact;
|
|
3090
|
+
}
|
|
3091
|
+
|
|
3092
|
+
a[href^="http"]:not([role="button"], nav a):after {
|
|
3093
|
+
content: " (" attr(href) ")";
|
|
3094
|
+
color: var(--cirth-print-muted-color);
|
|
3095
|
+
font-size: var(--cirth-font-size-sm);
|
|
3096
|
+
word-break: break-all;
|
|
3097
|
+
}
|
|
3098
|
+
|
|
3099
|
+
thead {
|
|
3100
|
+
display: table-header-group;
|
|
3101
|
+
}
|
|
3102
|
+
|
|
3103
|
+
tfoot {
|
|
3104
|
+
display: table-footer-group;
|
|
3105
|
+
}
|
|
3106
|
+
|
|
3107
|
+
tr {
|
|
3108
|
+
break-inside: avoid;
|
|
3109
|
+
}
|
|
3110
|
+
|
|
3111
|
+
pre {
|
|
3112
|
+
white-space: pre-wrap;
|
|
3113
|
+
overflow: visible;
|
|
3114
|
+
}
|
|
3115
|
+
|
|
3116
|
+
.overflow-auto {
|
|
3117
|
+
overflow: visible;
|
|
3118
|
+
}
|
|
3119
|
+
|
|
3120
|
+
dialog {
|
|
3121
|
+
-webkit-backdrop-filter: none;
|
|
3122
|
+
backdrop-filter: none;
|
|
3123
|
+
min-width: 0;
|
|
3124
|
+
min-height: 0;
|
|
3125
|
+
position: static;
|
|
3126
|
+
}
|
|
3127
|
+
|
|
3128
|
+
dialog > article {
|
|
3129
|
+
max-height: none;
|
|
3130
|
+
overflow: visible;
|
|
3131
|
+
}
|
|
3132
|
+
|
|
3133
|
+
:is(h1, h2, h3, h4, h5, h6) {
|
|
3134
|
+
break-after: avoid;
|
|
3135
|
+
}
|
|
3136
|
+
|
|
3137
|
+
:is(figure, img) {
|
|
3138
|
+
break-inside: avoid;
|
|
3139
|
+
}
|
|
3140
|
+
|
|
3141
|
+
:is(blockquote, li, p) {
|
|
3142
|
+
orphans: 3;
|
|
3143
|
+
widows: 3;
|
|
3144
|
+
}
|
|
3145
|
+
}
|