eexiv/tailwind.config.ts
2024-02-09 23:44:00 -08:00

33 lines
832 B
TypeScript

import type { Config } from 'tailwindcss'
const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
},
},
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