Files
www_veda_2025/tailwind.config.js
2025-08-28 15:16:50 +02:00

98 lines
2.8 KiB
JavaScript

const headlessuiPlugin = require('@headlessui/tailwindcss');
const formsPlugin = require('@tailwindcss/forms');
const aspectRatioPlugin = require('@tailwindcss/aspect-ratio');
const typographyPlugin = require('@tailwindcss/typography'); // Correctly import the typography plugin
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
fontSize: {
xs: ['0.75rem', { lineHeight: '1rem' }],
sm: ['0.875rem', { lineHeight: '1.5rem' }],
base: ['1rem', { lineHeight: '1.75rem' }],
lg: ['1.125rem', { lineHeight: '2rem' }],
xl: ['1.25rem', { lineHeight: '2rem' }],
'2xl': ['1.5rem', { lineHeight: '2rem' }],
'3xl': ['2rem', { lineHeight: '2.5rem' }],
'4xl': ['2.5rem', { lineHeight: '3.5rem' }],
'5xl': ['3rem', { lineHeight: '3.5rem' }],
'6xl': ['3.75rem', { lineHeight: '1' }],
'7xl': ['4.5rem', { lineHeight: '1.1' }],
'8xl': ['6rem', { lineHeight: '1' }],
'9xl': ['8rem', { lineHeight: '1' }],
},
extend: {
borderRadius: {
'4xl': '2rem',
},
fontFamily: {
sans: ['Montserrat', 'sans-serif'],
display: ['Montserrat', 'sans-serif'],
vollkorn: ['var(--font-vollkorn)', 'serif'],
},
maxWidth: {
'2xl': '40rem',
},
colors: {
// New Earth Tone Palette
'primary-olive': '#7B8D42',
'primary-terracotta': '#B54A38',
'secondary-sage': '#9BAE73',
'secondary-gold': '#C49A5A',
'bg-sand': '#F3EEE7',
'bg-clay': '#D1CFC5',
'bg-stone': '#D8D8CE',
'bg-darkbrown': '#3B2A2A',
'darksand': '#E7E2DB',
'accent-teal': '#5A7D80',
'accent-sky': '#A2B7C7',
'text-dark': '#2C2C2C',
'nav-dark': '#301d00',
// Keep existing colors for backward compatibility
gold: {
50: '#FFC876', // Lightest shade
100: '#F5B74F',
200: '#D79A3E',
300: '#CE933A',
400: '#C78E38',
500: '#B78333',
600: '#A7772F',
700: '#9E702B',
800: '#916627',
900: '#8A6226',
},
slate: {
900: '#1F2937',
200: '#E4E7EB',
},
creme: {
900: '#e3dfda',
600: '#FEFAF5',
200: '#fffdfb',
},
darkgr: {
DEFAULT: '#1f4922',
50: '#f0f9f1',
100: '#dcf2de',
200: '#bce5c1',
300: '#8dd196',
400: '#57b464',
500: '#359a42',
600: '#287d32',
700: '#245527',
800: '#1f5025',
900: '#1f4922',
950: '#0f1f11',
},
},
},
},
plugins: [
formsPlugin,
headlessuiPlugin,
aspectRatioPlugin,
typographyPlugin, // Correctly added typography plugin here
],
};