mirror of
https://github.com/BradNut/boredgame
synced 2025-09-08 17:40:22 +00:00
17 lines
505 B
JavaScript
17 lines
505 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('@skeletonlabs/skeleton/tailwind/skeleton.cjs')()
|
|
]
|
|
};
|