2023-07-27 07:30:30 +00:00
|
|
|
|
2023-07-19 09:42:47 +00:00
|
|
|
/** @type {import('tailwindcss').Config} */
|
2023-07-27 07:30:30 +00:00
|
|
|
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('@skeletonlabs/skeleton/tailwind/skeleton.cjs')()
|
|
|
|
]
|
|
|
|
}
|