-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathuno.config.ts
More file actions
32 lines (31 loc) · 875 Bytes
/
uno.config.ts
File metadata and controls
32 lines (31 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import extractorSvelte from "@unocss/extractor-svelte";
import presetRemToPx from "@unocss/preset-rem-to-px";
import presetWind4 from "@unocss/preset-wind4";
import { defineConfig, presetAttributify, presetTypography, transformerDirectives } from "unocss";
export default defineConfig({
extractors: [extractorSvelte()],
presets: [
presetAttributify({
prefix: "amg-",
prefixedOnly: true,
}),
presetWind4({
preflights: {
reset: true,
},
}),
presetTypography(),
presetRemToPx(),
],
transformers: [transformerDirectives()],
theme: {
extend: {
transitionTimingFunction: {
"ease-spring": "cubic-bezier(0.68,-0.55,0.265,1.55)",
"ease-spring-smooth": "cubic-bezier(0.175,0.885,0.32,1.275)",
"ease-spring-gentle": "cubic-bezier(0.25,0.46,0.45,0.94)",
"ease-spring-elastic": "cubic-bezier(0.68,-0.6,0.32,1.6)",
},
},
},
});