Skip to content

Commit

Permalink
Fix dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
titouanmathis committed Jul 10, 2024
1 parent b075053 commit 23538b7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
data_option_tailwindcss: tailwindcss ?? false,
data_option_sync_color_scheme: syncColorScheme ?? false,
data_option_import_map: importMap ?? {},
class: 'relative w-full flex flex-grow items-center justify-center bg-white is-resizing:pointer-events-none'
class: 'relative w-full flex flex-grow items-center justify-center bg-zinc-100 dark:bg-zinc-800 is-resizing:pointer-events-none'
}
)
%}
Expand All @@ -30,6 +30,6 @@
src="about:blank"
srcdoc=""
frameborder="0"
class="z-10 absolute inset-0 w-full h-full bg-white opacity-0"></iframe>
class="z-10 absolute inset-0 w-full h-full bg-zinc-100 dark:bg-zinc-800 opacity-0"></iframe>
<div class="w-6 h-6 border-2 rounded-full border-zinc-500 dark:opacity-20 border-t-transparent animate-loader"></div>
</div>

0 comments on commit 23538b7

Please sign in to comment.