Files
vontor-cz/frontend/tailwind.config.js
Brunobrno 3e4d58f80d Update URLs, Docker config, and Tailwind setup
Added static and media file serving and Silk profiling in Django URLs. Updated docker-compose to mount backend/frontend code, adjust commands, and switch to 'trznice' app references. Enhanced Tailwind config to extend default colors and import defaultTheme.
2026-01-29 01:31:33 +01:00

41 lines
1.2 KiB
JavaScript

import defaultTheme from 'tailwindcss/defaultTheme'
/** @type {import('tailwindcss').Config} */
export default {
content: [
'./index.html',
'./src/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/layouts/**/*.{js,ts,jsx,tsx}',
'./src/App.tsx',
],
theme: {
extend: {
fontFamily: {
inter: ['Inter', 'ui-sans-serif', 'system-ui'],
},
backgroundImage: {
brandGradient: 'linear-gradient(135deg, var(--c-boxes), var(--c-other))',
brandGlass: 'linear-gradient(180deg, color-mix(in hsl, var(--c-background-light), transparent 30%), color-mix(in hsl, black, transparent 70%))'
},
colors: {
// Keep all default Tailwind colors (including yellow)
...defaultTheme.colors,
// Add your custom brand colors
brand: {
bg: 'var(--c-background)',
bgLight: 'var(--c-background-light)',
boxes: 'var(--c-boxes)',
lines: 'var(--c-lines)',
text: 'var(--c-text)',
accent: 'var(--c-other)',
}
},
boxShadow: {
glow: '0 0 24px -6px rgba(112,162,136,0.35)',
}
}
},
plugins: [],
};