The delay (or flash) is coming because of caching plugin.
In your caching plugin, try to exclude DarkMySite’s inline CSS, JS and things will be fixed.
Below class names are used in DarkMySite’s inline CSS and JS:
darkmysite_inline_css
darkmysite_inline_js
And the CSS & JavaScript filename used for the process is:
/wp-content/plugins/darkmysite/assets/css/client_main.css
/wp-content/plugins/darkmysite/assets/js/client_main.js
In your caching plugin, you must have ways to exclude delay loading on this files and inline class.