@lumaui/angular 0.3.3 → 0.4.0
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 +13 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -27,14 +27,24 @@ npm install @lumaui/angular
|
|
|
27
27
|
|
|
28
28
|
## Setup
|
|
29
29
|
|
|
30
|
+
**IMPORTANT:** Luma tokens files do NOT import Tailwind CSS. Your project MUST import Tailwind separately.
|
|
31
|
+
|
|
30
32
|
Add to your `styles.css`:
|
|
31
33
|
|
|
32
34
|
```css
|
|
35
|
+
/* Required - your project's responsibility */
|
|
33
36
|
@import 'tailwindcss';
|
|
34
|
-
@import '@lumaui/tokens';
|
|
35
37
|
|
|
36
|
-
/*
|
|
37
|
-
@import '@lumaui/tokens/
|
|
38
|
+
/* Import Luma design tokens */
|
|
39
|
+
@import '@lumaui/tokens/build/luma.css'; /* Light theme */
|
|
40
|
+
@import '@lumaui/tokens/build/luma-dark.css'; /* Dark theme */
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
**Alternative (convenience bundle):**
|
|
44
|
+
|
|
45
|
+
```css
|
|
46
|
+
@import 'tailwindcss'; /* Required */
|
|
47
|
+
@import '@lumaui/tokens/build/luma-complete.css'; /* Both themes */
|
|
38
48
|
```
|
|
39
49
|
|
|
40
50
|
## Usage
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumaui/angular",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Angular components for Luma UI - Neo-Minimal design system",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@lumaui/core": "^0.
|
|
7
|
-
"@lumaui/tokens": "^0.
|
|
6
|
+
"@lumaui/core": "^0.4.0",
|
|
7
|
+
"@lumaui/tokens": "^0.4.0",
|
|
8
8
|
"tslib": "^2.3.0"
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|