Files
TKB_plan/web/vite.config.ts
Docker Config Backup 0e01433965 feat: light/dark theme toggle (WIP)
CSS-override approach: light-mode rules in index.css target Tailwind utility
classes when body.light is present — no component rewrites. Theme persists
in localStorage. Toggle button next to FPD in toolbar.

Custom classes for elements that needed mode-specific styling:
- pms-cell (Práce mimo směnu cells)
- pms-label (rotated PMS column header)
- pms-week (week-row PMS cell, merges visually in light mode)
- schedule-wrapper (decouples table container from weekend cell tint)

Also: vite.config.ts proxy 3080 → 3090 to point at the TKB server.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 15:22:15 +02:00

13 lines
268 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
export default defineConfig({
plugins: [react(), tailwindcss()],
server: {
proxy: {
'/api': 'http://localhost:3090',
},
},
})