06-15-2023, 06:56 PM
(This post was last modified: 06-15-2023, 06:57 PM by joshuaboniface.)
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.
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.