import { SDT_TAILWIND_COLORS, TAILWIND_HOVER_COLOR } from './src/styles/colors'; import { TAILWIND_TYPOGRAPY } from './src/styles/typography'; import type { Config } from 'tailwindcss'; const plugin = require('tailwindcss/plugin'); 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))', }, colors: { ...SDT_TAILWIND_COLORS, }, }, }, plugins: [ plugin(function ({ addComponents }: { addComponents: any }) { addComponents({ ...TAILWIND_TYPOGRAPY, ...TAILWIND_HOVER_COLOR }); }), ], }; export default config;