You must use the "all.css" StyleSheet with the Theme
component.
@@ -17,40 +21,42 @@ The `all.css` StyleSheet uses [CSS variables](https://developer.mozilla.org/en-U
## Default
+Create a basic theme component that can be controlled programmatically.
+
## Persist locally
-Set `persist` to `true` to persist the theme locally using the [Window.localStorage API](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage).
+Set `persist` to `true` to save the theme preference in [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage). Use `persistKey` to specify a custom storage key.
## Custom theme
-Define keys and values in the `tokens` prop that override default Carbon theme tokens. Refer to the [Carbon website](https://carbondesignsystem.com/guidelines/themes/overview#customizing-a-theme) for guidance on customizing a theme using token values.
+Override default Carbon theme tokens by providing custom key-value pairs in the `tokens` prop. Refer to the [Carbon website](https://carbondesignsystem.com/guidelines/themes/overview#customizing-a-theme) for guidance on customizing themes.
## Theme toggle
-Set `render` to `"toggle"` to render a toggle switch to control the theme.
+Set `render` to `"toggle"` to display a toggle switch for switching between two themes. By default, it toggles between "white" and "g100" themes.
## Theme toggle (custom)
-Customize the toggle using the `toggle` prop.
+Customize the toggle appearance and behavior using the `toggle` prop. You can specify custom themes, labels, and other toggle properties.
## Theme select
-Set `render` to `"select"` to render a select dropdown to control the theme.
+Set `render` to `"select"` to display a dropdown menu for selecting from all available themes.
## Theme select (custom)
-Customize the select using the `select` prop.
+Customize the select dropdown using the `select` prop. You can specify which themes to include, customize labels, and adjust other select properties.
\ No newline at end of file