Skip to content

Commit

Permalink
docs(global-theme): rephrase
Browse files Browse the repository at this point in the history
  • Loading branch information
janhassel committed Jan 26, 2024
1 parent 9727b21 commit cac00c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react/src/components/Theme/Theme.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ function App() {
}
```

This way, the `GlobalTheme` component is used to "synchronize" the state of the application's context and your scss in order for other components and hooks like `useTheme` to work properly.
For this reason, the component should used at the root of your application.
This way, the `GlobalTheme` component is used to "synchronize" the state of the application's context and your scss, so that other components and hooks like useTheme can work properly.
For this reason, the component should be used as a wrapper of the root of your application.

By default, the global theme is set to `white`.

Expand Down

0 comments on commit cac00c6

Please sign in to comment.