Skip to content

Commit

Permalink
Merge pull request #3918 from open-formulieren/chore/sb-dark-mode
Browse files Browse the repository at this point in the history
👽 [#3049] Ensure the data-theme attribute is set
  • Loading branch information
sergei-maertens authored Feb 21, 2024
2 parents 0a33957 + 651cfa4 commit 15cafe3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@
<link rel="stylesheet" href="./static/admin/css/forms.css" />
<link rel="stylesheet" href="./static/admin/css/widgets.css" />
<link rel="stylesheet" href="./static/admin/css/admin-index.css" />

<script defer>
document.documentElement.dataset.theme = 'auto';
</script>

0 comments on commit 15cafe3

Please sign in to comment.