www: docs: feat: add dark mode (#2820)
- Added CSS vars for dark/light colors. - Added dark/light theme toggle as Island Fixes #2648 --------- Co-authored-by: Marvin Hagemeister <marvin@deno.com>
This commit is contained in:
co-authored by
Marvin Hagemeister
parent
adf8b87a03
commit
b1f2a989a5
@@ -0,0 +1,11 @@
|
||||
import { PageProps } from "../../../src/context.ts";
|
||||
|
||||
export default function Layout({ Component }: PageProps) {
|
||||
return (
|
||||
<div class="layout">
|
||||
<div class="bg-background-primary text-foreground-primary">
|
||||
<Component />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user