pockethost/packages/dashboard/tailwind.config.cjs
2024-06-05 10:15:29 -07:00

50 lines
1.1 KiB
JavaScript

/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{svelte,js,ts,md}'],
safelist: [`lg:pl-72`],
theme: {
extend: {
animation: {
text: 'text 5s ease infinite',
},
keyframes: {
text: {
'0%, 100%': {
'background-size': '200% 200%',
'background-position': 'left center',
},
'50%': {
'background-size': '200% 200%',
'background-position': 'right center',
},
},
},
},
},
daisyui: {
themes: [
'light',
'dark',
{
// Custom theme definitions
dark: {
...require('daisyui/src/theming/themes')['dark'],
primary: '#1eb854',
secondary: '#1db990',
'base-content': '#ffffff',
},
},
{
// Custom theme definitions
light: {
...require('daisyui/src/theming/themes')['light'],
primary: '#1eb854',
secondary: '#1db990',
'base-content': '#222',
},
},
],
},
plugins: [require('@tailwindcss/typography'), require('daisyui')],
}