-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuno.config.ts
More file actions
28 lines (27 loc) · 875 Bytes
/
uno.config.ts
File metadata and controls
28 lines (27 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
import { defineConfig, presetUno, presetAttributify, presetIcons } from 'unocss';
export default defineConfig({
shortcuts: [
['frc-center', 'flex flex-row items-center justify-center'],
['fcc-center', 'flex flex-col items-center justify-center'],
['frc-start', 'flex flex-row items-center justify-start'],
['page','flex flex-col justify-start items-center w-full h-full border border-l border-solid border-gray-200']
],
theme: {
colors: {
primary: '#3b82f6',
'primary-dark': '#2563eb',
},
animation: {
keyframes: {
'fade-in': '{0%:{opacity:0;transform:translateY(10px)}100%:{opacity:1;transform:translateY(0)}}',
},
durations: {
'fade-in': '0.3s',
},
timingFns: {
'fade-in': 'ease-out',
},
},
},
presets: [presetUno(), presetAttributify(), presetIcons()],
});