set privacy.fingerprintingProtection.overrides='+AllTargets,-CSSPrefersColorScheme',
set privacy.fingerprintingProtection='true', and
set privacy.resistFingerprinting='false'.
As far as I know, privacy.resistFingerprinting and privacy.fingerprintingProtection behave the same with these overrides (minus enforced light mode), but I haven't found much documentation on this, so please let me know if they don't.
Dark mode will be remembered if cookies are remembered.
Resist blocks the website from knowing if your OS is light/dark so auto-dark/light, will be disabled unless resist is disabled.