@7onic-ui/tokens 0.3.2 → 0.3.3
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/css/variables.css +6 -0
- package/llms.txt +11 -0
- package/package.json +1 -1
package/css/variables.css
CHANGED
package/llms.txt
CHANGED
|
@@ -78,6 +78,17 @@ module.exports = {
|
|
|
78
78
|
<body class="bg-background text-foreground">
|
|
79
79
|
```
|
|
80
80
|
|
|
81
|
+
**Font baseline (automatic — do NOT add manually):**
|
|
82
|
+
`variables.css` import automatically applies:
|
|
83
|
+
- `html body { font-family: var(--font-family-sans) }` — Inter by default
|
|
84
|
+
- `html body code, pre, kbd { font-family: var(--font-family-mono) }` — monospace
|
|
85
|
+
|
|
86
|
+
Do NOT write `body { font-family: ... }` manually — it is already handled by the token import.
|
|
87
|
+
To use a custom font, override the CSS variable instead:
|
|
88
|
+
```css
|
|
89
|
+
:root { --font-family-sans: 'Your Font', sans-serif; }
|
|
90
|
+
```
|
|
91
|
+
|
|
81
92
|
**2-4. Apply user's answers:**
|
|
82
93
|
|
|
83
94
|
- Dark mode = yes → implement dark mode toggle (see below)
|
package/package.json
CHANGED