HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Common\UI Theme value should just be also changed for automatic dark theme.