Files
Portfolio/tailwind.config.js
T
damjan_savicandClaude Opus 4.5 b1ec7b4d61 Migrate from Vite to Next.js 15 with SSR
- Replace Vite + React Router with Next.js 15 App Router
- Implement i18n with next-intl (URL-based: /de, /en, /sr)
- Add SSR/SSG for all pages (48 static pages generated)
- Setup Supabase SSR client for auth
- Migrate all pages: Home, About, Portfolio, Blog, Contact, Login, Dashboard, Imprint, Privacy, Terms
- Add Docker support with standalone output
- Replace i18next with next-intl JSON translations
- Use next/image for optimized images

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 01:00:33 +01:00

81 lines
2.3 KiB
JavaScript

/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ["class"],
content: [
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
fontFamily: {
sans: ['Inter', 'system-ui', 'sans-serif'],
},
animation: {
'slide-up': 'slideUp 0.5s ease-out forwards',
'fade-in': 'fadeIn 0.3s ease-out forwards',
},
keyframes: {
slideUp: {
'0%': { transform: 'translateY(10px)' },
'100%': { transform: 'translateY(0)' },
},
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
},
colors: {
border: "rgb(var(--border))",
input: "rgb(var(--input))",
ring: "rgb(var(--ring))",
background: "rgb(var(--background))",
foreground: "rgb(var(--foreground))",
primary: {
DEFAULT: "rgb(var(--color-primary))",
dark: "rgb(var(--color-primary-dark))",
},
secondary: {
DEFAULT: "rgb(var(--color-secondary))",
gray: "rgb(var(--color-secondary-gray))",
fuzzy: "rgb(var(--color-secondary-fuzzy))",
},
text: {
DEFAULT: "rgb(var(--color-text))",
light: "rgb(var(--color-text-light))",
},
destructive: {
DEFAULT: "rgb(var(--destructive))",
foreground: "rgb(var(--destructive-foreground))",
},
muted: {
DEFAULT: "rgb(var(--muted))",
foreground: "rgb(var(--muted-foreground))",
},
accent: {
DEFAULT: "rgb(var(--accent))",
foreground: "rgb(var(--accent-foreground))",
},
popover: {
DEFAULT: "rgb(var(--popover))",
foreground: "rgb(var(--popover-foreground))",
},
card: {
DEFAULT: "rgb(var(--card))",
foreground: "rgb(var(--card-foreground))",
},
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
},
},
plugins: [
require("tailwindcss-animate"),
require("@tailwindcss/forms")({
strategy: "class",
}),
],
}