You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-79Lines changed: 0 additions & 79 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,85 +88,6 @@ function TestStory() {
88
88
}
89
89
```
90
90
91
-
## Styling
92
-
93
-
In addition to the [CSS features that `vite` supports](https://vite.dev/guide/features.html#css), you can also use [Vanilla Extract](https://vanilla-extract.style/) for styling.
94
-
95
-
First install the `@vanilla-extract/css` package:
96
-
97
-
```sh
98
-
npm install @vanilla-extract/css
99
-
```
100
-
101
-
Then, add a `style.css.ts` file for your workshop:
102
-
103
-
```ts
104
-
// src/__workshop__/style.css.ts
105
-
106
-
import {style} from'@vanilla-extract/css'
107
-
108
-
exportconst container =style({
109
-
display: 'grid',
110
-
alignItems: 'center',
111
-
justifyContent: 'center',
112
-
height: '100%',
113
-
width: '100%',
114
-
})
115
-
```
116
-
117
-
And finally, import the `container` className and use it in your workshop:
0 commit comments