2023-08-23 08:12:52 +00:00
|
|
|
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');
|
2023-08-23 07:50:10 +00:00
|
|
|
|
|
|
|
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))',
|
|
|
|
},
|
2023-08-23 08:12:52 +00:00
|
|
|
colors: {
|
|
|
|
...SDT_TAILWIND_COLORS,
|
|
|
|
},
|
2023-08-23 07:50:10 +00:00
|
|
|
},
|
|
|
|
},
|
2023-08-23 08:12:52 +00:00
|
|
|
plugins: [
|
|
|
|
plugin(function ({ addComponents }: { addComponents: any }) {
|
|
|
|
addComponents({ ...TAILWIND_TYPOGRAPY, ...TAILWIND_HOVER_COLOR });
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
};
|
|
|
|
export default config;
|