@plusrouter/ui 0.1.11 → 0.1.17
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/tokens.css
CHANGED
|
@@ -105,6 +105,10 @@
|
|
|
105
105
|
--rp-color-surface-hover: var(--rp-surface-300);
|
|
106
106
|
--rp-side-nav-width-narrow: 184px;
|
|
107
107
|
|
|
108
|
+
/* Elevation stays dark in both themes, independently of borders and text. */
|
|
109
|
+
--rp-color-shadow: rgb(0 0 0 / 18%);
|
|
110
|
+
--rp-color-scrim: rgb(0 0 0 / 45%);
|
|
111
|
+
|
|
108
112
|
/* translucency */
|
|
109
113
|
--rp-overlay-weak: rgb(0 0 0 / 6%);
|
|
110
114
|
--rp-overlay-medium: rgb(0 0 0 / 12%);
|
|
@@ -123,6 +127,7 @@
|
|
|
123
127
|
#1b253b 93%,
|
|
124
128
|
#1a1a1e 100%
|
|
125
129
|
);
|
|
130
|
+
--rp-color-shadow: rgb(0 0 0 / 36%);
|
|
126
131
|
--rp-color-bg: var(--rp-graphite-900);
|
|
127
132
|
--rp-color-surface: var(--rp-graphite-800);
|
|
128
133
|
--rp-color-surface-alt: var(--rp-graphite-850);
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
export declare function BackgroundSquare({ scene, cellSize, }: {
|
|
1
|
+
/** A pixel gradient with a persistent, inertial material deformation field. */
|
|
2
|
+
export declare function BackgroundSquare({ scene, cellSize, density, speed, step, }: {
|
|
3
3
|
scene: number;
|
|
4
4
|
/** Size of each square in the field. Defaults to the hero grid. */
|
|
5
5
|
cellSize?: number;
|
|
6
|
+
/** Square count multiplier, from 0.25 to 4. 2 gives twice as many squares. */
|
|
7
|
+
density?: number;
|
|
8
|
+
/** Ambient gradient speed multiplier. 0 pauses drift; 1 is normal speed. */
|
|
9
|
+
speed?: number;
|
|
10
|
+
/** Controlled timeline position. Each +1/−1 plays 10 seconds forward/backward. */
|
|
11
|
+
step?: number;
|
|
6
12
|
}): import("react").JSX.Element;
|