29 lines
770 B
JavaScript
29 lines
770 B
JavaScript
/** @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
|
|
],
|
|
},
|
|
};
|