Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions data/themes/docs/overview/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,18 @@ Install the package from your command line.

Import the global CSS file at the root of your application.

From a JavaScript or TypeScript file:

```ts
import "@radix-ui/themes/styles.css";
```

From a CSS file, use `@import` instead. A JS `import` is not valid CSS:

```css
@import "@radix-ui/themes/styles.css";
```

### 3. Add the Theme component

Add `Theme` to your application, wrapping the root component inside of `body`.
Expand Down