Skip to content

I have 3 questions regarding customising theme colors, customising Sidebar and Google OAuth Provider in 4.x versions. #4647

Discussion options

You must be logged in to vote
  1. You can follow this documentation for theme switch. If you have any problem please provide a reproducible example for us to debug.
    Material UI: https://refine.dev/docs/api-reference/mui/theming/#dark-mode-toggle
    Mantine: https://refine.dev/docs/api-reference/mantine/theming/#theme-switching
    Chakra UI: https://refine.dev/docs/api-reference/chakra-ui/theming/#theme-switching
    Ant Design: https://refine.dev/docs/api-reference/antd/theming/#switching-to-dark-theme

  2. When you click the provider button from <AuthPage/>, it calls authProvider.login function with the providerName param. you need to handle Google login logic insideauthProvider

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@liushooter
Comment options

Answer selected by omeraplak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants