MMnode/frontend/tailwind.config.ts
turtle89431 4ea8431cd0
Some checks are pending
Publish to Comfy registry / Publish Custom Node to registry (push) Waiting to run
init
2026-09-26 11:11:23 -07:00

18 lines
477 B
TypeScript

import path from 'path'
import { fileURLToPath } from 'url'
// This file lives in frontend/; one level up is the project root.
// Use import.meta.url (Node-compatible) instead of import.meta.dir (Bun-only).
const __dirname = path.dirname(fileURLToPath(import.meta.url))
const customNodeClass = path.basename(path.resolve(__dirname, '..')).toLowerCase()
export default {
important: `.${customNodeClass}`,
variants:{
extend: {
opacity: ['active'],
},
}
};