Dark mode is a user interface theme that uses dark backgrounds and light text. It reduces eye strain
in low-light environments and provides a modern aesthetic.
⚡ Key Features
✅ Toggle between light and dark modes ✅ Smooth CSS transitions ✅ localStorage persistence ✅
CSS custom properties (variables) ✅ Responsive design
🎨 Easy to Customize
Change colors easily by modifying CSS variables. The entire theme updates instantly across all
components with smooth transitions.
🎨 Color Palette
These colors automatically switch when you toggle dark mode:
Primary #3b82f6
Background
Card BG
📝 Implementation
Here's how to implement dark mode using CSS variables: