Skip to content

Comments

Apps/roadmap/remove dark mode support#193

Closed
KyleCole90 wants to merge 1 commit intomainfrom
roadmap/remove-dark-mode
Closed

Apps/roadmap/remove dark mode support#193
KyleCole90 wants to merge 1 commit intomainfrom
roadmap/remove-dark-mode

Conversation

@KyleCole90
Copy link
Collaborator

Summary

  • Removes dark mode support from the roadmap app

Remove dark mode detection and styling so the roadmap app always renders
in light mode regardless of the user's system preference.

- Remove prefers-color-scheme dark media query from themeEditor.css
- Replace isDark useState with constant false in App.tsx
Copilot AI review requested due to automatic review settings January 7, 2026 17:57
@KyleCole90 KyleCole90 closed this Jan 7, 2026
@KyleCole90 KyleCole90 deleted the roadmap/remove-dark-mode branch January 7, 2026 17:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes dark mode support from the roadmap application by eliminating the dynamic detection of user color scheme preferences and hardcoding the light mode theme.

Key Changes:

  • Replaced dynamic dark mode state management with a hardcoded false value
  • Removed all dark mode CSS variables and media queries from the theme editor

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
apps/roadmap/src/App.tsx Removed dark mode detection logic using matchMedia and replaced stateful isDark with a constant set to false
apps/roadmap/public/themeEditor.css Removed the entire dark mode media query block containing CSS custom properties for dark theme styling


return () => mediaQuery.removeEventListener("change", handler);
}, []);
const isDark = false;
Copy link

Copilot AI Jan 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The isDark constant is now hardcoded to false, but it's still being passed to the Card, CardOverlay, and Loading components (lines 103, 113, and 120). Since dark mode support is being removed, consider removing the isDark prop from these components entirely and simplifying their implementations to only support light mode. This would eliminate dead code and reduce unnecessary conditional logic throughout the application.

Copilot uses AI. Check for mistakes.
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