Anvil/tailwind.config.js

19 lines
480 B
JavaScript
Raw Permalink Normal View History

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