@dmisdm/pandatail 0.2.0 → 0.3.0
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/README.md +82 -83
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +637 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +325 -211
- package/dist/preset.d.ts +36 -13
- package/dist/project.d.ts +74 -0
- package/dist/scanCss.d.ts +30 -0
- package/dist/vite.d.ts +19 -0
- package/dist/vite.js +606 -0
- package/package.json +30 -13
- package/LICENSE +0 -21
- package/dist/extractSync.d.ts +0 -19
package/dist/extractSync.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { ExtractedToken } from "./extract";
|
|
2
|
-
export interface ExtractSyncOptions {
|
|
3
|
-
/** Inline CSS source. Either this or {@link cssPath} must be set. */
|
|
4
|
-
css?: string;
|
|
5
|
-
/** Path to the user's Tailwind entry CSS. */
|
|
6
|
-
cssPath?: string;
|
|
7
|
-
/** Base dir for resolving `@import` relative paths. */
|
|
8
|
-
base?: string;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Synchronous token extraction. Walks the user's CSS, follows `@import` to
|
|
12
|
-
* `tailwindcss` (and friends) by reading those files from disk, and collects
|
|
13
|
-
* every `--*` declaration that appears inside an `@theme {}` block.
|
|
14
|
-
*
|
|
15
|
-
* This sidesteps Tailwind's async design-system loader so it can be called
|
|
16
|
-
* from inside PandaCSS configs (which Panda bundles to CJS — no top-level
|
|
17
|
-
* await).
|
|
18
|
-
*/
|
|
19
|
-
export declare function extractTokensSync(opts: ExtractSyncOptions): ExtractedToken[];
|