Files
cline/webview-ui/tailwind.config.js
T
2025-07-16 15:03:55 -07:00

28 lines
591 B
JavaScript

const { heroui } = require("@heroui/react")
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx,mdx}", "./node_modules/@heroui/theme/dist/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
fontFamily: {
"azeret-mono": ['"Azeret Mono"', "monospace"],
},
},
},
// Toggle dark-mode based on .dark class or data-mode="dark"
darkMode: ["class", '[data-mode="dark"]', '[class="vs-dark"]'],
plugins: [
heroui({
defaultTheme: "vscode",
themes: {
vscode: {
colors: {
background: "",
},
},
},
}),
],
}