From cac00c62c6f37d8159d073d585c7c2ad76c0647d Mon Sep 17 00:00:00 2001 From: Jan Hassel Date: Fri, 26 Jan 2024 09:27:00 +0100 Subject: [PATCH] docs(global-theme): rephrase --- packages/react/src/components/Theme/Theme.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react/src/components/Theme/Theme.mdx b/packages/react/src/components/Theme/Theme.mdx index 7b409a8f8d80..e059b8a06b7f 100644 --- a/packages/react/src/components/Theme/Theme.mdx +++ b/packages/react/src/components/Theme/Theme.mdx @@ -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`.