diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index a4d434f..6f9a812 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -33,8 +33,8 @@ jobs:
run: |
msbuild /m /p:Configuration=Release /p:Platform=${{ matrix.build_platform }} ${{ env.SOLUTION_FILE_PATH }}
copy bin\${{ matrix.build_platform }}\Papyrus.dll .
- & "C:\Program Files\7-Zip\7z.exe" a PapyrusPlugin-${{ github.event.release.tag_name }}-${{ matrix.build_platform }}.zip Papyrus.dll Papyrus.xml extras
- & "C:\Program Files\7-Zip\7z.exe" a PapyrusPlugin-${{ github.event.release.tag_name }}-${{ matrix.build_platform }}-with-manuals.zip Papyrus.dll Papyrus.xml extras ..\*.md
+ & "C:\Program Files\7-Zip\7z.exe" a PapyrusPlugin-${{ github.event.release.tag_name }}-${{ matrix.build_platform }}.zip Papyrus.dll Papyrus.xml extras themes
+ & "C:\Program Files\7-Zip\7z.exe" a PapyrusPlugin-${{ github.event.release.tag_name }}-${{ matrix.build_platform }}-with-manuals.zip Papyrus.dll Papyrus.xml extras themes ..\*.md
- name: Upload release package
uses: actions/upload-release-asset@v1
diff --git a/Installation.md b/Installation.md
index 41f72bf..a273e69 100644
--- a/Installation.md
+++ b/Installation.md
@@ -16,6 +16,23 @@ launch Notepad++ and the plugin should be able to automatically copy *"Papyrus.x
*"plugins\config"* directory under Notepad++'s data folder, similar to the handling when it's installed by
*Plugins Admin*.
+**Dark Mode Note**
+
+Above instructions are for normal (light) mode. If using dark mode, manual handling is needed for now since
+Notepad++ doesn't handle themes/dark mode for external lexers' style configurations (see
+[this reported issue](https://github.com/notepad-plus-plus/notepad-plus-plus/issues/12190)). You need to
+perform either of the two following actions:
+- Use Notepad++'s *Style Configurator* dialog under *Settings* menu to change styles for Papyrus Script
+ manually (theme selector here doesn't really matter since Notepad++ always saves to the same style
+ configuration file for external lexers no matter what theme is currently selected, but for correctness
+ and proper UI styling you should choose *"DarkModeDefault"* in the theme selector).
+- Copy bundled *"Papyrus.xml"* file under *"themes\DarkModeDefault"* to *"plugins\config"* directory under
+ Notepad++'s data folder.
+
+**Note,** if you decide to switch back to normal mode you will need to do this again, i.e. use *Style
+Configurator* to configure the styles again (choose *"Default (styles.xml)"* theme in this case), or copy
+the bundled *"Papyrus.xml"* file to *"plugins\config"* directory under Notepad++'s data folder.
+
**WARNING:**
- Do not install versions prior to v0.3.0 if you are using Notepad++ v8.3+.
- Do not install v0.3.0+ if you are using a Notepad++ version prior to v8.3.
diff --git a/README.md b/README.md
index ad23a05..f5b6c13 100644
--- a/README.md
+++ b/README.md
@@ -97,6 +97,7 @@ enhancements, and made to work with the latest Notepad++ release.
*SKSE*, and even *SkyUI*.
- *Install function list support* - allows using *View -> Function List* menu to show all defined functions
in a Papyrus script file.
+- **[UI]** Dark mode support (partial, only dialog UIs are handled automatically for now).
### Future plan
- **[Lexer/Compiler]** [Papyrus Projects (PPJ)](https://www.creationkit.com/fallout4/index.php?title=Papyrus_Projects)
diff --git a/dist/themes/DarkModeDefault/Papyrus.xml b/dist/themes/DarkModeDefault/Papyrus.xml
new file mode 100644
index 0000000..8ee903e
--- /dev/null
+++ b/dist/themes/DarkModeDefault/Papyrus.xml
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+
+
+ ( ) [ ] , = + - * / % . ! > < | & as is
+ if else elseif endif while endwhile
+ bool float int string var
+ scriptname extends import debugonly betaonly default event endevent state endstate function endfunction global native struct endstruct property endproperty auto autoreadonly conditional hidden const mandatory group endgroup collapsed collapsedonref collapsedonbase new return length
+ none parent self true false
+ if while function struct property group event state
+ else elseif
+ endif endwhile endfunction native endstruct endproperty auto autoreadonly endgroup endevent endstate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Plugin/Common/Resources.hpp b/src/Plugin/Common/Resources.hpp
index b58bd37..312f283 100644
--- a/src/Plugin/Common/Resources.hpp
+++ b/src/Plugin/Common/Resources.hpp
@@ -24,7 +24,7 @@ along with this program. If not, see .
#define PLUGIN_NAME L"Papyrus"
#define MAJOR_VERSION 0
-#define MINOR_VERSION 4
+#define MINOR_VERSION 5
#define PATCH_VERSION 0
#define BUILD_NUMBER 0 // This number will be replaced by build script
#define PLUGIN_VERSION STR(MAJOR_VERSION) L"." STR(MINOR_VERSION) L"." STR(PATCH_VERSION)