@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 CHANGED
@@ -958,3 +958,9 @@ html body {
958
958
  min-width: auto;
959
959
  margin: 0;
960
960
  }
961
+
962
+ html body code,
963
+ html body pre,
964
+ html body kbd {
965
+ font-family: var(--font-family-mono);
966
+ }
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@7onic-ui/tokens",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Design tokens for 7onic — single source for design and code. CSS variables, Tailwind presets, JS, TypeScript",
5
5
  "author": "7onic",
6
6
  "license": "MIT",