forked from jirengu-inc/ctS1vz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
uno.config.ts
31 lines (30 loc) · 924 Bytes
/
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
import {
defineConfig, presetAttributify, presetIcons,
presetTypography, presetUno
} from 'unocss'
import transformerAttributifyJsx from './transformerAttributifyJsx'
export default defineConfig({
theme: {
},
shortcuts: {
'j-btn': 'h-48px w-100% bg-#5C33BE b-none text-white text-18px rounded-8px px-12px',
'j-input-text': 'h-48px px-16px leading-32px py-8px b-#5C33BE b-1 focus:shadow focus:shadow-inset rounded-8px text-18px',
'j-form': 'px-16px flex flex-col gap-y-8px children-flex children-flex-col',
'j-form-label': 'text-18px mb-8px',
},
safelist: [],
rules: [
['h-screen', { height: 'calc(100vh - var(--vh-offset, 0px))' }]
],
presets: [
presetUno(),
presetAttributify(),
presetIcons({
extraProperties: { 'display': 'inline-block', 'vertical-align': 'middle' },
}),
presetTypography(),
],
transformers: [
transformerAttributifyJsx()
],
})