From 745312e95cf20b79a797f0da00ab79d25725553b Mon Sep 17 00:00:00 2001 From: shubham-eaton Date: Fri, 6 Dec 2024 12:22:08 +0530 Subject: [PATCH] Updated readme to refer blui react theme for advance confiuguration --- login-workflow/docs/theme.md | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/login-workflow/docs/theme.md b/login-workflow/docs/theme.md index 13a250e8..cd253c91 100644 --- a/login-workflow/docs/theme.md +++ b/login-workflow/docs/theme.md @@ -74,27 +74,4 @@ return( ); ``` -By Default the theme will take system's mode. To set your mode(light/dark), make use of `useColorScheme()` hook to set and use theme modes using helpers `mode` & `setMode` of `useColorScheme()`. - -## Example to use useColorScheme() hook - -```tsx -import { useEffect } from 'react'; -import { useColorScheme } from '@mui/material/styles'; - -export const App = (): JSX.Element => { - const { setMode } = useColorScheme(); - - useEffect(() => { - setMode('light'); - }, []); - - return ( - <> - - - - - ); -}; -``` +For more configuration, please refer to the [BLUI React Themes README](https://github.com/etn-ccis/blui-react-themes/blob/dev/README.md).