eexiv/tailwind.config.ts

34 lines
832 B
TypeScript
Raw Permalink Normal View History

2024-02-09 23:44:00 -08:00
import type { Config } from 'tailwindcss'
2024-02-09 19:00:26 -08:00
const config: Config = {
content: [
2024-02-09 23:44:00 -08:00
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
2024-02-09 19:00:26 -08:00
],
theme: {
extend: {
backgroundImage: {
2024-02-09 23:44:00 -08:00
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
2024-02-09 19:00:26 -08:00
},
},
},
2024-02-09 23:44:00 -08:00
plugins: [
function ({ addUtilities }: any) {
const newUtilities = {
'.no-link-style': {
color: 'inherit',
'&:hover': {
textDecoration: 'none',
},
},
// Add more custom utilities here
}
addUtilities(newUtilities, ['responsive', 'hover'])
},
],
}
export default config