auth.andert.me/tailwind.config.js
2023-07-28 11:27:52 +02:00

23 lines
549 B
JavaScript

/** @type {import('tailwindcss').Config} */
module.exports = {
// 1. Apply the dark mode class setting:
darkMode: 'class',
content: [
'./src/**/*.{html,js,svelte,ts}',
// 2. Append the path for the Skeleton NPM package and files:
require('path').join(require.resolve(
'@skeletonlabs/skeleton'),
'../**/*.{html,js,svelte,ts}'
)
],
theme: {
extend: {},
},
plugins: [
// 3. Append the Skeleton plugin to the end of this list
require('@tailwindcss/forms'),
...require('@skeletonlabs/skeleton/tailwind/skeleton.cjs')()
]
}