- Added CSS vars for dark/light colors. - Added dark/light theme toggle as Island Fixes #2648 --------- Co-authored-by: Marvin Hagemeister <marvin@deno.com>
12 lines
268 B
TypeScript
12 lines
268 B
TypeScript
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>
|
|
);
|
|
}
|