Skip to content

Commit

Permalink
feat: update tailwind config generated by ShadCN
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirHosseinKarimi committed Jan 13, 2024
1 parent 766e6d9 commit 25be7f2
Showing 1 changed file with 26 additions and 12 deletions.
38 changes: 26 additions & 12 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,35 @@
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}',
],
const config = {
darkMode: ['class'],
content: ['./src/**/*.{ts,tsx}'],
prefix: '',
theme: {
container: {
center: true,
padding: '2rem',
screens: {
'2xl': '1400px',
},
},
extend: {
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
keyframes: {
'accordion-down': {
from: { height: '0' },
to: { height: 'var(--radix-accordion-content-height)' },
},
'accordion-up': {
from: { height: 'var(--radix-accordion-content-height)' },
to: { height: '0' },
},
},
animation: {
'accordion-down': 'accordion-down 0.2s ease-out',
'accordion-up': 'accordion-up 0.2s ease-out',
},
},
},
plugins: [],
};
plugins: [require('tailwindcss-animate')],
} satisfies Config;

export default config;

0 comments on commit 25be7f2

Please sign in to comment.