portfolio/tailwind.config.ts

24 lines
540 B
TypeScript
Raw Normal View History

2024-03-09 18:51:15 +00:00
import { skeleton } from '@skeletonlabs/tw-plugin';
import { join } from 'path';
import type { Config } from 'tailwindcss';
2024-03-17 22:16:37 +00:00
import { medzikTheme } from './theme';
2024-03-09 18:51:15 +00:00
export default {
darkMode: 'class',
content: [
'./src/**/*.{html,js,svelte,ts}',
join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}')
],
theme: {
extend: {}
},
plugins: [
skeleton({
themes: {
2024-03-17 22:16:37 +00:00
custom: [medzikTheme]
2024-03-09 18:51:15 +00:00
}
})
]
} satisfies Config;