107 lines
3.2 KiB
TypeScript
107 lines
3.2 KiB
TypeScript
import type { Config } from 'tailwindcss'
|
|
import animate from 'tailwindcss-animate'
|
|
|
|
const config: Config = {
|
|
darkMode: ['class'],
|
|
content: [
|
|
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
|
|
'./components/**/*.{js,ts,jsx,tsx,mdx}',
|
|
'./app/**/*.{js,ts,jsx,tsx,mdx}',
|
|
],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
// Vesta Muğla brand colors
|
|
vesta: {
|
|
cream: '#F5F0E8',
|
|
sand: '#D4C5A9',
|
|
earth: '#8B7355',
|
|
forest: '#2D4A2D',
|
|
dark: '#1A1A1A',
|
|
mist: '#E8EDF0',
|
|
},
|
|
background: 'hsl(var(--background))',
|
|
foreground: 'hsl(var(--foreground))',
|
|
card: {
|
|
DEFAULT: 'hsl(var(--card))',
|
|
foreground: 'hsl(var(--card-foreground))',
|
|
},
|
|
popover: {
|
|
DEFAULT: 'hsl(var(--popover))',
|
|
foreground: 'hsl(var(--popover-foreground))',
|
|
},
|
|
primary: {
|
|
DEFAULT: 'hsl(var(--primary))',
|
|
foreground: 'hsl(var(--primary-foreground))',
|
|
},
|
|
secondary: {
|
|
DEFAULT: 'hsl(var(--secondary))',
|
|
foreground: 'hsl(var(--secondary-foreground))',
|
|
},
|
|
muted: {
|
|
DEFAULT: 'hsl(var(--muted))',
|
|
foreground: 'hsl(var(--muted-foreground))',
|
|
},
|
|
accent: {
|
|
DEFAULT: 'hsl(var(--accent))',
|
|
foreground: 'hsl(var(--accent-foreground))',
|
|
},
|
|
destructive: {
|
|
DEFAULT: 'hsl(var(--destructive))',
|
|
foreground: 'hsl(var(--destructive-foreground))',
|
|
},
|
|
border: 'hsl(var(--border))',
|
|
input: 'hsl(var(--input))',
|
|
ring: 'hsl(var(--ring))',
|
|
},
|
|
fontFamily: {
|
|
sans: ['var(--font-sans)', 'system-ui', 'sans-serif'],
|
|
serif: ['var(--font-serif)', 'Georgia', 'serif'],
|
|
display: ['var(--font-display)', 'system-ui', 'sans-serif'],
|
|
},
|
|
borderRadius: {
|
|
lg: 'var(--radius)',
|
|
md: 'calc(var(--radius) - 2px)',
|
|
sm: 'calc(var(--radius) - 4px)',
|
|
},
|
|
animation: {
|
|
'accordion-down': 'accordion-down 0.2s ease-out',
|
|
'accordion-up': 'accordion-up 0.2s ease-out',
|
|
'fade-up': 'fade-up 0.8s ease-out forwards',
|
|
'fade-in': 'fade-in 1s ease-out forwards',
|
|
'cloud-left': 'cloud-left 1s ease-in-out forwards',
|
|
'cloud-right': 'cloud-right 1s ease-in-out forwards',
|
|
},
|
|
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' },
|
|
},
|
|
'fade-up': {
|
|
from: { opacity: '0', transform: 'translateY(30px)' },
|
|
to: { opacity: '1', transform: 'translateY(0)' },
|
|
},
|
|
'fade-in': {
|
|
from: { opacity: '0' },
|
|
to: { opacity: '1' },
|
|
},
|
|
'cloud-left': {
|
|
from: { transform: 'translateX(0)', opacity: '1' },
|
|
to: { transform: 'translateX(-120%)', opacity: '0' },
|
|
},
|
|
'cloud-right': {
|
|
from: { transform: 'translateX(0)', opacity: '1' },
|
|
to: { transform: 'translateX(120%)', opacity: '0' },
|
|
},
|
|
},
|
|
},
|
|
},
|
|
plugins: [animate],
|
|
}
|
|
|
|
export default config
|