-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26741 from storybookjs/docs_fix_styling
Docs: Update Styling and CSS (cherry picked from commit 2cf5571)
- Loading branch information
1 parent
da5d042
commit 4989b57
Showing
2 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
docs/snippets/common/storybook-preview-head-import-global-styles.html.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
```html | ||
<!-- .storybook/preview-head.html --> | ||
|
||
<!-- Loads a font from a CDN --> | ||
<link rel="preconnect" href="https://fonts.googleapis.com" /> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | ||
<link | ||
href="https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap" | ||
rel="stylesheet" | ||
/> | ||
<!-- Load your CSS file --> | ||
<link rel="stylesheet" href="path/to/your/styles.css" /> | ||
``` |