@cssints/skeleton 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 -3
- package/dist/index.mjs +1 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/index.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* `skeleton().radius("8px").color("#ddd").highlight("#eee")`: a loading placeholder, each method once and optional
|
|
4
3
|
* (`0.25rem`, the text colour at 12% and 4%). The shimmer of every skeleton on the page is one animation on `:root`, so
|
|
@@ -19,5 +18,4 @@ export declare const skeleton: () => import("cssints/plugin").Chain<"skeleton",
|
|
|
19
18
|
readonly args: "<color>";
|
|
20
19
|
readonly emit: (v: string) => [string, string][];
|
|
21
20
|
};
|
|
22
|
-
}, {}>;
|
|
23
|
-
//#endregion
|
|
21
|
+
}, {}>;
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { scope } from "cssints/plugin";
|
|
2
|
-
|
|
2
|
+
// src/index.ts
|
|
3
3
|
const BASE = "color-mix(in oklab, currentColor 12%, transparent)";
|
|
4
4
|
const HIGHLIGHT = "color-mix(in oklab, currentColor 4%, transparent)";
|
|
5
5
|
const GREY = "rgb(128 128 128 / 20%)";
|
|
@@ -54,5 +54,4 @@ const { skeleton } = scope("skeleton", {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}).export();
|
|
57
|
-
//#endregion
|
|
58
57
|
export { skeleton };
|
package/package.json
CHANGED