Repository navigation
I have 3 questions regarding customising theme colors, customising Sidebar and Google OAuth Provider in 4.x versions. #4647
Answered
by
alicanerdurmaz
kotharismeet-3
asked this question in
Q&A
|
Answered by
alicanerdurmaz
Jul 11, 2023
Replies: 2 comments 1 reply
...
<Refine
...
resources={[
...
{
...
meta: {
...
icon: <CustomIcon />,
},
},
]}
...
>
...
</Refine>
... |
0 replies
|
1 reply
Answer selected by
omeraplak
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

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
When you click the provider button from
<AuthPage/>, it callsauthProvider.loginfunction with theproviderNameparam. you need to handle Google login logic insideauthProvider