@cherrystudio/file-preview 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Combination-i8Z9CJHc.js → Combination-DJvKCNHX.js} +2 -2
- package/dist/{FilePreviewTooLarge-DC7vPyMI.js → FilePreviewTooLarge-Dy7vW_Ws.js} +1 -1
- package/dist/{FilePreviewToolbarButton-ptqwCTnz.js → FilePreviewToolbarButton-B3fnHUsU.js} +25 -4
- package/dist/{ImageFilePreview-C_P1iIEi.js → ImageFilePreview-Dw1xQ7YI.js} +6 -6
- package/dist/{PdfFilePreview-CbrMcPzo.js → PdfFilePreview-z7OIP8EH.js} +26 -11
- package/dist/{PowerPointFilePreview-9E6kUy_A.js → PowerPointFilePreview-B5Mbg-MX.js} +6 -6
- package/dist/{RtfFilePreview-Bgl6lmWy.js → RtfFilePreview-CcrhWuBX.js} +3 -3
- package/dist/{SpreadsheetFilePreview-PWFG3UY3.js → SpreadsheetFilePreview-DJxlzv9k.js} +5 -5
- package/dist/{WordFilePreview-Do062CDe.js → WordFilePreview-CQbS4yZX.js} +6 -6
- package/dist/{circle-alert-sByhBDN4.js → circle-alert-CYVQ2eOz.js} +1 -1
- package/dist/{imageFilePreviewPlugin-D6hV1Hm1.js → imageFilePreviewPlugin-C9F4L9mo.js} +1 -1
- package/dist/react.js +8 -8
- package/dist/{rotate-ccw-Bx-jjhVm.js → rotate-ccw-CA3ussD_.js} +1 -1
- package/dist/styles.css +157 -52
- package/dist/useTranslation-BKohPZAm.js +5332 -0
- package/dist/{zoom-out-B2XJ64Kx.js → zoom-out-BXB6HBfC.js} +1 -1
- package/package.json +1 -1
- package/dist/useTranslation-BJY4EKsz.js +0 -3631
package/dist/styles.css
CHANGED
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
--fp-tw-ring-offset-color: #fff;
|
|
39
39
|
--fp-tw-ring-offset-shadow: 0 0 #0000;
|
|
40
40
|
--fp-tw-outline-style: solid;
|
|
41
|
+
--fp-tw-duration: initial;
|
|
41
42
|
--fp-tw-content: "";
|
|
42
43
|
--fp-tw-ease: initial;
|
|
43
|
-
--fp-tw-duration: initial;
|
|
44
44
|
--fp-tw-animation-delay: 0s;
|
|
45
45
|
--fp-tw-animation-direction: normal;
|
|
46
46
|
--fp-tw-animation-duration: initial;
|
|
@@ -392,6 +392,10 @@
|
|
|
392
392
|
display: none;
|
|
393
393
|
}
|
|
394
394
|
|
|
395
|
+
:where(.file-preview-root):is(.hidden\!), :where(.file-preview-root) .hidden\! {
|
|
396
|
+
display: none !important;
|
|
397
|
+
}
|
|
398
|
+
|
|
395
399
|
:where(.file-preview-root):is(.inline), :where(.file-preview-root) .inline {
|
|
396
400
|
display: inline;
|
|
397
401
|
}
|
|
@@ -457,6 +461,10 @@
|
|
|
457
461
|
height: var(--file-preview-toolbar-button-size, 1.75rem);
|
|
458
462
|
}
|
|
459
463
|
|
|
464
|
+
:where(.file-preview-root):is(.h-3), :where(.file-preview-root) .h-3 {
|
|
465
|
+
height: calc(var(--spacing) * 3);
|
|
466
|
+
}
|
|
467
|
+
|
|
460
468
|
:where(.file-preview-root):is(.h-4), :where(.file-preview-root) .h-4 {
|
|
461
469
|
height: calc(var(--spacing) * 4);
|
|
462
470
|
}
|
|
@@ -541,6 +549,10 @@
|
|
|
541
549
|
min-height: 100%;
|
|
542
550
|
}
|
|
543
551
|
|
|
552
|
+
:where(.file-preview-root):is(.w-3), :where(.file-preview-root) .w-3 {
|
|
553
|
+
width: calc(var(--spacing) * 3);
|
|
554
|
+
}
|
|
555
|
+
|
|
544
556
|
:where(.file-preview-root):is(.w-10), :where(.file-preview-root) .w-10 {
|
|
545
557
|
width: calc(var(--spacing) * 10);
|
|
546
558
|
}
|
|
@@ -734,16 +746,16 @@
|
|
|
734
746
|
resize: both;
|
|
735
747
|
}
|
|
736
748
|
|
|
737
|
-
:where(.file-preview-root):is(.\[scrollbar-
|
|
738
|
-
scrollbar-
|
|
749
|
+
:where(.file-preview-root):is(.\[scrollbar-gutter\:auto\]\!), :where(.file-preview-root) .\[scrollbar-gutter\:auto\]\! {
|
|
750
|
+
scrollbar-gutter: auto !important;
|
|
739
751
|
}
|
|
740
752
|
|
|
741
|
-
:where(.file-preview-root):is(
|
|
742
|
-
|
|
753
|
+
:where(.file-preview-root):is(.grid-cols-\[minmax\(0\,1fr\)\]), :where(.file-preview-root) .grid-cols-\[minmax\(0\,1fr\)\] {
|
|
754
|
+
grid-template-columns: minmax(0, 1fr);
|
|
743
755
|
}
|
|
744
756
|
|
|
745
|
-
:where(.file-preview-root):is(
|
|
746
|
-
|
|
757
|
+
:where(.file-preview-root):is(.grid-rows-\[minmax\(0\,1fr\)\]), :where(.file-preview-root) .grid-rows-\[minmax\(0\,1fr\)\] {
|
|
758
|
+
grid-template-rows: minmax(0, 1fr);
|
|
747
759
|
}
|
|
748
760
|
|
|
749
761
|
:where(.file-preview-root):is(.flex-col), :where(.file-preview-root) .flex-col {
|
|
@@ -872,6 +884,16 @@
|
|
|
872
884
|
border-width: 0;
|
|
873
885
|
}
|
|
874
886
|
|
|
887
|
+
:where(.file-preview-root):is(.border-x-\[3px\]), :where(.file-preview-root) .border-x-\[3px\] {
|
|
888
|
+
border-inline-style: var(--fp-tw-border-style);
|
|
889
|
+
border-inline-width: 3px;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
:where(.file-preview-root):is(.border-y-\[3px\]), :where(.file-preview-root) .border-y-\[3px\] {
|
|
893
|
+
border-block-style: var(--fp-tw-border-style);
|
|
894
|
+
border-block-width: 3px;
|
|
895
|
+
}
|
|
896
|
+
|
|
875
897
|
:where(.file-preview-root):is(.border-t), :where(.file-preview-root) .border-t {
|
|
876
898
|
border-top-style: var(--fp-tw-border-style);
|
|
877
899
|
border-top-width: 1px;
|
|
@@ -907,6 +929,11 @@
|
|
|
907
929
|
border-style: dashed;
|
|
908
930
|
}
|
|
909
931
|
|
|
932
|
+
:where(.file-preview-root):is(.border-solid), :where(.file-preview-root) .border-solid {
|
|
933
|
+
--fp-tw-border-style: solid;
|
|
934
|
+
border-style: solid;
|
|
935
|
+
}
|
|
936
|
+
|
|
910
937
|
:where(.file-preview-root):is(.border-border), :where(.file-preview-root) .border-border {
|
|
911
938
|
border-color: var(--border);
|
|
912
939
|
}
|
|
@@ -923,6 +950,16 @@
|
|
|
923
950
|
border-color: #0000;
|
|
924
951
|
}
|
|
925
952
|
|
|
953
|
+
:where(.file-preview-root):is(.bg-\[var\(--scrollbar-thumb\,color-mix\(in_srgb\,var\(--foreground\)_15\%\,transparent\)\)\]), :where(.file-preview-root) .bg-\[var\(--scrollbar-thumb\,color-mix\(in_srgb\,var\(--foreground\)_15\%\,transparent\)\)\] {
|
|
954
|
+
background-color: var(--scrollbar-thumb, var(--foreground));
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
958
|
+
:where(.file-preview-root):is(.bg-\[var\(--scrollbar-thumb\,color-mix\(in_srgb\,var\(--foreground\)_15\%\,transparent\)\)\]), :where(.file-preview-root) .bg-\[var\(--scrollbar-thumb\,color-mix\(in_srgb\,var\(--foreground\)_15\%\,transparent\)\)\] {
|
|
959
|
+
background-color: var(--scrollbar-thumb, color-mix(in srgb,var(--foreground) 15%,transparent));
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
|
|
926
963
|
:where(.file-preview-root):is(.bg-background), :where(.file-preview-root) .bg-background {
|
|
927
964
|
background-color: var(--background);
|
|
928
965
|
}
|
|
@@ -1015,6 +1052,10 @@
|
|
|
1015
1052
|
background-color: var(--cs-white);
|
|
1016
1053
|
}
|
|
1017
1054
|
|
|
1055
|
+
:where(.file-preview-root):is(.bg-clip-padding), :where(.file-preview-root) .bg-clip-padding {
|
|
1056
|
+
background-clip: padding-box;
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1018
1059
|
:where(.file-preview-root):is(.fill-current), :where(.file-preview-root) .fill-current {
|
|
1019
1060
|
fill: currentColor;
|
|
1020
1061
|
}
|
|
@@ -1055,6 +1096,10 @@
|
|
|
1055
1096
|
padding: 3px;
|
|
1056
1097
|
}
|
|
1057
1098
|
|
|
1099
|
+
:where(.file-preview-root):is(.px-0\.5), :where(.file-preview-root) .px-0\.5 {
|
|
1100
|
+
padding-inline: calc(var(--spacing) * .5);
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1058
1103
|
:where(.file-preview-root):is(.px-1), :where(.file-preview-root) .px-1 {
|
|
1059
1104
|
padding-inline: var(--spacing);
|
|
1060
1105
|
}
|
|
@@ -1079,6 +1124,10 @@
|
|
|
1079
1124
|
padding-inline: calc(var(--spacing) * 6);
|
|
1080
1125
|
}
|
|
1081
1126
|
|
|
1127
|
+
:where(.file-preview-root):is(.py-0\.5), :where(.file-preview-root) .py-0\.5 {
|
|
1128
|
+
padding-block: calc(var(--spacing) * .5);
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1082
1131
|
:where(.file-preview-root):is(.py-1), :where(.file-preview-root) .py-1 {
|
|
1083
1132
|
padding-block: var(--spacing);
|
|
1084
1133
|
}
|
|
@@ -1103,6 +1152,10 @@
|
|
|
1103
1152
|
padding-top: calc(var(--spacing) * 14);
|
|
1104
1153
|
}
|
|
1105
1154
|
|
|
1155
|
+
:where(.file-preview-root):is(.pr-0\.5), :where(.file-preview-root) .pr-0\.5 {
|
|
1156
|
+
padding-right: calc(var(--spacing) * .5);
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1106
1159
|
:where(.file-preview-root):is(.pr-2), :where(.file-preview-root) .pr-2 {
|
|
1107
1160
|
padding-right: calc(var(--spacing) * 2);
|
|
1108
1161
|
}
|
|
@@ -1111,6 +1164,10 @@
|
|
|
1111
1164
|
padding-bottom: 0;
|
|
1112
1165
|
}
|
|
1113
1166
|
|
|
1167
|
+
:where(.file-preview-root):is(.pb-0\.5), :where(.file-preview-root) .pb-0\.5 {
|
|
1168
|
+
padding-bottom: calc(var(--spacing) * .5);
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1114
1171
|
:where(.file-preview-root):is(.pb-20), :where(.file-preview-root) .pb-20 {
|
|
1115
1172
|
padding-bottom: calc(var(--spacing) * 20);
|
|
1116
1173
|
}
|
|
@@ -1349,6 +1406,12 @@
|
|
|
1349
1406
|
}
|
|
1350
1407
|
}
|
|
1351
1408
|
|
|
1409
|
+
:where(.file-preview-root):is(.transition-\[border-width\,background-color\]), :where(.file-preview-root) .transition-\[border-width\,background-color\] {
|
|
1410
|
+
transition-property: border-width, background-color;
|
|
1411
|
+
transition-timing-function: var(--fp-tw-ease, var(--default-transition-timing-function));
|
|
1412
|
+
transition-duration: var(--fp-tw-duration, var(--default-transition-duration));
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1352
1415
|
:where(.file-preview-root):is(.transition-\[color\,box-shadow\]), :where(.file-preview-root) .transition-\[color\,box-shadow\] {
|
|
1353
1416
|
transition-property: color, box-shadow;
|
|
1354
1417
|
transition-timing-function: var(--fp-tw-ease, var(--default-transition-timing-function));
|
|
@@ -1371,6 +1434,16 @@
|
|
|
1371
1434
|
transition-property: none;
|
|
1372
1435
|
}
|
|
1373
1436
|
|
|
1437
|
+
:where(.file-preview-root):is(.duration-150), :where(.file-preview-root) .duration-150 {
|
|
1438
|
+
--fp-tw-duration: .15s;
|
|
1439
|
+
transition-duration: .15s;
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
:where(.file-preview-root):is(.duration-200), :where(.file-preview-root) .duration-200 {
|
|
1443
|
+
--fp-tw-duration: .2s;
|
|
1444
|
+
transition-duration: .2s;
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1374
1447
|
:where(.file-preview-root):is(.fill-mode-both), :where(.file-preview-root) .fill-mode-both {
|
|
1375
1448
|
--fp-tw-animation-fill-mode: both;
|
|
1376
1449
|
animation-fill-mode: both;
|
|
@@ -1403,6 +1476,28 @@
|
|
|
1403
1476
|
animation-play-state: running;
|
|
1404
1477
|
}
|
|
1405
1478
|
|
|
1479
|
+
@media (hover: hover) {
|
|
1480
|
+
:where(.file-preview-root):is(.group-hover\/scrollbar\:border-x-0:is(:where(.group\/scrollbar):hover *)), :where(.file-preview-root) .group-hover\/scrollbar\:border-x-0:is(:where(.group\/scrollbar):hover *) {
|
|
1481
|
+
border-inline-style: var(--fp-tw-border-style);
|
|
1482
|
+
border-inline-width: 0;
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
:where(.file-preview-root):is(.group-hover\/scrollbar\:border-y-0:is(:where(.group\/scrollbar):hover *)), :where(.file-preview-root) .group-hover\/scrollbar\:border-y-0:is(:where(.group\/scrollbar):hover *) {
|
|
1486
|
+
border-block-style: var(--fp-tw-border-style);
|
|
1487
|
+
border-block-width: 0;
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
:where(.file-preview-root):is(.group-hover\/scrollbar\:bg-\[var\(--scrollbar-thumb-hover\,color-mix\(in_srgb\,var\(--foreground\)_20\%\,transparent\)\)\]:is(:where(.group\/scrollbar):hover *)), :where(.file-preview-root) .group-hover\/scrollbar\:bg-\[var\(--scrollbar-thumb-hover\,color-mix\(in_srgb\,var\(--foreground\)_20\%\,transparent\)\)\]:is(:where(.group\/scrollbar):hover *) {
|
|
1491
|
+
background-color: var(--scrollbar-thumb-hover, var(--foreground));
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1494
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1495
|
+
:where(.file-preview-root):is(.group-hover\/scrollbar\:bg-\[var\(--scrollbar-thumb-hover\,color-mix\(in_srgb\,var\(--foreground\)_20\%\,transparent\)\)\]:is(:where(.group\/scrollbar):hover *)), :where(.file-preview-root) .group-hover\/scrollbar\:bg-\[var\(--scrollbar-thumb-hover\,color-mix\(in_srgb\,var\(--foreground\)_20\%\,transparent\)\)\]:is(:where(.group\/scrollbar):hover *) {
|
|
1496
|
+
background-color: var(--scrollbar-thumb-hover, color-mix(in srgb,var(--foreground) 20%,transparent));
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1406
1501
|
:where(.file-preview-root):is(.selection\:bg-primary ::selection), :where(.file-preview-root) .selection\:bg-primary ::selection {
|
|
1407
1502
|
background-color: var(--primary);
|
|
1408
1503
|
}
|
|
@@ -1536,10 +1631,6 @@
|
|
|
1536
1631
|
}
|
|
1537
1632
|
|
|
1538
1633
|
@media (hover: hover) {
|
|
1539
|
-
:where(.file-preview-root):is(.hover\:\[scrollbar-color\:var\(--scrollbar-thumb-hover\)_transparent\]:hover), :where(.file-preview-root) .hover\:\[scrollbar-color\:var\(--scrollbar-thumb-hover\)_transparent\]:hover {
|
|
1540
|
-
scrollbar-color: var(--scrollbar-thumb-hover) transparent;
|
|
1541
|
-
}
|
|
1542
|
-
|
|
1543
1634
|
:where(.file-preview-root):is(.hover\:bg-accent:hover), :where(.file-preview-root) .hover\:bg-accent:hover {
|
|
1544
1635
|
background-color: var(--accent);
|
|
1545
1636
|
}
|
|
@@ -1756,10 +1847,6 @@
|
|
|
1756
1847
|
opacity: .4;
|
|
1757
1848
|
}
|
|
1758
1849
|
|
|
1759
|
-
:where(.file-preview-root):is(.data-\[scrolling\=true\]\:\[scrollbar-color\:var\(--scrollbar-thumb\)_transparent\][data-scrolling="true"]), :where(.file-preview-root) .data-\[scrolling\=true\]\:\[scrollbar-color\:var\(--scrollbar-thumb\)_transparent\][data-scrolling="true"] {
|
|
1760
|
-
scrollbar-color: var(--scrollbar-thumb) transparent;
|
|
1761
|
-
}
|
|
1762
|
-
|
|
1763
1850
|
:where(.file-preview-root):is(.data-\[side\=bottom\]\:slide-in-from-top-2[data-side="bottom"]), :where(.file-preview-root) .data-\[side\=bottom\]\:slide-in-from-top-2[data-side="bottom"] {
|
|
1764
1851
|
--fp-tw-enter-translate-y: calc(2*var(--spacing)*-1);
|
|
1765
1852
|
}
|
|
@@ -1862,8 +1949,12 @@
|
|
|
1862
1949
|
--fp-tw-exit-translate-y: calc(4*var(--spacing));
|
|
1863
1950
|
}
|
|
1864
1951
|
|
|
1865
|
-
:where(.file-preview-root):is(.data-\[state\=
|
|
1866
|
-
--fp-tw-
|
|
1952
|
+
:where(.file-preview-root):is(.data-\[state\=hidden\]\:animate-out[data-state="hidden"]), :where(.file-preview-root) .data-\[state\=hidden\]\:animate-out[data-state="hidden"] {
|
|
1953
|
+
animation: fp-exit var(--fp-tw-animation-duration, var(--fp-tw-duration, .15s))var(--fp-tw-ease, ease)var(--fp-tw-animation-delay, 0s)var(--fp-tw-animation-iteration-count, 1)var(--fp-tw-animation-direction, normal)var(--fp-tw-animation-fill-mode, none);
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1956
|
+
:where(.file-preview-root):is(.data-\[state\=hidden\]\:fade-out-0[data-state="hidden"]), :where(.file-preview-root) .data-\[state\=hidden\]\:fade-out-0[data-state="hidden"] {
|
|
1957
|
+
--fp-tw-exit-opacity: 0;
|
|
1867
1958
|
}
|
|
1868
1959
|
|
|
1869
1960
|
:where(.file-preview-root):is(.data-\[state\=open\]\:animate-in[data-state="open"]), :where(.file-preview-root) .data-\[state\=open\]\:animate-in[data-state="open"] {
|
|
@@ -1913,14 +2004,14 @@
|
|
|
1913
2004
|
--fp-tw-enter-translate-y: calc(4*var(--spacing));
|
|
1914
2005
|
}
|
|
1915
2006
|
|
|
1916
|
-
:where(.file-preview-root):is(.data-\[state\=open\]\:zoom-in-99[data-state="open"]), :where(.file-preview-root) .data-\[state\=open\]\:zoom-in-99[data-state="open"] {
|
|
1917
|
-
--fp-tw-enter-scale: calc(99*1%);
|
|
1918
|
-
}
|
|
1919
|
-
|
|
1920
2007
|
@media (prefers-reduced-motion: reduce) {
|
|
1921
2008
|
:where(.file-preview-root):is(.motion-reduce\:animate-none), :where(.file-preview-root) .motion-reduce\:animate-none {
|
|
1922
2009
|
animation: none;
|
|
1923
2010
|
}
|
|
2011
|
+
|
|
2012
|
+
:where(.file-preview-root):is(.motion-reduce\:transition-none), :where(.file-preview-root) .motion-reduce\:transition-none {
|
|
2013
|
+
transition-property: none;
|
|
2014
|
+
}
|
|
1924
2015
|
}
|
|
1925
2016
|
|
|
1926
2017
|
@media (min-width: 40rem) {
|
|
@@ -2194,29 +2285,6 @@
|
|
|
2194
2285
|
color: var(--destructive) !important;
|
|
2195
2286
|
}
|
|
2196
2287
|
|
|
2197
|
-
.\[\&\:\:-webkit-scrollbar-thumb\]\:bg-\[var\(--scrollbar-thumb\)\]::-webkit-scrollbar-thumb {
|
|
2198
|
-
background-color: var(--scrollbar-thumb);
|
|
2199
|
-
}
|
|
2200
|
-
|
|
2201
|
-
.\[\&\:\:-webkit-scrollbar-thumb\]\:bg-transparent::-webkit-scrollbar-thumb {
|
|
2202
|
-
background-color: #0000;
|
|
2203
|
-
}
|
|
2204
|
-
|
|
2205
|
-
.\[\&\:\:-webkit-scrollbar-thumb\]\:transition-\[background\]::-webkit-scrollbar-thumb {
|
|
2206
|
-
transition-property: background;
|
|
2207
|
-
transition-timing-function: var(--fp-tw-ease, var(--default-transition-timing-function));
|
|
2208
|
-
transition-duration: var(--fp-tw-duration, var(--default-transition-duration));
|
|
2209
|
-
}
|
|
2210
|
-
|
|
2211
|
-
.\[\&\:\:-webkit-scrollbar-thumb\]\:duration-\[2000ms\]::-webkit-scrollbar-thumb {
|
|
2212
|
-
--fp-tw-duration: 2s;
|
|
2213
|
-
transition-duration: 2s;
|
|
2214
|
-
}
|
|
2215
|
-
|
|
2216
|
-
.\[\&\:\:-webkit-scrollbar-thumb\:hover\]\:bg-\[var\(--scrollbar-thumb-hover\)\]::-webkit-scrollbar-thumb:hover {
|
|
2217
|
-
background-color: var(--scrollbar-thumb-hover);
|
|
2218
|
-
}
|
|
2219
|
-
|
|
2220
2288
|
.\[\&\:not\(\:first-child\)\]\:before\:mr-3:not(:first-child):before {
|
|
2221
2289
|
content: var(--fp-tw-content);
|
|
2222
2290
|
margin-right: calc(var(--spacing) * 3);
|
|
@@ -2860,6 +2928,28 @@
|
|
|
2860
2928
|
--code-block: #e3e3e3;
|
|
2861
2929
|
--inline-code: #0000000f;
|
|
2862
2930
|
--inline-code-foreground: #da615c;
|
|
2931
|
+
--cherry-code-background: transparent;
|
|
2932
|
+
--cherry-code-foreground: var(--foreground);
|
|
2933
|
+
--cherry-code-muted: var(--muted-foreground);
|
|
2934
|
+
--cherry-code-selection: var(--link);
|
|
2935
|
+
}
|
|
2936
|
+
|
|
2937
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2938
|
+
:where(.file-preview-root) {
|
|
2939
|
+
--cherry-code-selection: color-mix(in oklab, var(--link) 20%, transparent);
|
|
2940
|
+
}
|
|
2941
|
+
}
|
|
2942
|
+
|
|
2943
|
+
:where(.file-preview-root) {
|
|
2944
|
+
--cherry-code-keyword: var(--cs-violet-700);
|
|
2945
|
+
--cherry-code-string: var(--cs-emerald-700);
|
|
2946
|
+
--cherry-code-constant: var(--cs-amber-700);
|
|
2947
|
+
--cherry-code-type: var(--cs-cyan-700);
|
|
2948
|
+
--cherry-code-function: var(--cs-blue-600);
|
|
2949
|
+
--cherry-code-tag: var(--cs-rose-700);
|
|
2950
|
+
--cherry-code-link: var(--link);
|
|
2951
|
+
--cherry-code-inserted: var(--cs-green-700);
|
|
2952
|
+
--cherry-code-deleted: var(--cs-red-600);
|
|
2863
2953
|
--reference: #cfe1ff;
|
|
2864
2954
|
--reference-foreground: #000;
|
|
2865
2955
|
--reference-subtle: #f1f7ff;
|
|
@@ -2867,11 +2957,14 @@
|
|
|
2867
2957
|
--highlight: var(--cs-amber-200);
|
|
2868
2958
|
--highlight-accent: var(--cs-orange-400);
|
|
2869
2959
|
--markdown-important: var(--cs-violet-600);
|
|
2960
|
+
--chat-message-well: var(--cs-background);
|
|
2961
|
+
--chat-message-well-solid: var(--cs-background);
|
|
2962
|
+
--composer-surface: var(--cs-card);
|
|
2870
2963
|
--chat-user: #0000000b;
|
|
2871
|
-
--resource-list-row-hover: var(--
|
|
2964
|
+
--resource-list-row-hover: var(--resource-list-row-selected);
|
|
2872
2965
|
--resource-list-row-active: var(--accent);
|
|
2873
2966
|
--resource-list-row-active-foreground: var(--accent-foreground);
|
|
2874
|
-
--resource-list-row-selected:
|
|
2967
|
+
--resource-list-row-selected: oklch(0% 0 0 / .08);
|
|
2875
2968
|
--resource-list-row-selected-foreground: var(--accent-foreground);
|
|
2876
2969
|
}
|
|
2877
2970
|
|
|
@@ -2879,6 +2972,14 @@
|
|
|
2879
2972
|
--link: var(--cs-blue-400);
|
|
2880
2973
|
--code-block: #323232;
|
|
2881
2974
|
--inline-code: #323232;
|
|
2975
|
+
--cherry-code-keyword: var(--cs-violet-300);
|
|
2976
|
+
--cherry-code-string: var(--cs-emerald-300);
|
|
2977
|
+
--cherry-code-constant: var(--cs-orange-300);
|
|
2978
|
+
--cherry-code-type: var(--cs-cyan-300);
|
|
2979
|
+
--cherry-code-function: var(--cs-blue-300);
|
|
2980
|
+
--cherry-code-tag: var(--cs-rose-300);
|
|
2981
|
+
--cherry-code-inserted: var(--cs-green-400);
|
|
2982
|
+
--cherry-code-deleted: var(--cs-red-400);
|
|
2882
2983
|
--reference: #404040;
|
|
2883
2984
|
--reference-foreground: #fff;
|
|
2884
2985
|
--reference-subtle: #0b0e12;
|
|
@@ -2886,7 +2987,11 @@
|
|
|
2886
2987
|
--highlight: var(--cs-amber-900);
|
|
2887
2988
|
--highlight-accent: var(--cs-orange-800);
|
|
2888
2989
|
--markdown-important: var(--cs-violet-400);
|
|
2889
|
-
--chat-
|
|
2990
|
+
--chat-message-well: oklch(17.27% 0 0 / .55);
|
|
2991
|
+
--chat-message-well-solid: oklch(19.1% 0 0);
|
|
2992
|
+
--composer-surface: #2f2f2f;
|
|
2993
|
+
--chat-user: oklch(23.93% 0 0);
|
|
2994
|
+
--resource-list-row-selected: oklch(100% 0 0 / .14);
|
|
2890
2995
|
}
|
|
2891
2996
|
|
|
2892
2997
|
@property --fp-tw-animation-delay {
|
|
@@ -3185,6 +3290,11 @@
|
|
|
3185
3290
|
initial-value: solid;
|
|
3186
3291
|
}
|
|
3187
3292
|
|
|
3293
|
+
@property --fp-tw-duration {
|
|
3294
|
+
syntax: "*";
|
|
3295
|
+
inherits: false
|
|
3296
|
+
}
|
|
3297
|
+
|
|
3188
3298
|
@property --fp-tw-content {
|
|
3189
3299
|
syntax: "*";
|
|
3190
3300
|
inherits: false;
|
|
@@ -3196,11 +3306,6 @@
|
|
|
3196
3306
|
inherits: false
|
|
3197
3307
|
}
|
|
3198
3308
|
|
|
3199
|
-
@property --fp-tw-duration {
|
|
3200
|
-
syntax: "*";
|
|
3201
|
-
inherits: false
|
|
3202
|
-
}
|
|
3203
|
-
|
|
3204
3309
|
@keyframes fp-spin {
|
|
3205
3310
|
to {
|
|
3206
3311
|
transform: rotate(360deg);
|