Visual editor for Mantine UI v7 themes with real-time preview. Still a work in progress :)
Give me a star in exchange for motivation.
- Live preview of changes
- (Pretty much) Full theme customization (colors, typography, spacing, components)
- Ready-to-use preset themes with thematically appropriate naming convention
- Export to JSON or TypeScript
- Multi-language support + language specific fonts for Chinese and Japanese.
- Go to the editor
- Select a theme from quickstart, upload a json/tsx file, or start from scratch
- Edit the theme to your liking, or don't
- Download the theme file with the download button
- Copy the theme json or ts into your project and load in like so (you will have to do some extra parsing if using json -- createTheme function):
// In your project
import { MantineProvider } from '@mantine/core';
import theme from './your-theme';
function App() {
return (
<MantineProvider theme={theme}>
{/* Your app */}
</MantineProvider>
);
}
- Pick a preset theme
- Choose a primary color
- Select fonts
- Set primary color
- Create custom colors
- Either standard or virtual, with options for the color shade generation behavior and the ability to edit each shade individually.
- Override Mantine colors
- Useful especially for colors like "dark" and "grey" which are used by default for most, if not all, components
- Configure gradients
- Set font families
- Customize heading styles
- Adjust spacing scale
- Set border radiuses
- Configure breakpoints
- Manage some accessibility settings
- Set default props
- Add style rules
- Target specific component parts
Colors that change between light/dark mode:
- Add new color with "+"
- Select "Virtual" type
- Pick different colors for light/dark
- Go to Components tab
- Select component
- Add props or style rules
Contributions welcome! This project is still evolving.
- Fork the repo
- Create a branch (
git checkout -b cool-feature
) - Commit changes (
git commit -m 'Add cool feature'
) - Push to branch (
git push origin cool-feature
) - Open a PR
Feel free to open issues for bugs or feature suggestions.
Have questions or suggestions? Open an issue or reach out directly. I'm open to feedback and happy to help with questions.
MIT