D&D Forums - MyBB Plugins & Themes
Dark Extended - Printable Version

+- D&D Forums - MyBB Plugins & Themes (https://developement.design/forum)
+-- Forum: MyBB Ressources (https://developement.design/forum/forumdisplay.php?fid=5)
+--- Forum: Premium MyBB Themes (https://developement.design/forum/forumdisplay.php?fid=9)
+---- Forum: Support (https://developement.design/forum/forumdisplay.php?fid=18)
+---- Thread: Dark Extended (/showthread.php?tid=27996)



Dark Extended - joogie - 05-14-2023

So i changed the defualt color of the dark extended theme via the plugin. When ever you refresh the page or click to go somewhere else it flashes the default green color still. its a quick flash and then back to the color i used


RE: Dark Extended - joshuaboniface - 06-15-2023

Ran into this myself. The flash is because the override is being loaded from a separate CSS file later in the load order.

I suppose there's two ways to get rid of it: an "easy" way, and a "hard" way. I chose the "hard" way.

The "easy" way would be to speed up the loading of that CSS, likely by loading it just below the "globlal.css" for the theme and then increasing the speed at which browsers load this CSS override via CDN caching, etc. Not tested to confirm.

The "hard" way is to edit global.css and replace all instances of the green colour ("#27ae60") with the colour you want. This makes it harder to change the colour later on, but ensures that this is the only colour that is loaded by the theme.