@loykin/designkit 0.0.1-dev.0 → 0.0.1-dev.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/README.md CHANGED
@@ -10,13 +10,15 @@ npm install @loykin/designkit @loykin/gridkit
10
10
 
11
11
  Requires React 19 and Tailwind CSS v4. UI components are based on [shadcn/ui](https://ui.shadcn.com) — if your app has shadcn set up, theming integrates automatically via shared CSS variables (`--primary`, `--background`, `--radius`, etc.). You can customize every token through shadcn's theme without touching designkit directly.
12
12
 
13
- Add the following to your global CSS so Tailwind scans the designkit bundle:
13
+ Import the styles in your global CSS:
14
14
 
15
15
  ```css
16
16
  /* globals.css */
17
- @source "node_modules/@loykin/designkit/dist/index.js";
17
+ @import "@loykin/designkit/styles";
18
18
  ```
19
19
 
20
+ This handles Tailwind class scanning automatically — no additional `@source` configuration needed.
21
+
20
22
  ## Quick Start
21
23
 
22
24
  ```tsx