www: use green as accent color on docs page (#163)

This commit is contained in:
Luca Casonato
2022-04-24 22:33:26 +02:00
committed by GitHub
parent 53c1e0d112
commit b563646c8f
5 changed files with 39 additions and 27 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
// This module adds twind support.
import { setup } from "../client_deps.ts";
import { setup, theme } from "../client_deps.ts";
import { RenderContext, RenderFn, virtualSheet } from "../server_deps.ts";
const sheet = virtualSheet();
sheet.reset();
setup({ sheet });
setup({ sheet, theme });
export function render(ctx: RenderContext, render: RenderFn) {
const snapshot = ctx.state.get("twindSnapshot") as unknown[] | null;