eager-peach
eager-peach•14mo ago

Refine v4 Documentation

I just moved from Refine v3 to Refine v4 but I got confused by the new folder structure and I am searching a Documentation that explains every folder and page so that I can understand where to go to customize the layout of the sider and header, how to perform any customization. Is there this type of documentation?
12 Replies
kapa.ai
kapa.ai•14mo ago
Hi @ging_freecs. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
kapa.ai
kapa.ai•14mo ago
---------------------- Hmm, I don't know enough to give you a confident answer yet. However, you can refer to the Custom Layout (https://refine.dev/docs/advanced-tutorials/custom-layout) documentation for information on customizing the layout. For customizing the Sider and Header, you can check the SiderRenderFunction (https://refine.dev/docs/advanced-tutorials/custom-layout#siderrenderfunction) and Custom Header (https://refine.dev/docs/advanced-tutorials/multi-tenancy/strapi-v4#shop-select-to-sider-component-part-1) examples. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
Custom Layout | refine
refine supports any layout you want with no restrictions and also provides default layouts with its UI packages. You are free to use them or create your own with the help of refine's hooks and components. You can also use the swizzle command to customize the default layouts and adapt them to your needs.
Strapi-v4 | refine
What is Multitenancy?
kapa.ai
kapa.ai•14mo ago
<@296624290843983873> kapa.ai is still learning and improving, please let us how it did by reacting below
rare-sapphire
rare-sapphire•14mo ago
Theme | refine
Ant Design allows you to customize design tokens to satisfy UI diversity from business or brand requirements, including primary color, border radius, border color, etc.
Theme | refine
Theme specifies the color of the components, the darkness of the surfaces, level of shadow, appropriate opacity of ink elements, etc. You can either create your own Theme or use Themes that provide from refine. Theme provides a way to your app's design to meet them.
Theme | refine
Mantine theme is an object where your application's colors, fonts, spacing, border-radius and other design tokens are stored. You can either create your own theme object or use themes that provide from refine. Theme provides a way to your app's design to meet them.
Theme | refine
The theme object is where you define your application's color palette, type scale, font stacks, breakpoints, border radius values, and more. You can either create your own theme object or use theme that provide from refine. You can find more information about theme in Chakra UI documentation.
rare-sapphire
rare-sapphire•14mo ago
If you have a more specific question, please let me know 🚀
eager-peach
eager-peach•14mo ago
unfortunately when i try to modify the theme for material ui the header doesn't get the changes.
eager-peach
eager-peach•14mo ago
No description
eager-peach
eager-peach•14mo ago
@yildirayunlu
rare-sapphire
rare-sapphire•14mo ago
https://refine.dev/docs/api-reference/mui/theming/#create-custom-theme The demo here is working. You can take a sample.
eager-peach
eager-peach•14mo ago
Yes I am simply copy-pasting the code It seems like RefineThemes doesn't work for me. For example if I change the RefineThemes.Blue to RefineThemes.Green I get no changes
eager-peach
eager-peach•14mo ago
No description
eager-peach
eager-peach•14mo ago
@yildirayunlu Ok, I undestood the issue it was the ThemedLayoutV2 that needed to be wrapped up by ThemeProvider too!