Customize theme
Learn how MijnUI enables effortless customization of default themes.
MijnUI comes with two predefined themes: light and dark. The themes are highly flexible, allowing you to tailor them to meet your project's unique needs. You can also create entirely new themes based on the default ones.
Each theme is built using Color Tokens, providing you with a comprehensive framework for color customization.
Customizing Colors
You can customize color tokens, such as primary
and secondary
, to create a unique look for your application. Here's an example of modifying the dark theme in your tailwind.config.ts
:
Important:
When customizing colors, make sure to use only HSL values without color functions (e.g: hsl()
).