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
+11 -1
View File
@@ -1,7 +1,17 @@
export * from "../runtime.ts";
import { IS_BROWSER } from "../runtime.ts";
import { apply, setup, tw } from "https://esm.sh/twind@0.16.16";
import * as colors from "https://esm.sh/twind@0.16.16/colors";
export { apply, setup, tw };
export const theme = {
colors: {
black: colors.black,
gray: colors.gray,
green: colors.green,
white: colors.white,
yellow: colors.yellow,
},
};
if (IS_BROWSER) {
setup({});
setup({ theme: { colors } });
}