@lindaui/tokens 0.0.2 → 0.0.3

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.
Files changed (2) hide show
  1. package/llms.txt +40 -0
  2. package/package.json +4 -3
package/llms.txt ADDED
@@ -0,0 +1,40 @@
1
+ # @lindaui/tokens
2
+
3
+ > The brand/design-token CSS bundle for the @lindaui design system. No JS/React — a
4
+ > single prebuilt stylesheet that renders HeroUI v3 styles + brand tokens (OKLCH, teal
5
+ > medical palette) + the Tailwind v4 utilities the libraries use. This file is for
6
+ > coding agents.
7
+
8
+ ## Install
9
+
10
+ ```bash
11
+ pnpm add @lindaui/tokens
12
+ ```
13
+
14
+ ## Usage (once, at app root)
15
+
16
+ ```tsx
17
+ import "@lindaui/tokens/css";
18
+ ```
19
+
20
+ That single import brings:
21
+ - HeroUI v3 component styles (`@heroui/styles`)
22
+ - Brand tokens: canonical shadcn-style semantic vars (`--primary` teal, `--card`,
23
+ `--destructive`, `--ring`, `--viewer-*`, chart palette `--chart-1..5`, ...) in OKLCH,
24
+ with a `:root` (light) set and a `.dark` set
25
+ - HeroUI v3 native vars (`--accent`/`--surface`/`--overlay`/`--default`/`--danger`/
26
+ `--focus`/`--radius`) referencing the canonical ones → HeroUI components paint with
27
+ the teal brand
28
+ - The Tailwind utilities the libraries emit (`bg-primary`, `text-muted-foreground`,
29
+ `bg-card`, radius scale, `bg-viewer`/`bg-viewer-bg`, bespoke `badge`/`status-chip`)
30
+
31
+ ## Dark mode
32
+
33
+ Toggle a `.dark` class on any ancestor element. Only the canonical tokens are
34
+ redefined in `.dark`; the HeroUI vars are references, so everything follows.
35
+
36
+ ## Notes for agents
37
+
38
+ - It is the only export: `@lindaui/tokens/css`. There is no JS entry point.
39
+ - `@lindaui/ui` and `@lindaui/blocks` declare this as a peer — install it alongside.
40
+ - If a layout looks unstyled ("just text"), the consumer usually forgot this import.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@lindaui/tokens",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Brand design tokens (OKLCH light/dark) + HeroUI v3 + Tailwind v4 compiled into a single CSS bundle.",
5
5
  "author": "Franco Carballar <francocarballar@gmail.com>",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/francocarballar/ts-design-system.git",
9
+ "url": "git+https://github.com/francocarballar/lindaui.git",
10
10
  "directory": "packages/tokens"
11
11
  },
12
12
  "publishConfig": {
@@ -19,7 +19,8 @@
19
19
  "files": [
20
20
  "dist",
21
21
  "LICENSE",
22
- "README.md"
22
+ "README.md",
23
+ "llms.txt"
23
24
  ],
24
25
  "devDependencies": {
25
26
  "tailwindcss": "^4.0.0",