@lindaui/tokens 0.0.2

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 (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +36 -0
  3. package/dist/index.css +13365 -0
  4. package/package.json +33 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Franco Carballar
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # @lindaui/tokens
2
+
3
+ Brand design tokens (OKLCH, light + dark) + HeroUI v3 + Tailwind v4, compiled
4
+ into a single CSS bundle. No JS — this package is just the stylesheet that makes
5
+ `@lindaui/ui` and `@lindaui/blocks` render correctly.
6
+
7
+ ## Usage
8
+
9
+ Import once at your app root:
10
+
11
+ ```tsx
12
+ import "@lindaui/tokens/css";
13
+ ```
14
+
15
+ That single import ships HeroUI's styles, the brand tokens, and the Tailwind
16
+ utilities the component library uses (flex/gap/max-w + bespoke ones).
17
+
18
+ ## Dark mode
19
+
20
+ Toggle a `.dark` class on an ancestor (e.g. `<html class="dark">`). The dark
21
+ palette redefines the canonical tokens; HeroUI's variables reference them, so
22
+ components re-skin for free.
23
+
24
+ ## Local build
25
+
26
+ ```bash
27
+ pnpm --filter @lindaui/tokens build
28
+ ```
29
+
30
+ Regenerates `dist/index.css`. The build chains `@import "tailwindcss"` +
31
+ `@source` scans of `@lindaui/ui` / `@lindaui/blocks` source + `@heroui/styles` + the
32
+ brand `theme.css`, run through `@tailwindcss/cli` (Tailwind v4).
33
+
34
+ ## License
35
+
36
+ MIT