Skip to content

feat: Add CSS variable-based dark mode logic#131

Merged
burinc merged 1 commit intoClojureCivitas:mainfrom
burinc:improve-dark-mode-ui
Nov 8, 2025
Merged

feat: Add CSS variable-based dark mode logic#131
burinc merged 1 commit intoClojureCivitas:mainfrom
burinc:improve-dark-mode-ui

Conversation

@burinc
Copy link
Copy Markdown
Collaborator

@burinc burinc commented Nov 8, 2025

Implement comprehensive dark mode support using CSS variables that respond to Quarto's theme toggle. Update 6 weather components with automatic light/dark theme switching for backgrounds, text, and borders.

  • Add theme-styles CSS injection to all weather components
  • Replace JS hover handlers with CSS pseudo-classes
  • Minor styling improvements to QR code scanner components
  • Still more to be updated for light/dark background (TBD)

Implement comprehensive dark mode support using CSS variables that
respond to Quarto's theme toggle. Update 6 weather components with
automatic light/dark theme switching for backgrounds, text, and borders.

- Add theme-styles CSS injection to all weather components
- Replace JS hover handlers with CSS pseudo-classes
- Minor styling improvements to QR code scanner components
@burinc burinc merged commit 9fde94d into ClojureCivitas:main Nov 8, 2025
@burinc burinc deleted the improve-dark-mode-ui branch November 9, 2025 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant