mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-26 23:47:25 +00:00
35 lines
1.1 KiB
JavaScript
35 lines
1.1 KiB
JavaScript
|
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: [
|
||
|
presetUno(),
|
||
|
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",
|
||
|
],
|
||
|
},
|
||
|
}),
|
||
|
],
|
||
|
});
|