forked from Renovamen/oh-my-cv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathunocss.config.ts
57 lines (56 loc) · 1.8 KB
/
unocss.config.ts
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import {
defineConfig,
presetAttributify,
presetUno,
presetWebFonts,
transformerDirectives,
transformerVariantGroup
} from "unocss";
export default defineConfig({
shortcuts: [
["flex-center", "flex items-center justify-center"],
["hstack", "flex items-center"],
["text-c", "text-gray-600 dark:text-gray-300"],
["text-light-c", "text-gray-500 dark:text-gray-400"],
["text-lighter-c", "text-gray-400 dark:text-gray-500"],
["text-dark-c", "text-black dark:text-white"],
["text-brand", "text-red-500 dark:text-rose-400"],
["bg-c", "bg-white dark:bg-slate-700"],
["bg-dark-c", "bg-gray-100 dark:bg-slate-600"],
["bg-darker-c", "bg-gray-200 dark:bg-slate-500"],
["bg-brand", "bg-red-400 dark:bg-rose-400"],
["border-c", "border-gray-300 dark:border-gray-500"],
["border-dark-c", "border-gray-500 dark:border-gray-400"],
["border-darker-c", "border-black dark:border-gray-200"],
["border-light-c", "border-gray-200 dark:border-slate-500"],
["hide-on-mobile", "lt-md:hidden"],
["shadow-c", "shadow dark:shadow-gray-600"],
[
"dropdown-container",
"bg-c border border-c rounded shadow-c overflow-x-hidden overflow-y-scroll"
],
["dropdown-li", "hstack px-3 h-8 truncate cursor-pointer hover:bg-dark-c"],
["round-btn", "w-7 h-7 md:(w-8 h-8) flex-center rounded-full hover:bg-darker-c"],
[
"resume-card",
"cursor-pointer mx-auto overflow-hidden rounded-md duration-150 hover:(-translate-y-3 drop-shadow-xl)"
]
],
theme: {
breakpoints: {
sm: "641px",
md: "769px",
lg: "1025px"
}
},
presets: [
presetUno(),
presetAttributify(),
presetWebFonts({
fonts: {
ui: "Lato:400,700"
}
})
],
transformers: [transformerDirectives(), transformerVariantGroup()]
});