Files
sweet/www/utils/twind.ts
T

22 lines
420 B
TypeScript

export * from "twind";
import { IS_BROWSER } from "$fresh/runtime.ts";
import * as colors from "twind/colors";
import { setup } from "twind";
export const theme = {
colors: {
blue: colors.blue,
black: colors.black,
gray: colors.gray,
green: colors.green,
white: colors.white,
yellow: colors.yellow,
transparent: "transparent",
},
};
if (IS_BROWSER) {
setup({ theme: { colors } });
}