mohzy83/NppMarkdownPanel

Fails to pick up Dark Mode in Npp

Closed this issue · 4 comments

Bug:

Plugin fails to apply style-dark.css when dark mode is enabled in Npp (v8.2, 32 bit)

As a workaround I just set the default stylesheet to the dark one, but it isn't detecting the switch within Npp. I'll post back after a PC restart, maybe that will fix it.

Win10 v1709

1709 has been dead for almost 3y ...

The plugin detects the dark mode with an API which was added in version 8.4.1 of NPP.
See here: https://npp-user-manual.org/docs/plugin-communication/#nppm-isdarkmodeenabled
Means dark mode support doesn't work with version 8.2
Is it possible for you to upgrade your npp version?
grafik

Is it possible for you to upgrade your npp version?

Done! All working perfectly now! Thank you! Would it be possible to add a note to the Readme, e.g. "automatic dark/light mode switching supported in NPP v8.4.1+, earlier versions require manual switching or setting style-dark.css as default"?

Done! All working perfectly now! Thank you!
Would it be possible to add a note to the Readme, e.g. "automatic dark/light mode switching supported in NPP v8.4.1+,
earlier versions require manual switching or setting style-dark.css as default"?

Great!
Sure I will add a note to the Readme.