Anvil/tailwind.config.js
André Jaenisch aea63c0b4b
build: upgrade all dependencies
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>
2023-12-20 23:18:17 +01:00

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]
};