Zenith is a collection of Tailwind CSS components and utilities that can be used to build modern web applications.
npm install @zenith-tailwind/reactZenith is a collection of Tailwind CSS components and utilities that can be used to build modern web applications.
Visit https://zenith-tailwind-storybook.online for documentation.
``sh`
npm install @zenith-tailwind/styles @zenith-tailwind/react
`sh`
yarn add @zenith-tailwind/styles @zenith-tailwind/react
tailwind.config.js
`js
const { withZenith } = require("@zenith-tailwind/react");
/* @type {import('tailwindcss').Config} /
module.exports = withZenith({
content: ["./src/*/.{js,jsx,ts,tsx}"],
// Toggle dark-mode based on data-mode="dark"
darkMode: ["class", '[data-mode="dark"]'],
theme: {
extend: {},
},
plugins: [],
});
``