www: use green as accent color on docs page (#163)
This commit is contained in:
+11
-1
@@ -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 } });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user