@neoptocom/neopto-ui 0.6.1 → 0.6.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.
- package/README.md +10 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,16 +36,24 @@ export default {
|
|
|
36
36
|
|
|
37
37
|
### Step 3: Setup your CSS file
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
If your CSS file is at `src/app/globals.css` (App Router), use:
|
|
40
40
|
|
|
41
41
|
```css
|
|
42
42
|
@import "tailwindcss";
|
|
43
43
|
|
|
44
44
|
/* Scan the component library source files */
|
|
45
|
-
@source "
|
|
45
|
+
@source "../../node_modules/@neoptocom/neopto-ui/src";
|
|
46
46
|
|
|
47
47
|
/* Import library styles */
|
|
48
48
|
@import "@neoptocom/neopto-ui/styles";
|
|
49
|
+
|
|
50
|
+
/* Scan your own project files */
|
|
51
|
+
@source "../";
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
**Note:** The path is relative to your CSS file location. Adjust `../` levels accordingly.
|
|
56
|
+
|
|
49
57
|
```
|
|
50
58
|
|
|
51
59
|
Then import this CSS in your `src/main.tsx`:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neoptocom/neopto-ui",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A modern React component library built with Tailwind CSS v4 and TypeScript. Features dark mode, design tokens, and comprehensive Storybook documentation. Requires Tailwind v4+.",
|
|
6
6
|
"keywords": [
|