Skip to content

Commit abedb66

Browse files
authored
Add style to import (#350)
1 parent 544a518 commit abedb66

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ globalStyle('html, body', {
555555
Global selectors can also contain references to other scoped class names.
556556

557557
```ts
558-
import { globalStyle } from '@vanilla-extract/css';
558+
import { style, globalStyle } from '@vanilla-extract/css';
559559

560560
export const parentClass = style({});
561561

site/docs/styling-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Global selectors can also contain references to other scoped class names.
189189
```tsx
190190
// app.css.ts
191191

192-
import { globalStyle } from '@vanilla-extract/css';
192+
import { style, globalStyle } from '@vanilla-extract/css';
193193

194194
export const parentClass = style({});
195195

0 commit comments

Comments
 (0)