import { autoDarkColor } from "https://dotland.deno.dev/x/fresh@1.7.3/plugins/twindv1_deps.ts";
Looks for a matching dark color within a tailwind color palette (50
, 100
, 200
, ..., 800
, 900
).
defineConfig({
darkColor: autoDarkColor,
})
Note: Does not work for arbitrary values like [theme(colors.gray.500)]
or [theme(colors.gray.500, #ccc)]
.