blob: ce8ca4e9393e3ab591bbf732cd5a93df2492e4e8 [file] [log] [blame]
Giorgi Lekveishvilic77ec422023-05-30 13:21:15 +04001/** @type {import('tailwindcss').Config} */
2module.exports = {
3 // 1. Apply the dark mode class setting:
4 darkMode: 'class',
5 content: [
6 './src/**/*.{html,js,svelte,ts}',
7 // 2. Append the path for the Skeleton NPM package and files:
8 require('path').join(require.resolve(
9 '@skeletonlabs/skeleton'),
10 '../**/*.{html,js,svelte,ts}'
11 )
12 ],
13 theme: {
14 extend: {},
15 },
16 plugins: [
17 // 3. Append the Skeleton plugin to the end of this list
18 ...require('@skeletonlabs/skeleton/tailwind/skeleton.cjs')()
19 ]
20}