Files
dealplustech-astro/tailwind.config.js
Kunthawat ee4f3e9c51 Fix all product pages with REAL crawled content
✅ Regenerated 34 product pages with actual crawled content
✅ Mapped correct product images to each page (1,348 images)
✅ Green color theme from original logo
✅ Mega menu with proper categories
✅ Homepage with PPR product images (not banners)
✅ Footer with main categories only
✅ Logo without text

Fixed issues:
- All product pages now use REAL content from dealplustech.co.th
- Product images mapped correctly (not logo!)
- Green theme (#3f8b6d) matches original website
- All 1,348 images available in /images/products-misc/
2026-03-14 09:43:06 +07:00

84 lines
2.4 KiB
JavaScript

/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
fontFamily: {
sans: ['Kanit', 'sans-serif'],
},
colors: {
primary: {
50: '#f0fdf4',
100: '#dcfce7',
200: '#bbf7d0',
300: '#86efac',
400: '#4ade80',
500: '#3f8b6d', // Original green from dealplustech.co.th
600: '#3aaf55', // Bright green accent
700: '#2f855a',
800: '#276749',
900: '#22543d',
},
accent: {
50: '#fff7ed',
100: '#ffedd5',
200: '#fed7aa',
300: '#fdba74',
400: '#fb923c',
500: '#e35c18', // Original orange from dealplustech.co.th
600: '#c2410c',
700: '#9a3412',
800: '#7c2d12',
900: '#431407',
},
secondary: {
50: '#f8fafc',
100: '#f1f5f9',
200: '#e2e8f0',
300: '#cbd5e1',
400: '#94a3b8',
500: '#64748b',
600: '#475569',
700: '#334155',
800: '#1e293b',
900: '#0f172a',
},
},
fontSize: {
base: ['18px', { lineHeight: '1.6' }],
sm: ['16px', { lineHeight: '1.5' }],
lg: ['20px', { lineHeight: '1.7' }],
xl: ['24px', { lineHeight: '1.8' }],
'2xl': ['30px', { lineHeight: '1.3' }],
'3xl': ['36px', { lineHeight: '1.2' }],
'4xl': ['48px', { lineHeight: '1.1' }],
},
animation: {
'fade-in': 'fadeIn 0.6s ease-out',
'slide-up': 'slideUp 0.6s ease-out',
'slide-down': 'slideDown 0.4s ease-out',
'scale-in': 'scaleIn 0.3s ease-out',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideUp: {
'0%': { opacity: '0', transform: 'translateY(20px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
slideDown: {
'0%': { opacity: '0', transform: 'translateY(-10px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
scaleIn: {
'0%': { opacity: '0', transform: 'scale(0.95)' },
'100%': { opacity: '1', transform: 'scale(1)' },
},
},
},
},
plugins: [],
};