Sha256: 9719d507ddf0be31a718a344e9996f07b6b0525ab14bd5596145724522e57a8f
Contents?: true
Size: 590 Bytes
Versions: 15
Compression:
Stored size: 590 Bytes
Contents
/** @type {import('tailwindcss').Config} */ const tailwindPlugin = require('tailwindcss/plugin') const options = require("./tailwind.options.js") export const content = options.content export const darkMode = options.darkMode export const plugins = options.plugins.map(function (plugin) { switch (typeof plugin) { case "function": return tailwindPlugin(plugin) case "string": return require(plugin) default: throw Error(`unsupported plugin: ${plugin}: ${(typeof plugin)}`) } }) export const theme = options.theme export const safelist = options.safelist
Version data entries
15 entries across 15 versions & 1 rubygems