Skip to content

Commit fc380cd

Browse files
authored
Merge pull request codediodeio#105 from KollPotato/master
UX improvement
2 parents e560757 + e0e83f3 commit fc380cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/layouts/MainLayout.astro

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import TopNav from "../components/TopNav.astro";
44
import Footer from "../components/Footer.astro";
55
---
66

7-
<script>
7+
<script is:inline>
88
// On page load or when changing themes, best to add inline in `head` to avoid FOUC
99
if (
1010
localStorage.theme === "dark" ||
@@ -32,7 +32,7 @@ import Footer from "../components/Footer.astro";
3232
<title>SvelteFire Documentation</title>
3333
<script async defer src="https://buttons.github.io/buttons.js"></script>
3434
</head>
35-
<body class="dark:bg-gray6 dark:text-white">
35+
<body class="dark:bg-gray6 dark:text-white transition-colors duration-500">
3636
<TopNav />
3737
<div class="flex items-stretch">
3838
<SideNav />

0 commit comments

Comments
 (0)