2022-08-17 19:04:57 +05:30
|
|
|
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 13:04:06 +05:30
|
|
|
presetUno({
|
|
|
|
dark: "media",
|
|
|
|
}),
|
2022-08-17 19:04:57 +05:30
|
|
|
presetIcons(),
|
|
|
|
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",
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
});
|