Skip to content

Commit

Permalink
fix: tw classes ignored in production storybook for dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Powerplex committed Mar 29, 2023
1 parent 12296f5 commit 65e5a2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .storybook/preview-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<style>
/* Enabled dark mode preview in story views */
html {
@apply !bg-background text-on-background;
background-color: rgb(var(--colors-background));
color: rgb(var(--colors-on-background));
}
</style>

Expand Down

0 comments on commit 65e5a2d

Please sign in to comment.