Skip to content

Conversation

@markivancho
Copy link

@markivancho markivancho commented May 16, 2025

Hey!
Something I would really benefit from, hopefully I'm not the only one who uses dark mode in the system but wants certain apps to be in light.

theme.select.mov

@markivancho
Copy link
Author

markivancho commented Jul 29, 2025

@rosa, any chances we can get this merged?

@rosa
Copy link
Member

rosa commented Jul 29, 2025

Hey @markivancho, sorry for the delay. I think this would need some changes. I'll try to review soon.

(function() {
var theme = localStorage.getItem("mission_control_theme") || "system";
document.documentElement.setAttribute("data-theme", theme);
})();
Copy link
Member

Choose a reason for hiding this comment

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

This should follow the gem's conventions, so that no JavaScript code is included directly like this.

@rosa
Copy link
Member

rosa commented Jul 29, 2025

What I don't like very much is that the new button takes up a whole row above everything, it's quite visible and important, when the default (system), should be ok for most people. I think it should be a lot more hidden, I just don't know where it'd go 🤔

@markivancho
Copy link
Author

What I don't like very much is that the new button takes up a whole row above everything, it's quite visible and important, when the default (system), should be ok for most people. I think it should be a lot more hidden, I just don't know where it'd go 🤔

Agree, I was struggling with the placement and decided to move forward with the simplest solution. If you have some better ideas, I will happily adjust the code

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.

2 participants