import { type TwindUserConfig } from "https://deno.land/x/fresh@1.5.1/plugins/twindv1_deps.ts";
Properties
optional
presets: PresetsEnables hashing of all classes (default: false
).
If a function is given it can be used to hash only certain classes:
{
hash(className, defaultHash) {
if (/^[~@]\(/.test(className)) {
// a shortcut like `~(...)` or apply like `@(...)`
return defaultHash(className)
}
return className
}
}
optional
finalize: MaybeArray<Finalize<Theme & BaseTheme>>