Add oleacc for darkmode

This commit is contained in:
2025-12-30 14:15:25 +01:00
parent 72d65e6118
commit 29ee808337
4 changed files with 34 additions and 1 deletions

2
.gitattributes vendored
View File

@@ -33,4 +33,4 @@ pyfa.py text eol=lf
*.jpg binary
*.icns binary
*.ico binary
*.dll filter=lfs diff=lfs merge=lfs -text

View File

@@ -23,6 +23,8 @@ rm -rf build dist
echo "Building binary with PyInstaller..."
uv run pyinstaller pyfa.spec
cp oleacc* dist/pyfa/
echo ""
echo "Build complete! Binary is located at: dist/pyfa/pyfa.exe"
echo "You can run it with: dist/pyfa/pyfa.exe"

BIN
oleacc.dll LFS Normal file

Binary file not shown.

28
oleacc.ini Normal file
View File

@@ -0,0 +1,28 @@
;
; Pyfa mod Darkmode settings
;
; ActiveThemePalette [OPTIONAL, Boolean, Default=1]
; Indicate which of the available color themes to use. (ex. "ActiveThemePalette = 3" to use the LicoriceBlue color theme)
; Available color themes: 1 = BlackBeauty, 2 = Licorice, 3 = LicoriceBlue, 4 = BlackBeauty
;
; OverrideThemePalette [OPTIONAL, Comma separated string]
; Specify a string of (5) comma separated RGB hex colors to use as theme palette, ordered from darkest to lightest.
; Valid RGB hex format prefix are #, 0x or nothing.
; (ex. OverrideThemePalette = #521ecc, #e68ca1, #1a2070, #a85294, #aaccb5)
;
; EnableCustomControls[OPTIONAL, Boolean, Default = true]
; Indicates if the standard windows controls will be colored by the active theme palette.
;
; UseExperimentalDarkmode [OPTIONAL, Boolean, Default = true]
; Implementation of some undocumented windows api call, to force certain apps into a darkmode state.
;
; EnableLogging [OPTIONAL, Boolean, Default = false]
; Write log output to a .log file.
;
[settings]
ActiveThemePalette = 1
OverrideThemePalette = #521ecc, #EE3460, #1a2070, #a85294, #aaccb5
EnableCustomControls = true
UseExperimentalDarkmode = true
EnableLogging = false