@mirror-physics/fractal-ui 0.2.0-next.90 → 0.2.0-next.91
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/index.cjs.map +1 -1
- package/dist/index.css +19 -23
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.css
CHANGED
|
@@ -2814,32 +2814,28 @@
|
|
|
2814
2814
|
/* src/components/Ghost/Ghost.css */
|
|
2815
2815
|
.fractal-ghost {
|
|
2816
2816
|
--fractal-ghost-base: var(--bg-surface-1);
|
|
2817
|
-
--fractal-ghost-shine: color-mix(in srgb, var(--bg-canvas) 82%, transparent);
|
|
2818
2817
|
position: relative;
|
|
2819
2818
|
display: block;
|
|
2820
2819
|
min-width: 0;
|
|
2821
2820
|
min-height: 1px;
|
|
2822
2821
|
overflow: hidden;
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
.fractal-ghost::after {
|
|
2827
|
-
position: absolute;
|
|
2828
|
-
top: 0;
|
|
2829
|
-
bottom: 0;
|
|
2830
|
-
left: -50%;
|
|
2831
|
-
width: 50%;
|
|
2832
|
-
background:
|
|
2822
|
+
--fractal-ghost-shine: color-mix(in srgb, var(--bg-canvas) 70%, transparent);
|
|
2823
|
+
background-color: var(--fractal-ghost-base);
|
|
2824
|
+
background-image:
|
|
2833
2825
|
linear-gradient(
|
|
2834
|
-
|
|
2835
|
-
transparent
|
|
2826
|
+
110deg,
|
|
2827
|
+
transparent 30%,
|
|
2828
|
+
color-mix(in srgb, var(--fractal-ghost-shine) 20%, transparent) 38%,
|
|
2829
|
+
color-mix(in srgb, var(--fractal-ghost-shine) 65%, transparent) 44%,
|
|
2836
2830
|
var(--fractal-ghost-shine) 50%,
|
|
2837
|
-
transparent
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2831
|
+
color-mix(in srgb, var(--fractal-ghost-shine) 65%, transparent) 56%,
|
|
2832
|
+
color-mix(in srgb, var(--fractal-ghost-shine) 20%, transparent) 62%,
|
|
2833
|
+
transparent 70%);
|
|
2834
|
+
background-size: 300% 100%;
|
|
2835
|
+
background-repeat: no-repeat;
|
|
2836
|
+
background-position: 100% 0;
|
|
2837
|
+
border-radius: var(--radius-sm);
|
|
2838
|
+
animation: fractal-ghost-shine calc(var(--duration-ambient) * 2) var(--ease-in-out) infinite;
|
|
2843
2839
|
}
|
|
2844
2840
|
.fractal-ghost-line {
|
|
2845
2841
|
height: 0.875rem;
|
|
@@ -3119,16 +3115,16 @@
|
|
|
3119
3115
|
}
|
|
3120
3116
|
@keyframes fractal-ghost-shine {
|
|
3121
3117
|
from {
|
|
3122
|
-
|
|
3118
|
+
background-position: 100% 0;
|
|
3123
3119
|
}
|
|
3124
3120
|
to {
|
|
3125
|
-
|
|
3121
|
+
background-position: 0% 0;
|
|
3126
3122
|
}
|
|
3127
3123
|
}
|
|
3128
3124
|
@media (prefers-reduced-motion: reduce) {
|
|
3129
|
-
.fractal-ghost
|
|
3130
|
-
display: none;
|
|
3125
|
+
.fractal-ghost {
|
|
3131
3126
|
animation: none;
|
|
3127
|
+
background-image: none;
|
|
3132
3128
|
}
|
|
3133
3129
|
}
|
|
3134
3130
|
|