MantineHub(以前称为 Mantine Theme Builder)是一个开源工具,用于为 Mantine UI 组件创建现代、可自定义的深色主题。
MantineHub(以前称为 Mantine Theme Builder)是一个开源工具,用于为 Mantine UI 组件创建现代、可自定义的深色主题。
Mantine Hub(previously Theme Builder) is a complimentary tool for developers to make UI development with Mantine much more faster and easier. Initially created as an experimental project to simplify the process of modernizing Mantine's styling, MantineHub offers pre-configured themes inspired by Shadcn. With MantineHub, developers can quickly integrate modern styling into their projects by copying and pasting the theme configuration.
Due to the overwhelming positive feedback and community endorsment we’ve received, MantineHub has evolved into a comprehensive toolkit. It now supports all Mantine components and introduces exciting new features like Blocks—pre-built UI components designed to seamlessly work with the generated themes.
To use Mantine Theme Builder in your project, follow these steps:
Set up a new project with Mantine by following the official Mantine documentation:
Once your project is set up, open the MantineProvider (usually in src/App.js or src/App.tsx).
Copy the generated theme object from the Mantine Theme Builder website.
Replace or extend the theme object in your MantineProvider as follows:
import { MantineProvider } from '@mantine/core';
import { yourCustomTheme } from './your-custom-theme';
function App() {
return (
);
}
export default App;That's it! Your project will now use the customized theme.
We welcome contributions from the community! Feel free to submit issues or pull requests to improve this project. See our Contribution Guide for more details.
This project is licensed under the MIT License - see the LICENSE file for details.
暂无开放 Issues,或尚未同步最近议题。