@lumaui/angular 0.3.3 → 0.4.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.
Files changed (2) hide show
  1. package/README.md +34 -3
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -30,13 +30,44 @@ npm install @lumaui/angular
30
30
  Add to your `styles.css`:
31
31
 
32
32
  ```css
33
- @import 'tailwindcss';
34
- @import '@lumaui/tokens';
33
+ /* Import Luma design tokens (light theme + component classes) */
34
+ @import '@lumaui/tokens/build/luma.css';
35
35
 
36
36
  /* Optional: Dark theme support */
37
- @import '@lumaui/tokens/dark.css';
37
+ @import '@lumaui/tokens/build/luma-dark.css';
38
38
  ```
39
39
 
40
+ **That's it!** The `luma.css` file includes everything needed:
41
+
42
+ - ✅ Tailwind CSS v4 base
43
+ - ✅ Design tokens (@theme block with 45 tokens)
44
+ - ✅ Component class manifest (@source directive)
45
+ - ✅ Automatic class discovery (99 component classes)
46
+
47
+ **Alternative (convenience bundle):**
48
+
49
+ ```css
50
+ /* Single import for both light and dark themes */
51
+ @import '@lumaui/tokens/build/luma-complete.css';
52
+ ```
53
+
54
+ ---
55
+
56
+ **Verify it works:**
57
+
58
+ After setting up, check your compiled CSS includes component classes:
59
+
60
+ ```bash
61
+ # Build your Angular app
62
+ ng build
63
+
64
+ # Check for Luma component classes in output
65
+ grep -o "bg-primary" dist/your-app/browser/styles*.css
66
+ # Expected: Multiple matches (bg-primary, hover:bg-primary/90, etc.)
67
+ ```
68
+
69
+ If you see the classes, setup is correct! ✅
70
+
40
71
  ## Usage
41
72
 
42
73
  ```typescript
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@lumaui/angular",
3
- "version": "0.3.3",
3
+ "version": "0.4.1",
4
4
  "description": "Angular components for Luma UI - Neo-Minimal design system",
5
5
  "dependencies": {
6
- "@lumaui/core": "^0.3.1",
7
- "@lumaui/tokens": "^0.3.2",
6
+ "@lumaui/core": "^0.4.1",
7
+ "@lumaui/tokens": "^0.4.1",
8
8
  "tslib": "^2.3.0"
9
9
  },
10
10
  "peerDependencies": {