lessmsi icon indicating copy to clipboard operation
lessmsi copied to clipboard

Dark mode coming soon?

Open DARO75 opened this issue 3 months ago • 6 comments

Awesome tool Scott. A dark mode would be desirable! Can this be implemented? THX

DARO75 avatar Sep 25 '25 03:09 DARO75

Hi @DARO75, thank you for opening this ticket.

I've implemented a first version of the dark mode feature for LessMSI, and it looks like this: Image

@activescott, I've used the dark mode logic provided by Dark-Mode-Forms, which is an open source project.

What both of you think about the shown result? Scott, should I open a PR with my implementation based on the Dark-Mode-Forms project?

Thanks.

mega5800 avatar Nov 15 '25 18:11 mega5800

I love the feature. Doesn't windows support dark mode though? Why can't we use some built-in feature like https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.application.setcolormode?view=windowsdesktop-9.0 ?

activescott avatar Nov 15 '25 23:11 activescott

Hi @activescott

The dark mode feature for windows forms, is experimental and only available in newer versions of.net.

https://learn.microsoft.com/en-us/dotnet/desktop/winforms/whats-new/net90#dark-mode

mega5800 avatar Nov 16 '25 06:11 mega5800

@mega5800 Rather than pick up a new dependency (Dark-Mode-Forms) that we'll have to maintain, I think this is actually a good reason to consider upgrading to .NET 9. I did some reading and have some more discussion related to that upgrade, but since it is not really related to Dark Mode, lets continue that discussion for now in #236. I'll post more information there here in a minute.

activescott avatar Nov 16 '25 22:11 activescott

I still think best to use what Microsoft provides for dark mode. Fine to use experimental for now or wait for 10.

activescott avatar Nov 22 '25 16:11 activescott

Hi Scott.

I agree we should use the latest .net version. However, as Kobi-Blade pointed out, we'll have some work to do in order to address the migration issues.

Let's see what we can do in order to handle them.

Thanks.

mega5800 avatar Nov 22 '25 17:11 mega5800