twenty-one/uno.config.ts
Moritz Ruth 468d717714
All checks were successful
Build / build (push) Successful in 1m26s
Cleanup
2025-03-03 00:54:12 +01:00

32 lines
656 B
TypeScript

import { defineConfig, transformerDirectives } from "unocss"
import { presetWind, colors } from "@unocss/preset-wind3"
export default defineConfig({
presets: [
presetWind({
arbitraryVariants: true,
preflight: true
})
],
theme: {
fontFamily: {
"normal": `"Inter Variable", sans-serif`,
"fat": `"Titan One", sans-serif`
},
colors: {
transparent: "transparent",
white: colors.white,
black: colors.black,
gray: colors.zinc,
light: colors.light,
dark: colors.dark,
red: colors.rose,
yellow: colors.yellow,
green: colors.green,
blue: colors.indigo,
}
},
transformers: [
transformerDirectives()
]
})