@loomlyne/ui-system-core 0.0.0-stage → 0.1.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 +16 -2
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +1087 -0
- package/dist/color.d.ts +51 -0
- package/dist/config.d.ts +182 -0
- package/dist/exports.d.ts +110 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +986 -0
- package/dist/kinds.d.ts +15 -0
- package/dist/presets.d.ts +11 -0
- package/dist/radius.d.ts +26 -0
- package/dist/theme.d.ts +37 -0
- package/dist/type.d.ts +74 -0
- package/package.json +45 -4
- package/schema.json +400 -0
- package/styles/tailwind.css +157 -0
- package/styles/ui.css +485 -0
- package/styles/untitled-ui.css +36 -0
package/README.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @loomlyne/ui-system-core
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The engine of [UI System](https://github.com/Loomlyne/ui-system): one `ui.config.json` drives brand colors (OKLCH scales, contrast-checked roles), radius, type presets, logo and navigation. Exports CSS variables, Tailwind v4 tokens and Claude Design tokens, and ships the `ui-system` CLI.
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npm i @loomlyne/ui-system-core
|
|
7
|
+
npx -p @loomlyne/ui-system-core ui-system init --preset ledger --kind app --name "Acme"
|
|
8
|
+
npx -p @loomlyne/ui-system-core ui-system check
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
import { buildTheme, resolveConfig, toCSS } from '@loomlyne/ui-system-core';
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Also exported: `@loomlyne/ui-system-core/ui.css` (every component as plain `uis-*` classes), `/tailwind.css`, `/untitled-ui.css`, `/schema.json`.
|
|
16
|
+
|
|
17
|
+
ESM only. React components: [`@loomlyne/ui-system-react`](https://www.npmjs.com/package/@loomlyne/ui-system-react). Playground: https://loomlyne.github.io/ui-system/ · MIT
|
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|