We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e560757 + e0e83f3 commit fc380cdCopy full SHA for fc380cd
docs/src/layouts/MainLayout.astro
@@ -4,7 +4,7 @@ import TopNav from "../components/TopNav.astro";
4
import Footer from "../components/Footer.astro";
5
---
6
7
-<script>
+<script is:inline>
8
// On page load or when changing themes, best to add inline in `head` to avoid FOUC
9
if (
10
localStorage.theme === "dark" ||
@@ -32,7 +32,7 @@ import Footer from "../components/Footer.astro";
32
<title>SvelteFire Documentation</title>
33
<script async defer src="https://buttons.github.io/buttons.js"></script>
34
</head>
35
- <body class="dark:bg-gray6 dark:text-white">
+ <body class="dark:bg-gray6 dark:text-white transition-colors duration-500">
36
<TopNav />
37
<div class="flex items-stretch">
38
<SideNav />
0 commit comments