Regression from Issue [#3389403] Unpublished node in dark mode has light background
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3420753. --> Reported by: [eduardo morales alberti](https://www.drupal.org/user/3546420) Related to !387 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>We saw that now on light mode gin, the unpublished nodes are not highlighted as red, reviewing the HTML, the variable --gin-bg-unpublished is only defined in dark-mode.<br> The regression comes from commit <a href="https://git.drupalcode.org/project/gin/-/commit/3c18b1b09d864c1f4914ded1411af739c97a0a6f">https://git.drupalcode.org/project/gin/-/commit/3c18b1b09d864c1f4914ded1411af739c97a0a6f</a></p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>In our case we use entity_browser, the unpublished nodes are not highlighted in red.</p> <p>Steps<br> 1. Enable Gin theme<br> 2. Create a node and keep it unpublished.<br> 3. Check the view mode of the Node.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Define the variable also on the root variables.</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>Review/Commit</p> <h3 id="summary-ui-changes">User interface changes</h3> <p>Visual bug is fixed.</p> <h3 id="summary-api-changes">API changes</h3> <p>None</p> > Related issue: [Issue #3389403](https://www.drupal.org/node/3389403)
issue