Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Integrate Npp's dark mode APIs #104

Closed
wants to merge 3 commits into from
Closed

Integrate Npp's dark mode APIs #104

wants to merge 3 commits into from

Conversation

rdipardo
Copy link

@rdipardo rdipardo commented Apr 26, 2023

Exposes the APIs available since Npp v8.4.1

This lets plugins customize WinForm controls that can't be reached
by Npp's native dark mode theming
molsonkiko added a commit to molsonkiko/NotepadPlusPlusPluginPack.Net that referenced this pull request Apr 28, 2023
Based on kbilsted#104
Rdipardo did all the hard work here, this is just a refinement.

This makes it easy for plugin makers to apply dark mode to all forms.
Rather than having to individually select themes
to apply for each control, sensible defaults are applied based on
each control's type.
This PR also allows the color changes to propagate recursively
to a form's child forms, if it has any.
@kbilsted
Copy link
Owner

should we go with #107 ?

@rdipardo
Copy link
Author

rdipardo commented May 19, 2023 via email

@rdipardo rdipardo closed this May 20, 2023
@rdipardo rdipardo deleted the feat/dark-mode-integration branch May 20, 2023 01:28
@rdipardo rdipardo restored the feat/dark-mode-integration branch May 28, 2023 08:58
molsonkiko added a commit to molsonkiko/NotepadPlusPlusPluginPack.Net that referenced this pull request Jun 20, 2023
Based on kbilsted#104
Rdipardo did all the hard work here, this is just a refinement.

This makes it easy for plugin makers to apply dark mode to all forms.
Rather than having to individually select themes
to apply for each control, sensible defaults are applied based on
each control's type.
This PR also allows the color changes to propagate recursively
to a form's child forms, if it has any.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants