Overview
PolygonKit components are designed to be easily customizable. You can theme them using Tailwind CSS, CSS variables, or custom CSS.Using Tailwind CSS
All PolygonKit components accept aclassName prop for Tailwind styling:
Custom Theme
Create a custom theme by overriding default styles:Component-Specific Styling
ConnectWallet Button
Identity Component
Transaction Button
Dark Mode
PolygonKit components support dark mode out of the box with Tailwind:Global Styles
Apply global styles to all PolygonKit components:Best Practices
Use Consistent Colors
Use Consistent Colors
Use colors from your design system to maintain visual consistency.
Consider Accessibility
Consider Accessibility
Ensure sufficient color contrast for text and interactive elements.
Test Both Modes
Test Both Modes
Test your theme in both light and dark mode.
Mobile Responsiveness
Mobile Responsiveness
Ensure styles work well on mobile devices.