@agenticindiedev/ui 0.3.3 → 0.3.5
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 +60 -2
- package/dist/index.cjs +14 -14
- package/dist/index.d.ts +10 -10
- package/dist/index.js +12647 -12905
- package/dist/styles.css +0 -2414
- package/dist/themes/dark.scss +11 -1
- package/dist/themes/light.scss +11 -1
- package/package.json +20 -32
package/README.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# AgenticIndieDevUI
|
|
2
2
|
|
|
3
|
+

|
|
4
|
+

|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
> ⚠️ **Warning**: This project is currently under active development and is **not ready for production use**. Many features are incomplete, and the codebase is subject to significant changes.
|
|
8
|
+
|
|
3
9
|
A modern React component library built with TypeScript, Tailwind CSS v4, Radix UI, and shadcn/ui patterns.
|
|
4
10
|
|
|
5
11
|
📖 **[View Storybook Documentation](https://agenticindiedev.github.io/ui/)**
|
|
@@ -237,7 +243,59 @@ For one-off customizations, use the `className` prop to override styles:
|
|
|
237
243
|
|
|
238
244
|
### Method 3: Create Custom Theme File
|
|
239
245
|
|
|
240
|
-
For a complete custom theme, create your own
|
|
246
|
+
For a complete custom theme, create your own SCSS file:
|
|
247
|
+
|
|
248
|
+
**For Tailwind CSS v4:**
|
|
249
|
+
|
|
250
|
+
```scss
|
|
251
|
+
/* my-custom-theme.scss */
|
|
252
|
+
@use 'tailwindcss';
|
|
253
|
+
@use '@agenticindiedev/ui/themes/dark.scss' as *;
|
|
254
|
+
|
|
255
|
+
:root {
|
|
256
|
+
--primary: 142 76% 36%; /* Your brand green */
|
|
257
|
+
--primary-foreground: 0 0% 100%;
|
|
258
|
+
--secondary: 210 20% 96%;
|
|
259
|
+
--secondary-foreground: 222.2 47.4% 11.2%;
|
|
260
|
+
/* ... define all your colors */
|
|
261
|
+
--radius: 0.75rem; /* Custom border radius */
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
@theme {
|
|
265
|
+
/* Map your custom variables to Tailwind */
|
|
266
|
+
--color-primary: hsl(var(--primary));
|
|
267
|
+
--color-primary-foreground: hsl(var(--primary-foreground));
|
|
268
|
+
--color-secondary: hsl(var(--secondary));
|
|
269
|
+
--color-secondary-foreground: hsl(var(--secondary-foreground));
|
|
270
|
+
/* ... map all your custom variables ... */
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
@keyframes accordion-down {
|
|
274
|
+
from {
|
|
275
|
+
height: 0;
|
|
276
|
+
}
|
|
277
|
+
to {
|
|
278
|
+
height: var(--radix-accordion-content-height);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
@keyframes accordion-up {
|
|
283
|
+
from {
|
|
284
|
+
height: var(--radix-accordion-content-height);
|
|
285
|
+
}
|
|
286
|
+
to {
|
|
287
|
+
height: 0;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
Then import it instead of the default theme:
|
|
293
|
+
|
|
294
|
+
```tsx
|
|
295
|
+
import './my-custom-theme.scss';
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
**For Tailwind CSS v3 (legacy):**
|
|
241
299
|
|
|
242
300
|
```css
|
|
243
301
|
/* my-custom-theme.css */
|
|
@@ -271,7 +329,7 @@ For a complete custom theme, create your own CSS file:
|
|
|
271
329
|
}
|
|
272
330
|
```
|
|
273
331
|
|
|
274
|
-
Then import it
|
|
332
|
+
Then import it:
|
|
275
333
|
|
|
276
334
|
```tsx
|
|
277
335
|
import './my-custom-theme.css';
|