@cssints/gradient 0.6.0 → 0.6.1
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.d.mts +1 -2
- package/dist/index.mjs +1 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CSSImageValue } from "cssints";
|
|
2
|
-
//#region src/index.d.ts
|
|
3
2
|
declare const eased: import("cssints/plugin").Scope<"gradient", {
|
|
4
3
|
readonly linear: "linear [ <angle> | to <side-or-corner> ]";
|
|
5
4
|
readonly radial: "radial [ [ <radial-shape> || <radial-size> ] [ at <position> ]? | at <position> ]";
|
|
@@ -17,4 +16,4 @@ declare const eased: import("cssints/plugin").Scope<"gradient", {
|
|
|
17
16
|
* stops are computed at build time in oklab; a token or `currentColor` endpoint gives `color-mix()` stops instead. An `<image>`.
|
|
18
17
|
*/
|
|
19
18
|
export declare const gradient: ReturnType<typeof eased.export>["gradient"];
|
|
20
|
-
|
|
19
|
+
export {};
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSImageValue } from "cssints";
|
|
2
2
|
import { scope } from "cssints/plugin";
|
|
3
3
|
import { formatHex, formatHex8, interpolateWithPremultipliedAlpha, parse } from "culori";
|
|
4
|
-
|
|
4
|
+
// src/stops.ts
|
|
5
5
|
const NAMED = /* @__PURE__ */ new Map([
|
|
6
6
|
["linear", [
|
|
7
7
|
0,
|
|
@@ -92,5 +92,4 @@ const gradient = scope("gradient", {
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
}).export().gradient;
|
|
95
|
-
//#endregion
|
|
96
95
|
export { gradient };
|