@agenticindiedev/ui 0.3.7 → 0.3.8
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 +6 -4
- package/dist/index.cjs +15 -15
- package/dist/index.d.ts +7 -2
- package/dist/index.js +2800 -2792
- package/dist/themes/dark.scss +3 -1
- package/dist/themes/light.scss +3 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -42,15 +42,17 @@ export default {
|
|
|
42
42
|
Choose a theme and import it (this replaces the need for `styles.css`):
|
|
43
43
|
|
|
44
44
|
```tsx
|
|
45
|
-
// Light theme (off-white) - includes
|
|
46
|
-
import '@agenticindiedev/ui/themes/light
|
|
45
|
+
// Light theme (off-white) - includes theme variables
|
|
46
|
+
import '@agenticindiedev/ui/themes/light';
|
|
47
47
|
|
|
48
|
-
// OR Dark theme (gray) - includes
|
|
49
|
-
import '@agenticindiedev/ui/themes/dark
|
|
48
|
+
// OR Dark theme (gray) - includes theme variables
|
|
49
|
+
import '@agenticindiedev/ui/themes/dark';
|
|
50
50
|
|
|
51
51
|
// Note: Import only ONE theme file, not both styles.css and a theme file
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
+
Note for Tailwind v4: theme files include an `@source` directive so Tailwind scans the UI package and generates component utilities. If you skip the theme import, add an `@source` for `@agenticindiedev/ui/dist/**/*.{js,cjs}` in your global CSS.
|
|
55
|
+
|
|
54
56
|
### 3. Use Components
|
|
55
57
|
|
|
56
58
|
```tsx
|