Prevent flash of unstyled content by refactoring the code
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3489397. -->
Reported by: [xmacinfo](https://www.drupal.org/user/12131)
Related to !15
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>On slower computers, a flash of unstyled content (FOUC) is visible when switching a page.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Load the JavaScript code loading the colour scheme class name directly in the HTML tag.</p>
<p>Refactor the CSS selectors to take into account the new location of the configured colour scheme class name.</p>
issue