File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,20 @@ function App() {
53
53
}
54
54
```
55
55
56
+ ### Default font
57
+
58
+ Tetrisly uses [ Inter] ( https://fonts.google.com/specimen/Inter ) font as default. To add it to your app you should link it
59
+ in your root ` .html ` file:
60
+
61
+ ``` html
62
+ <link rel =" preconnect" href =" https://fonts.googleapis.com" />
63
+ <link rel =" preconnect" href =" https://fonts.gstatic.com" crossorigin />
64
+ <link
65
+ href =" https://fonts.googleapis.com/css2?family=Inter:wght@400;450;600&display=swap"
66
+ rel =" stylesheet"
67
+ />
68
+ ```
69
+
56
70
## Usage/Examples
57
71
58
72
``` typescript
Original file line number Diff line number Diff line change
1
+ import { Meta , Markdown } from ' @storybook/addon-docs' ;
2
+ import changeLog from ' @/../CHANGELOG.md?raw' ;
3
+
4
+ <Meta title = " Docs/Changelog" />
5
+
6
+ <Markdown >{ changeLog } </Markdown >
Original file line number Diff line number Diff line change
1
+ import { Meta , Markdown } from ' @storybook/addon-docs' ;
2
+ import readme from ' @/../README.md?raw' ;
3
+
4
+ <Meta title = " Docs/ReadMe" />
5
+
6
+ <Markdown >{ readme } </Markdown >
You can’t perform that action at this time.
0 commit comments