Skip to main content

Theming

Learn how to customize our components effortlessly to make them your own.

Via CLI upon project creation

When initializing a new project using the Mavka CLI tool, you’ll be asked to choose a color palette from our already defined set:

Manually

If you’ve already created a Mavka project and would like to change the brand color to something else, you can just duplicate one of the pre-defined color palettes and rename it to --color-brand-* in your theme.css file:
theme.css

FAQs

Can I define a completely custom palette?

Yes, you can define your own custom color palette by modifying the CSS variables in your theme file. Just make sure to define all the necessary color shades (from 25 to 950) for a consistent look.

Do I need to restart my development server?

In most cases, you don’t need to restart. The changes should be applied automatically when you save the CSS file.

Does this affect dark mode?

Yes, our theming system is designed to work seamlessly with dark mode. When you change the theme colors, both light and dark mode will be updated appropriately.

Can I use multiple themes?

Yes, you can create multiple theme files and apply them to different parts of your application using CSS scoping techniques.