KeSp_controller/ui/theme.slint
Mae PUGIN 32ee3a6d26 feat: Complete KeSp Controller — Slint UI port
Full port of the KaSe/KeSp split keyboard configurator from egui to Slint:
- 6 tabs: Keymap, Advanced, Macros, Stats, Settings, Flash
- Responsive keyboard view with scale-to-fit and key rotations
- Key selector popup with categorized grid, MT/LT builders, hex input
- Combo key picker with inline keyboard visual
- Macro step builder with visual tags
- Serial communication via background threads + mpsc polling
- Heatmap overlay with blue-yellow-red gradient
- OTA flasher with prog port VID filtering and partition selector
- WPM polling, Tamagotchi, Autoshift controls
- Dracula theme matching egui version

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 20:40:34 +02:00

23 lines
896 B
Text

// Dracula theme colors (matching the egui version)
export global Theme {
// Backgrounds
out property <color> bg-primary: #282a36;
out property <color> bg-secondary: #44475a;
out property <color> bg-surface: #1e1e2e;
// Text
out property <color> fg-primary: #f8f8f2;
out property <color> fg-secondary: #6272a4;
// Accents
out property <color> accent-purple: #bd93f9;
out property <color> accent-green: #50fa7b;
out property <color> accent-cyan: #8be9fd;
out property <color> accent-red: #ff5555;
out property <color> accent-yellow: #f1fa8c;
out property <color> accent-orange: #ffb86c;
out property <color> accent-pink: #ff79c6;
// UI elements
out property <color> connected: #50fa7b;
out property <color> disconnected: #ff5555;
out property <color> button-bg: #44475a;
out property <color> button-hover: #6272a4;
}