Repository navigation
v1.5.1 - Dark Mode Accessibility & Theme Persistence Fix
🎨 Dark Mode Accessibility Improvements
This patch release significantly improves dark mode readability and fixes theme persistence across page navigations.
Bug Fixes
Improved Text Contrast
- Increased
muted-foregroundcontrast from 60% to 71% lightness for better readability - All headings (h1-h6), paragraphs, lists, tables, and blockquotes now have explicit high-contrast colors in dark mode
- Added Tailwind Typography prose variables for consistent dark mode styling
Visible Borders & Lines
- Increased border visibility from 12% to 25% lightness
- Table borders, card outlines, blockquote lines, and dividers are now clearly visible in dark mode
Theme Persistence Fix
- Fixed: Theme selection now persists correctly when navigating between pages using View Transitions
- Fixed: Explicit "light" mode choice now properly overrides system dark mode preference
- Applied fix to all layout templates (Base, FullWidth, Auth, Minimal)
Files Changed
src/styles/globals.css- Dark mode contrast improvementssrc/layouts/BaseLayout.astro- Theme persistence fixsrc/layouts/FullWidthLayout.astro- Theme persistence fixsrc/layouts/AuthLayout.astro- Theme persistence fixsrc/layouts/MinimalLayout.astro- Theme persistence fix
Upgrade
No breaking changes. Simply pull the latest version:
npx degit holger1411/astrodeck my-projectOr download directly: v1.5.1.zip