Skip to content

Commit 769d32c

Browse files
committed
docs: add styleguide stylesheet import example
1 parent 53bc443 commit 769d32c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,11 @@ app
125125
126126
```
127127

128-
Assuming all styles and fonts are imported in the project's RootLayout, we can simply import the RootLayout into the styleguide's layout:
128+
Assuming all styles and fonts are imported in the project's RootLayout, we can simply import the RootLayout into the styleguide's layout. In addition, import the styleguide CSS explicitly:
129129

130130
```ts
131+
import '@networkteam/zebra-utils/styleguide/styles.css';
132+
131133
import RootLayout from 'app/[[...slug]]/layout';
132134
import { localizedPage } from '@networkteam/zebra-utils';
133135

0 commit comments

Comments
 (0)