website/tailwind.config.js

29 lines
770 B
JavaScript
Raw Permalink Normal View History

2024-10-25 13:33:40 +02:00
/** @type {import('tailwindcss').Config} */
import catppuccin from '@catppuccin/daisyui';
export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {}
},
plugins: [
// eslint-disable-next-line @typescript-eslint/no-require-imports
require('@catppuccin/tailwindcss')({
// prefix to use, e.g. `text-pink` becomes `text-ctp-pink`.
// default is `false`, which means no prefix
prefix: 'ctp',
// which flavour of colours to use by default, in the `:root`
defaultFlavour: 'mocha'
}),
// eslint-disable-next-line @typescript-eslint/no-require-imports
require('daisyui')
],
daisyui: {
themes: [
catppuccin('mocha', { primary: 'lavender', secondary: 'green' }), // Put this last
],
},
};