This script is for devilspie2. It will match desired windows by class, and then apply the dark theme on them.
Move specific-dark-theme-applications.lua to ~/.config/devilspie2/.
Edit the desiredWindowClasses variable in the file to change which applications this script matches.