Piped/uno.config.js

42 lines
1.2 KiB
JavaScript
Raw Normal View History

2022-08-17 13:34:57 +00:00
import { defineConfig } from "unocss";
import transformerDirective from "@unocss/transformer-directives";
import transformerVariantGroup from "@unocss/transformer-variant-group";
import presetUno from "@unocss/preset-uno";
import presetIcons from "@unocss/preset-icons";
import presetWebFonts from "@unocss/preset-web-fonts";
export default defineConfig({
transformers: [transformerDirective(), transformerVariantGroup()],
presets: [
2022-09-11 07:34:06 +00:00
presetUno({
dark: "media",
}),
2024-03-06 19:45:31 +00:00
presetIcons({
extraProperties: {
display: "inline-block",
"vertical-align": "middle",
},
}),
2022-08-17 13:34:57 +00:00
presetWebFonts({
provider: "none",
fonts: {
sans: [
"-apple-system",
"BlinkMacSystemFont",
"Segoe UI",
"Roboto",
"Helvetica Neue",
"Arial",
"Noto Sans",
"sans-serif",
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Noto Color Emoji",
],
},
}),
],
});