-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuno.config.ts
34 lines (33 loc) · 1.12 KB
/
uno.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
// uno.config.ts
import {
defineConfig,
presetAttributify,
presetIcons,
presetTypography,
presetUno,
presetMini,
presetWebFonts,
transformerDirectives,
transformerVariantGroup
} from 'unocss'
export default defineConfig({
// ...UnoCSS options
presets: [
presetAttributify({ /* preset options */}),
presetUno(),
presetIcons(),
presetTypography(),
presetWebFonts(),
transformerDirectives(),
transformerVariantGroup(),
presetMini()
],
rules: [],
shortcuts: [
["button", 'h-8 bg-slate-100 px-3 cursor-pointer border-1 border-solid border-slate-200 rounded align-middle'],
["close-button", 'h-8 bg-[#f86969ff] px-3 cursor-pointer border-1 border-solid border-[#ff0c0cff] rounded align-middle'],
["card", 'm-t border-1 rounded-md border-solid border-[#f3f3f3ff] p-4 text-nowrap shadow-md grow space-x-3'],
["card-item", 'flex-1 border-1 rounded-md border-solid border-[#f3f3f3ff] p-4 text-nowrap'],
["input", ' border-1 rounded-md border-solid border-[#f3f3f3ff] p-2 text-nowrap']
]
})