From c1d2a05e4c2bd431a6d1dda2afdda10d728494c5 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Thu, 26 Sep 2024 19:37:07 -0700 Subject: [PATCH] Override bg color on light vs dark mode storybook (#884) --- .storybook/preview-head.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.storybook/preview-head.html b/.storybook/preview-head.html index 921f19209..28bf535fa 100644 --- a/.storybook/preview-head.html +++ b/.storybook/preview-head.html @@ -12,4 +12,14 @@ } } } + + body { + background-color: #ffffff !important; + } + + html.dark { + body { + background-color: #222222 !important; + } + }