aea63c0b4b
Before making any changes to the logic of the code I've updated all dependencies and adjusted the configurations according to the migration documentation. I ensured that I can still run the npm scripts like before. Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
18 lines
480 B
JavaScript
18 lines
480 B
JavaScript
// @ts-check
|
|
import { join } from 'node:path';
|
|
|
|
import { skeleton } from '@skeletonlabs/tw-plugin';
|
|
import forms from '@tailwindcss/forms';
|
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
darkMode: 'class',
|
|
content: [
|
|
'./src/**/*.{html,js,svelte,ts}',
|
|
join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}')
|
|
],
|
|
theme: {
|
|
extend: {}
|
|
},
|
|
plugins: [require('@tailwindcss/forms'), require('@tailwindcss/typography'), forms, skeleton]
|
|
};
|