|
@@ -8,15 +8,15 @@
|
|
import { FONT_FAMILY } from "@excalidraw/excalidraw";
|
|
import { FONT_FAMILY } from "@excalidraw/excalidraw";
|
|
```
|
|
```
|
|
|
|
|
|
-`FONT_FAMILY` contains all the font families used in `Excalidraw` as explained below
|
|
|
|
|
|
+`FONT_FAMILY` contains all the font families used in `Excalidraw`. The default families are the following:
|
|
|
|
|
|
| Font Family | Description |
|
|
| Font Family | Description |
|
|
| ----------- | ---------------------- |
|
|
| ----------- | ---------------------- |
|
|
-| `Virgil` | The `handwritten` font |
|
|
|
|
-| `Helvetica` | The `Normal` Font |
|
|
|
|
-| `Cascadia` | The `Code` Font |
|
|
|
|
|
|
+| `Excalifont` | The `Hand-drawn` font |
|
|
|
|
+| `Nunito` | The `Normal` Font |
|
|
|
|
+| `Comic Shanns` | The `Code` Font |
|
|
|
|
|
|
-Defaults to `FONT_FAMILY.Virgil` unless passed in `initialData.appState.currentItemFontFamily`.
|
|
|
|
|
|
+Pre-selected family is `FONT_FAMILY.Excalifont`, unless it's overriden with `initialData.appState.currentItemFontFamily`.
|
|
|
|
|
|
### THEME
|
|
### THEME
|
|
|
|
|