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: @codexteam/ui/README.md
+17-3Lines changed: 17 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,18 @@ yarn add @codexteam/ui
25
25
import'@codexteam/ui/styles';
26
26
```
27
27
28
-
### 2. Import Themes (Tree-shakeable)
28
+
### 2. Import Fonts (Optional)
29
+
30
+
Fonts are **optional** and are **not** loaded by default. If you want to use the bundled **Inter** and **JetBrains Mono** fonts, import them explicitly:
31
+
32
+
```typescript
33
+
// main.ts
34
+
import'@codexteam/ui/styles/fonts';
35
+
```
36
+
37
+
If you don't import fonts, typography will fall back to system fonts.
38
+
39
+
### 3. Import Themes (Tree-shakeable)
29
40
30
41
Import only the themes you need - others will NOT be included in the bundle:
0 commit comments