I have 3 questions regarding customising theme colors, customising Sidebar and Google OAuth Provider in 4.x versions. #4647
-
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
...
<Refine
...
resources={[
...
{
...
meta: {
...
icon: <CustomIcon />,
},
},
]}
...
>
...
</Refine>
... |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
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.login
function with theproviderName
param. you need to handle Google login logic insideauthProvider