A tailwindcss plugin to bring Mantine and Tailwind CSS together with ease.
npm install @hpnzm/tailwind-plugin-mantine
# or
yarn add @hpnzm/tailwind-plugin-mantine
// mantine-theme.ts
export const theme = createTheme({
// Put your mantine theme override here
});
// tailwind.config.ts
import type { Config } from "tailwindcss";
import pluginMantine from "@hpnzm/tailwind-plugin-mantine";
import { theme } from "./mantine-theme";
const config: Config = {
// ...
plugins: [pluginMantine(theme)],
// ...
};
export default config;
This repository use Sajarin-M's as a starting point.