mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Initial migration to UnoCSS.
This commit is contained in:
parent
527f564017
commit
471e81f556
15 changed files with 578 additions and 115 deletions
34
uno.config.js
Normal file
34
uno.config.js
Normal file
|
@ -0,0 +1,34 @@
|
|||
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",
|
||||
],
|
||||
},
|
||||
}),
|
||||
],
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue