@lifeonlars/prime-yggdrasil 0.1.0 → 0.1.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 +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,14 +34,14 @@ Yggdrasil is a comprehensive design system built on [PrimeReact](https://primere
|
|
|
34
34
|
### Installation
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
|
-
npm install prime-yggdrasil primereact primeicons
|
|
37
|
+
npm install @lifeonlars/prime-yggdrasil primereact primeicons
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
### Usage
|
|
41
41
|
|
|
42
42
|
```tsx
|
|
43
43
|
// Import theme
|
|
44
|
-
import 'prime-yggdrasil/yggdrasil-light.css'; // or yggdrasil-dark.css
|
|
44
|
+
import '@lifeonlars/prime-yggdrasil/yggdrasil-light.css'; // or yggdrasil-dark.css
|
|
45
45
|
import 'primeicons/primeicons.css';
|
|
46
46
|
|
|
47
47
|
// Use PrimeReact components
|
|
@@ -188,7 +188,7 @@ Yggdrasil is specifically designed to guide AI agents toward component-driven de
|
|
|
188
188
|
I'm building a React app with Yggdrasil design system.
|
|
189
189
|
|
|
190
190
|
Before implementing UI:
|
|
191
|
-
1. Read: node_modules/prime-yggdrasil/docs/AI-AGENT-GUIDE.md
|
|
191
|
+
1. Read: node_modules/@lifeonlars/prime-yggdrasil/docs/AI-AGENT-GUIDE.md
|
|
192
192
|
2. Check: Is there a PrimeReact component for this?
|
|
193
193
|
3. Use: Semantic tokens only (no hardcoded colors)
|
|
194
194
|
4. Follow: 4px grid for all spacing
|
|
@@ -226,7 +226,7 @@ Yggdrasil
|
|
|
226
226
|
When you install Yggdrasil, you get:
|
|
227
227
|
|
|
228
228
|
```
|
|
229
|
-
prime-yggdrasil/
|
|
229
|
+
@lifeonlars/prime-yggdrasil/
|
|
230
230
|
├── dist/
|
|
231
231
|
│ ├── yggdrasil-light.css # Light theme (import this)
|
|
232
232
|
│ ├── yggdrasil-dark.css # Dark theme (import this)
|
package/package.json
CHANGED