@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.scoped.css
CHANGED
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
margin-bottom: calc(var(--cirth-typography-spacing-vertical) * .25);
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
.cirth :
|
|
188
|
+
.cirth :is(dl, ol, ul) :is(dl, ol, ul) {
|
|
189
189
|
margin: 0;
|
|
190
190
|
margin-top: calc(var(--cirth-typography-spacing-vertical) * .25);
|
|
191
191
|
}
|
|
@@ -278,6 +278,10 @@
|
|
|
278
278
|
--cirth-underline: var(--cirth-contrast-hover-underline);
|
|
279
279
|
}
|
|
280
280
|
|
|
281
|
+
.cirth :where(a:not([role="button"])):visited:not(.secondary, .contrast, details.dropdown a, [aria-current]:not([aria-current="false"]), :hover, :active, :focus, nav a) {
|
|
282
|
+
color: var(--cirth-link-visited-color);
|
|
283
|
+
}
|
|
284
|
+
|
|
281
285
|
.cirth a[role="button"] {
|
|
282
286
|
display: inline-block;
|
|
283
287
|
}
|
|
@@ -297,6 +301,7 @@
|
|
|
297
301
|
--cirth-border-color: var(--cirth-primary-border);
|
|
298
302
|
--cirth-color: var(--cirth-primary-inverse);
|
|
299
303
|
--cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
|
|
304
|
+
max-width: 100%;
|
|
300
305
|
padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
|
|
301
306
|
border: var(--cirth-border-width) solid var(--cirth-border-color);
|
|
302
307
|
border-radius: var(--cirth-border-radius);
|
|
@@ -320,6 +325,7 @@
|
|
|
320
325
|
--cirth-border-color: var(--cirth-primary-border);
|
|
321
326
|
--cirth-color: var(--cirth-primary-inverse);
|
|
322
327
|
--cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
|
|
328
|
+
max-width: 100%;
|
|
323
329
|
padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
|
|
324
330
|
border: var(--cirth-border-width) solid var(--cirth-border-color);
|
|
325
331
|
border-radius: var(--cirth-border-radius);
|
|
@@ -1652,6 +1658,10 @@
|
|
|
1652
1658
|
text-align: center;
|
|
1653
1659
|
}
|
|
1654
1660
|
|
|
1661
|
+
.cirth :is(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[aria-busy="true"] {
|
|
1662
|
+
white-space: normal;
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1655
1665
|
.cirth input:is([type="submit"], [type="button"], [type="reset"])[aria-busy="true"] {
|
|
1656
1666
|
background-image: var(--cirth-icon-loading);
|
|
1657
1667
|
background-position: center left var(--cirth-form-element-spacing-horizontal);
|
|
@@ -1668,6 +1678,50 @@
|
|
|
1668
1678
|
pointer-events: none;
|
|
1669
1679
|
}
|
|
1670
1680
|
|
|
1681
|
+
.cirth meter {
|
|
1682
|
+
appearance: none;
|
|
1683
|
+
width: 100%;
|
|
1684
|
+
height: var(--cirth-size-2);
|
|
1685
|
+
margin-bottom: calc(var(--cirth-spacing) * .5);
|
|
1686
|
+
border: var(--cirth-border-width-1) solid var(--cirth-meter-border-color);
|
|
1687
|
+
border-radius: var(--cirth-border-radius);
|
|
1688
|
+
background: var(--cirth-meter-background-color);
|
|
1689
|
+
display: inline-block;
|
|
1690
|
+
overflow: hidden;
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1693
|
+
.cirth meter::-webkit-meter-bar {
|
|
1694
|
+
background: none;
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
.cirth meter::-webkit-meter-inner-element {
|
|
1698
|
+
display: flex;
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
.cirth meter::-webkit-meter-optimum-value {
|
|
1702
|
+
background: var(--cirth-meter-optimum-color);
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
.cirth meter::-webkit-meter-suboptimum-value {
|
|
1706
|
+
background: var(--cirth-meter-suboptimum-color);
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
.cirth meter::-webkit-meter-even-less-good-value {
|
|
1710
|
+
background: var(--cirth-meter-even-less-good-color);
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
.cirth meter::-moz-meter-bar {
|
|
1714
|
+
background: var(--cirth-meter-optimum-color);
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1717
|
+
.cirth meter:-moz-meter-sub-optimum::-moz-meter-bar {
|
|
1718
|
+
background: var(--cirth-meter-suboptimum-color);
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
.cirth meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
1722
|
+
background: var(--cirth-meter-even-less-good-color);
|
|
1723
|
+
}
|
|
1724
|
+
|
|
1671
1725
|
.cirth {
|
|
1672
1726
|
--cirth-scrollbar-width: 0px;
|
|
1673
1727
|
}
|
|
@@ -2314,6 +2368,8 @@
|
|
|
2314
2368
|
var(--cirth-primary-focus);
|
|
2315
2369
|
--cirth-group-box-shadow-focus-with-input: 0 0 0 var(--cirth-border-width-1)
|
|
2316
2370
|
var(--cirth-form-element-border-color);
|
|
2371
|
+
--cirth-meter-background-color: var(--cirth-progress-background-color);
|
|
2372
|
+
--cirth-meter-border-color: var(--cirth-progress-border-color);
|
|
2317
2373
|
--cirth-modal-overlay-backdrop-filter: blur(.375rem);
|
|
2318
2374
|
--cirth-nav-element-spacing-vertical: var(--cirth-space-4);
|
|
2319
2375
|
--cirth-nav-element-spacing-horizontal: var(--cirth-space-2);
|
|
@@ -2418,6 +2474,10 @@
|
|
|
2418
2474
|
--cirth-border-radius: var(--cirth-radius-pill);
|
|
2419
2475
|
}
|
|
2420
2476
|
|
|
2477
|
+
.cirth .group [type="search"] {
|
|
2478
|
+
--cirth-border-radius: inherit;
|
|
2479
|
+
}
|
|
2480
|
+
|
|
2421
2481
|
.cirth button, .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"], .cirth [role="button"] {
|
|
2422
2482
|
--cirth-font-weight: var(--cirth-font-weight-semibold);
|
|
2423
2483
|
--cirth-line-height: var(--cirth-line-height-relaxed);
|
|
@@ -2476,11 +2536,11 @@
|
|
|
2476
2536
|
filter: brightness(0) invert();
|
|
2477
2537
|
}
|
|
2478
2538
|
|
|
2479
|
-
.cirth[data-theme="light"], .cirth [data-theme="light"], .cirth:not([data-theme="dark"]) {
|
|
2539
|
+
.cirth:where([data-theme="light"]), .cirth :where([data-theme="light"]), .cirth:where(:not([data-theme="dark"])) {
|
|
2480
2540
|
--lightningcss-light: initial;
|
|
2481
2541
|
--lightningcss-dark: ;
|
|
2482
2542
|
color-scheme: light;
|
|
2483
|
-
--cirth-background-color: oklch(97.4% .
|
|
2543
|
+
--cirth-background-color: oklch(97.4% .004 69.35);
|
|
2484
2544
|
--cirth-color: oklch(35.3% .021 264);
|
|
2485
2545
|
--cirth-text-selection-color: oklch(65.7% .121 69.35 / .25);
|
|
2486
2546
|
--cirth-muted-color: oklch(52.7% .032 264);
|
|
@@ -2515,13 +2575,14 @@
|
|
|
2515
2575
|
--cirth-contrast-hover-underline: var(--cirth-secondary-hover);
|
|
2516
2576
|
--cirth-contrast-focus: oklch(48.3% .03 264 / .7);
|
|
2517
2577
|
--cirth-contrast-inverse: oklch(100% 0 0);
|
|
2578
|
+
--cirth-link-visited-color: oklch(48.3% .03 264);
|
|
2518
2579
|
--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);
|
|
2519
|
-
--cirth-h1-color: oklch(
|
|
2520
|
-
--cirth-h2-color: oklch(
|
|
2521
|
-
--cirth-h3-color: oklch(
|
|
2522
|
-
--cirth-h4-color: oklch(
|
|
2523
|
-
--cirth-h5-color: oklch(
|
|
2524
|
-
--cirth-h6-color: oklch(
|
|
2580
|
+
--cirth-h1-color: oklch(22.3% .006 264);
|
|
2581
|
+
--cirth-h2-color: oklch(26.7% .011 264);
|
|
2582
|
+
--cirth-h3-color: oklch(31% .016 264);
|
|
2583
|
+
--cirth-h4-color: oklch(35.3% .021 264);
|
|
2584
|
+
--cirth-h5-color: oklch(39.7% .025 264);
|
|
2585
|
+
--cirth-h6-color: oklch(44% .028 264);
|
|
2525
2586
|
--cirth-mark-background-color: oklch(93% .05 78);
|
|
2526
2587
|
--cirth-mark-color: oklch(18% 0 264);
|
|
2527
2588
|
--cirth-ins-color: oklch(35.3% .067 160.59);
|
|
@@ -2575,6 +2636,9 @@
|
|
|
2575
2636
|
--cirth-dropdown-hover-background-color: oklch(96% 0 264);
|
|
2576
2637
|
--cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
|
|
2577
2638
|
--cirth-modal-overlay-background-color: oklch(93.85% .003 264deg / var(--cirth-opacity-overlay));
|
|
2639
|
+
--cirth-meter-optimum-color: oklch(52.7% .1 160.59);
|
|
2640
|
+
--cirth-meter-suboptimum-color: oklch(48.3% .086 78);
|
|
2641
|
+
--cirth-meter-even-less-good-color: oklch(44% .151 29.73);
|
|
2578
2642
|
--cirth-progress-background-color: oklch(91.7% .006 264);
|
|
2579
2643
|
--cirth-progress-border-color: oklch(61.3% .032 264);
|
|
2580
2644
|
--cirth-progress-color: var(--cirth-primary-background);
|
|
@@ -2584,12 +2648,12 @@
|
|
|
2584
2648
|
--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");
|
|
2585
2649
|
}
|
|
2586
2650
|
|
|
2587
|
-
.cirth[data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth [data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth:not([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2651
|
+
.cirth:where([data-theme="light"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth :where([data-theme="light"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth:where(:not([data-theme="dark"])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2588
2652
|
--cirth-form-element-focus-color: var(--cirth-primary-focus);
|
|
2589
2653
|
}
|
|
2590
2654
|
|
|
2591
2655
|
@media only screen and (prefers-color-scheme: dark) {
|
|
2592
|
-
.cirth:not([data-theme]) {
|
|
2656
|
+
.cirth:where(:not([data-theme])) {
|
|
2593
2657
|
--lightningcss-light: ;
|
|
2594
2658
|
--lightningcss-dark: initial;
|
|
2595
2659
|
color-scheme: dark;
|
|
@@ -2628,6 +2692,7 @@
|
|
|
2628
2692
|
--cirth-contrast-hover-underline: var(--cirth-contrast-hover);
|
|
2629
2693
|
--cirth-contrast-focus: oklch(87.3% .011 264 / .5);
|
|
2630
2694
|
--cirth-contrast-inverse: oklch(0% 0 0);
|
|
2695
|
+
--cirth-link-visited-color: oklch(65.7% .03 264);
|
|
2631
2696
|
--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);
|
|
2632
2697
|
--cirth-h1-color: oklch(96% 0 264);
|
|
2633
2698
|
--cirth-h2-color: oklch(91.7% .006 264);
|
|
@@ -2688,6 +2753,9 @@
|
|
|
2688
2753
|
--cirth-dropdown-hover-background-color: oklch(26.7% .011 264);
|
|
2689
2754
|
--cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
|
|
2690
2755
|
--cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
|
|
2756
|
+
--cirth-meter-optimum-color: oklch(65.7% .125 160.59);
|
|
2757
|
+
--cirth-meter-suboptimum-color: oklch(70% .124 78);
|
|
2758
|
+
--cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
|
|
2691
2759
|
--cirth-progress-background-color: oklch(26.7% .011 264);
|
|
2692
2760
|
--cirth-progress-border-color: oklch(52.7% .032 264);
|
|
2693
2761
|
--cirth-progress-color: oklch(61.3% .113 69.35);
|
|
@@ -2697,16 +2765,16 @@
|
|
|
2697
2765
|
--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");
|
|
2698
2766
|
}
|
|
2699
2767
|
|
|
2700
|
-
.cirth:not([data-theme]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2768
|
+
.cirth:where(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2701
2769
|
--cirth-form-element-focus-color: var(--cirth-primary-focus);
|
|
2702
2770
|
}
|
|
2703
2771
|
|
|
2704
|
-
.cirth:not([data-theme]) details summary[role="button"].contrast:not(.outline):after, .cirth:not([data-theme]) [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
|
|
2772
|
+
.cirth:where(:not([data-theme])) details summary[role="button"].contrast:not(.outline):after, .cirth:where(:not([data-theme])) [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
|
|
2705
2773
|
filter: brightness(0);
|
|
2706
2774
|
}
|
|
2707
2775
|
}
|
|
2708
2776
|
|
|
2709
|
-
.cirth[data-theme="dark"], .cirth [data-theme="dark"] {
|
|
2777
|
+
.cirth:where([data-theme="dark"]), .cirth :where([data-theme="dark"]) {
|
|
2710
2778
|
--lightningcss-light: ;
|
|
2711
2779
|
--lightningcss-dark: initial;
|
|
2712
2780
|
color-scheme: dark;
|
|
@@ -2745,6 +2813,7 @@
|
|
|
2745
2813
|
--cirth-contrast-hover-underline: var(--cirth-contrast-hover);
|
|
2746
2814
|
--cirth-contrast-focus: oklch(87.3% .011 264 / .5);
|
|
2747
2815
|
--cirth-contrast-inverse: oklch(0% 0 0);
|
|
2816
|
+
--cirth-link-visited-color: oklch(65.7% .03 264);
|
|
2748
2817
|
--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);
|
|
2749
2818
|
--cirth-h1-color: oklch(96% 0 264);
|
|
2750
2819
|
--cirth-h2-color: oklch(91.7% .006 264);
|
|
@@ -2805,6 +2874,9 @@
|
|
|
2805
2874
|
--cirth-dropdown-hover-background-color: oklch(26.7% .011 264);
|
|
2806
2875
|
--cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
|
|
2807
2876
|
--cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
|
|
2877
|
+
--cirth-meter-optimum-color: oklch(65.7% .125 160.59);
|
|
2878
|
+
--cirth-meter-suboptimum-color: oklch(70% .124 78);
|
|
2879
|
+
--cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
|
|
2808
2880
|
--cirth-progress-background-color: oklch(26.7% .011 264);
|
|
2809
2881
|
--cirth-progress-border-color: oklch(52.7% .032 264);
|
|
2810
2882
|
--cirth-progress-color: oklch(61.3% .113 69.35);
|
|
@@ -2814,14 +2886,249 @@
|
|
|
2814
2886
|
--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");
|
|
2815
2887
|
}
|
|
2816
2888
|
|
|
2817
|
-
.cirth[data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth [data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2889
|
+
.cirth:where([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth :where([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2818
2890
|
--cirth-form-element-focus-color: var(--cirth-primary-focus);
|
|
2819
2891
|
}
|
|
2820
2892
|
|
|
2821
|
-
.cirth[data-theme="dark"] details summary[role="button"].contrast:not(.outline):after, .cirth [data-theme="dark"] details summary[role="button"].contrast:not(.outline):after, .cirth[data-theme="dark"] [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before, .cirth [data-theme="dark"] [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
|
|
2893
|
+
.cirth:where([data-theme="dark"]) details summary[role="button"].contrast:not(.outline):after, .cirth :where([data-theme="dark"]) details summary[role="button"].contrast:not(.outline):after, .cirth:where([data-theme="dark"]) [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before, .cirth :where([data-theme="dark"]) [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
|
|
2822
2894
|
filter: brightness(0);
|
|
2823
2895
|
}
|
|
2824
2896
|
|
|
2825
2897
|
.cirth progress, .cirth [type="checkbox"], .cirth [type="radio"], .cirth [type="range"] {
|
|
2826
2898
|
accent-color: var(--cirth-primary);
|
|
2827
2899
|
}
|
|
2900
|
+
|
|
2901
|
+
@media (prefers-contrast: more) {
|
|
2902
|
+
.cirth:where([data-theme="light"]), .cirth :where([data-theme="light"]), .cirth:where(:not([data-theme="dark"])) {
|
|
2903
|
+
--cirth-color: oklch(22.3% .006 264);
|
|
2904
|
+
--cirth-h1-color: var(--cirth-color);
|
|
2905
|
+
--cirth-h2-color: var(--cirth-color);
|
|
2906
|
+
--cirth-h3-color: var(--cirth-color);
|
|
2907
|
+
--cirth-h4-color: var(--cirth-color);
|
|
2908
|
+
--cirth-h5-color: var(--cirth-color);
|
|
2909
|
+
--cirth-h6-color: var(--cirth-color);
|
|
2910
|
+
--cirth-muted-color: oklch(39.7% .025 264);
|
|
2911
|
+
--cirth-secondary: oklch(39.7% .025 264);
|
|
2912
|
+
--cirth-code-color: oklch(35.3% .021 264);
|
|
2913
|
+
--cirth-link-visited-color: oklch(35.3% .021 264);
|
|
2914
|
+
--cirth-muted-border-color: oklch(57% .032 264);
|
|
2915
|
+
--cirth-form-element-border-color: oklch(39.7% .025 264);
|
|
2916
|
+
--cirth-form-element-invalid-border-color: oklch(48.3% .166 29.73);
|
|
2917
|
+
--cirth-form-element-valid-border-color: oklch(48.3% .092 160.59);
|
|
2918
|
+
--cirth-primary: oklch(39.7% .073 69.35);
|
|
2919
|
+
--cirth-primary-hover: oklch(31% .057 69.35);
|
|
2920
|
+
--cirth-primary-underline: var(--cirth-primary);
|
|
2921
|
+
--cirth-secondary-underline: var(--cirth-secondary);
|
|
2922
|
+
--cirth-contrast-underline: var(--cirth-contrast);
|
|
2923
|
+
--cirth-primary-focus: oklch(48.3% .089 69.35);
|
|
2924
|
+
--cirth-secondary-focus: oklch(48.3% .03 264);
|
|
2925
|
+
--cirth-contrast-focus: oklch(48.3% .03 264);
|
|
2926
|
+
--cirth-switch-background-color: oklch(48.3% .03 264);
|
|
2927
|
+
--cirth-progress-border-color: oklch(48.3% .03 264);
|
|
2928
|
+
--cirth-meter-optimum-color: oklch(44% .084 160.59);
|
|
2929
|
+
--cirth-meter-suboptimum-color: oklch(39.7% .07 78);
|
|
2930
|
+
--cirth-meter-even-less-good-color: oklch(35.3% .122 29.73);
|
|
2931
|
+
--cirth-dropdown-border-color: var(--cirth-muted-border-color);
|
|
2932
|
+
}
|
|
2933
|
+
}
|
|
2934
|
+
|
|
2935
|
+
@media only screen and (prefers-contrast: more) and (prefers-color-scheme: dark) {
|
|
2936
|
+
.cirth:where(:not([data-theme])) {
|
|
2937
|
+
--cirth-color: oklch(96% 0 264);
|
|
2938
|
+
--cirth-h1-color: var(--cirth-color);
|
|
2939
|
+
--cirth-h2-color: var(--cirth-color);
|
|
2940
|
+
--cirth-h3-color: var(--cirth-color);
|
|
2941
|
+
--cirth-h4-color: var(--cirth-color);
|
|
2942
|
+
--cirth-h5-color: var(--cirth-color);
|
|
2943
|
+
--cirth-h6-color: var(--cirth-color);
|
|
2944
|
+
--cirth-muted-color: oklch(78.7% .021 264);
|
|
2945
|
+
--cirth-secondary: oklch(78.7% .021 264);
|
|
2946
|
+
--cirth-code-color: oklch(83% .016 264);
|
|
2947
|
+
--cirth-link-visited-color: oklch(78.7% .021 264);
|
|
2948
|
+
--cirth-muted-border-color: oklch(57% .032 264);
|
|
2949
|
+
--cirth-card-border-color: var(--cirth-muted-border-color);
|
|
2950
|
+
--cirth-form-element-border-color: oklch(70% .028 264);
|
|
2951
|
+
--cirth-form-element-invalid-border-color: oklch(78.7% .106 29.73);
|
|
2952
|
+
--cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
|
|
2953
|
+
--cirth-primary: oklch(78.7% .146 69.35);
|
|
2954
|
+
--cirth-primary-hover: oklch(87.3% .082 69.35);
|
|
2955
|
+
--cirth-primary-underline: var(--cirth-primary);
|
|
2956
|
+
--cirth-secondary-underline: var(--cirth-secondary);
|
|
2957
|
+
--cirth-contrast-underline: var(--cirth-contrast);
|
|
2958
|
+
--cirth-primary-focus: oklch(70% .129 69.35);
|
|
2959
|
+
--cirth-secondary-focus: oklch(70% .028 264);
|
|
2960
|
+
--cirth-contrast-focus: oklch(87.3% .011 264);
|
|
2961
|
+
--cirth-switch-background-color: oklch(65.7% .03 264);
|
|
2962
|
+
--cirth-progress-border-color: oklch(70% .028 264);
|
|
2963
|
+
--cirth-meter-optimum-color: oklch(74.3% .142 160.59);
|
|
2964
|
+
--cirth-meter-suboptimum-color: oklch(78.7% .139 78);
|
|
2965
|
+
--cirth-meter-even-less-good-color: oklch(83% .081 29.73);
|
|
2966
|
+
--cirth-dropdown-border-color: var(--cirth-muted-border-color);
|
|
2967
|
+
}
|
|
2968
|
+
}
|
|
2969
|
+
|
|
2970
|
+
@media (prefers-contrast: more) {
|
|
2971
|
+
.cirth:where([data-theme="dark"]), .cirth :where([data-theme="dark"]) {
|
|
2972
|
+
--cirth-color: oklch(96% 0 264);
|
|
2973
|
+
--cirth-h1-color: var(--cirth-color);
|
|
2974
|
+
--cirth-h2-color: var(--cirth-color);
|
|
2975
|
+
--cirth-h3-color: var(--cirth-color);
|
|
2976
|
+
--cirth-h4-color: var(--cirth-color);
|
|
2977
|
+
--cirth-h5-color: var(--cirth-color);
|
|
2978
|
+
--cirth-h6-color: var(--cirth-color);
|
|
2979
|
+
--cirth-muted-color: oklch(78.7% .021 264);
|
|
2980
|
+
--cirth-secondary: oklch(78.7% .021 264);
|
|
2981
|
+
--cirth-code-color: oklch(83% .016 264);
|
|
2982
|
+
--cirth-link-visited-color: oklch(78.7% .021 264);
|
|
2983
|
+
--cirth-muted-border-color: oklch(57% .032 264);
|
|
2984
|
+
--cirth-card-border-color: var(--cirth-muted-border-color);
|
|
2985
|
+
--cirth-form-element-border-color: oklch(70% .028 264);
|
|
2986
|
+
--cirth-form-element-invalid-border-color: oklch(78.7% .106 29.73);
|
|
2987
|
+
--cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
|
|
2988
|
+
--cirth-primary: oklch(78.7% .146 69.35);
|
|
2989
|
+
--cirth-primary-hover: oklch(87.3% .082 69.35);
|
|
2990
|
+
--cirth-primary-underline: var(--cirth-primary);
|
|
2991
|
+
--cirth-secondary-underline: var(--cirth-secondary);
|
|
2992
|
+
--cirth-contrast-underline: var(--cirth-contrast);
|
|
2993
|
+
--cirth-primary-focus: oklch(70% .129 69.35);
|
|
2994
|
+
--cirth-secondary-focus: oklch(70% .028 264);
|
|
2995
|
+
--cirth-contrast-focus: oklch(87.3% .011 264);
|
|
2996
|
+
--cirth-switch-background-color: oklch(65.7% .03 264);
|
|
2997
|
+
--cirth-progress-border-color: oklch(70% .028 264);
|
|
2998
|
+
--cirth-meter-optimum-color: oklch(74.3% .142 160.59);
|
|
2999
|
+
--cirth-meter-suboptimum-color: oklch(78.7% .139 78);
|
|
3000
|
+
--cirth-meter-even-less-good-color: oklch(83% .081 29.73);
|
|
3001
|
+
--cirth-dropdown-border-color: var(--cirth-muted-border-color);
|
|
3002
|
+
}
|
|
3003
|
+
}
|
|
3004
|
+
|
|
3005
|
+
@media print {
|
|
3006
|
+
.cirth {
|
|
3007
|
+
--cirth-print-color: oklch(0% 0 0);
|
|
3008
|
+
--cirth-print-muted-color: oklch(48.3% .03 264);
|
|
3009
|
+
--cirth-print-border-color: oklch(61.3% .032 264);
|
|
3010
|
+
color: var(--cirth-print-color);
|
|
3011
|
+
--lightningcss-light: initial;
|
|
3012
|
+
--lightningcss-dark: ;
|
|
3013
|
+
--lightningcss-light: initial;
|
|
3014
|
+
--lightningcss-dark: ;
|
|
3015
|
+
color-scheme: light;
|
|
3016
|
+
--cirth-color: var(--cirth-print-color);
|
|
3017
|
+
--cirth-h1-color: var(--cirth-print-color);
|
|
3018
|
+
--cirth-h2-color: var(--cirth-print-color);
|
|
3019
|
+
--cirth-h3-color: var(--cirth-print-color);
|
|
3020
|
+
--cirth-h4-color: var(--cirth-print-color);
|
|
3021
|
+
--cirth-h5-color: var(--cirth-print-color);
|
|
3022
|
+
--cirth-h6-color: var(--cirth-print-color);
|
|
3023
|
+
--cirth-code-color: var(--cirth-print-color);
|
|
3024
|
+
--cirth-code-kbd-color: var(--cirth-print-color);
|
|
3025
|
+
--cirth-form-element-color: var(--cirth-print-color);
|
|
3026
|
+
--cirth-muted-color: var(--cirth-print-muted-color);
|
|
3027
|
+
--cirth-form-element-placeholder-color: var(--cirth-print-muted-color);
|
|
3028
|
+
--cirth-primary: var(--cirth-print-color);
|
|
3029
|
+
--cirth-primary-hover: var(--cirth-print-color);
|
|
3030
|
+
--cirth-primary-underline: var(--cirth-print-color);
|
|
3031
|
+
--cirth-secondary: var(--cirth-print-color);
|
|
3032
|
+
--cirth-secondary-underline: var(--cirth-print-color);
|
|
3033
|
+
--cirth-contrast: var(--cirth-print-color);
|
|
3034
|
+
--cirth-contrast-underline: var(--cirth-print-color);
|
|
3035
|
+
--cirth-link-visited-color: var(--cirth-print-color);
|
|
3036
|
+
--cirth-muted-border-color: var(--cirth-print-border-color);
|
|
3037
|
+
--cirth-form-element-border-color: var(--cirth-print-border-color);
|
|
3038
|
+
--cirth-box-shadow: none;
|
|
3039
|
+
--cirth-card-box-shadow: none;
|
|
3040
|
+
--cirth-card-background-color: transparent;
|
|
3041
|
+
--cirth-card-sectioning-background-color: transparent;
|
|
3042
|
+
--cirth-code-background-color: transparent;
|
|
3043
|
+
--cirth-code-kbd-background-color: transparent;
|
|
3044
|
+
--cirth-form-element-background-color: transparent;
|
|
3045
|
+
--cirth-form-element-active-background-color: transparent;
|
|
3046
|
+
--cirth-table-row-stripped-background-color: transparent;
|
|
3047
|
+
--cirth-modal-overlay-background-color: transparent;
|
|
3048
|
+
--cirth-dropdown-background-color: transparent;
|
|
3049
|
+
--cirth-dropdown-box-shadow: none;
|
|
3050
|
+
--cirth-ins-color: oklch(35.3% .067 160.59);
|
|
3051
|
+
--cirth-del-color: oklch(35.3% .122 29.73);
|
|
3052
|
+
--cirth-meter-optimum-color: oklch(52.7% .1 160.59);
|
|
3053
|
+
--cirth-meter-suboptimum-color: oklch(48.3% .086 78);
|
|
3054
|
+
--cirth-meter-even-less-good-color: oklch(44% .151 29.73);
|
|
3055
|
+
background: none;
|
|
3056
|
+
}
|
|
3057
|
+
|
|
3058
|
+
.cirth kbd {
|
|
3059
|
+
border: var(--cirth-border-width) solid var(--cirth-print-border-color);
|
|
3060
|
+
}
|
|
3061
|
+
|
|
3062
|
+
.cirth :is(button, [type="submit"], [type="reset"], [type="button"], [role="button"]) {
|
|
3063
|
+
border-color: var(--cirth-print-border-color);
|
|
3064
|
+
box-shadow: none;
|
|
3065
|
+
color: var(--cirth-print-color);
|
|
3066
|
+
background: none;
|
|
3067
|
+
}
|
|
3068
|
+
|
|
3069
|
+
.cirth [type="file"]::file-selector-button {
|
|
3070
|
+
border-color: var(--cirth-print-border-color);
|
|
3071
|
+
box-shadow: none;
|
|
3072
|
+
color: var(--cirth-print-color);
|
|
3073
|
+
background: none;
|
|
3074
|
+
}
|
|
3075
|
+
|
|
3076
|
+
.cirth :is(mark, meter, progress, [type="checkbox"], [type="radio"]) {
|
|
3077
|
+
-webkit-print-color-adjust: exact;
|
|
3078
|
+
print-color-adjust: exact;
|
|
3079
|
+
}
|
|
3080
|
+
|
|
3081
|
+
.cirth a[href^="http"]:not([role="button"], nav a):after {
|
|
3082
|
+
content: " (" attr(href) ")";
|
|
3083
|
+
color: var(--cirth-print-muted-color);
|
|
3084
|
+
font-size: var(--cirth-font-size-sm);
|
|
3085
|
+
word-break: break-all;
|
|
3086
|
+
}
|
|
3087
|
+
|
|
3088
|
+
.cirth thead {
|
|
3089
|
+
display: table-header-group;
|
|
3090
|
+
}
|
|
3091
|
+
|
|
3092
|
+
.cirth tfoot {
|
|
3093
|
+
display: table-footer-group;
|
|
3094
|
+
}
|
|
3095
|
+
|
|
3096
|
+
.cirth tr {
|
|
3097
|
+
break-inside: avoid;
|
|
3098
|
+
}
|
|
3099
|
+
|
|
3100
|
+
.cirth pre {
|
|
3101
|
+
white-space: pre-wrap;
|
|
3102
|
+
overflow: visible;
|
|
3103
|
+
}
|
|
3104
|
+
|
|
3105
|
+
.cirth .overflow-auto {
|
|
3106
|
+
overflow: visible;
|
|
3107
|
+
}
|
|
3108
|
+
|
|
3109
|
+
.cirth dialog {
|
|
3110
|
+
-webkit-backdrop-filter: none;
|
|
3111
|
+
backdrop-filter: none;
|
|
3112
|
+
min-width: 0;
|
|
3113
|
+
min-height: 0;
|
|
3114
|
+
position: static;
|
|
3115
|
+
}
|
|
3116
|
+
|
|
3117
|
+
.cirth dialog > article {
|
|
3118
|
+
max-height: none;
|
|
3119
|
+
overflow: visible;
|
|
3120
|
+
}
|
|
3121
|
+
|
|
3122
|
+
.cirth :is(h1, h2, h3, h4, h5, h6) {
|
|
3123
|
+
break-after: avoid;
|
|
3124
|
+
}
|
|
3125
|
+
|
|
3126
|
+
.cirth :is(figure, img) {
|
|
3127
|
+
break-inside: avoid;
|
|
3128
|
+
}
|
|
3129
|
+
|
|
3130
|
+
.cirth :is(blockquote, li, p) {
|
|
3131
|
+
orphans: 3;
|
|
3132
|
+
widows: 3;
|
|
3133
|
+
}
|
|
3134
|
+
}
|