You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/advanced_usage.md
+80Lines changed: 80 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,86 @@ MageForge streamlines Hyvä theme development with:
47
47
- Automatic TailwindCSS compilation
48
48
- PurgeCSS optimization
49
49
- Component scanning
50
+
- Design tokens support for consistent theming
51
+
52
+
#### Hyvä Design Tokens
53
+
54
+
The `mageforge:hyva:tokens` command allows you to generate CSS custom properties from design token definitions, making it easier to maintain consistent design systems across your Hyvä theme.
55
+
56
+
**Basic Usage:**
57
+
```bash
58
+
bin/magento mageforge:hyva:tokens <theme-code>
59
+
```
60
+
61
+
**Configuration Options:**
62
+
63
+
Create a `hyva.config.json` file in your theme's `web/tailwind` directory to customize token generation:
0 commit comments