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

Version Path
plutonium-0.15.22 tailwind.config.js
plutonium-0.15.21 tailwind.config.js
plutonium-0.15.20 tailwind.config.js
plutonium-0.15.19 tailwind.config.js
plutonium-0.15.18 tailwind.config.js
plutonium-0.15.17 tailwind.config.js
plutonium-0.15.16 tailwind.config.js
plutonium-0.15.15 tailwind.config.js
plutonium-0.15.14 tailwind.config.js
plutonium-0.15.13 tailwind.config.js
plutonium-0.15.12 tailwind.config.js
plutonium-0.15.11 tailwind.config.js
plutonium-0.15.10 tailwind.config.js
plutonium-0.15.9 tailwind.config.js
plutonium-0.15.8 tailwind.config.js