useThemeProvider is a custom hook that provides the current theme and a function to update it. It fetches the user settings to determine the initial theme and updates the user's theme preference.
An object containing the current theme and a function to update the theme.
Generated using TypeDoc
useThemeProvider is a custom hook that provides the current theme and a function to update it. It fetches the user settings to determine the initial theme and updates the user's theme preference.