generated from Jonghakseo/chrome-extension-boilerplate-react-vite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuno.config.ts
41 lines (40 loc) · 839 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
32
33
34
35
36
37
38
39
40
41
import { defineConfig, presetUno, presetAttributify } from 'unocss'
export default defineConfig({
cli: {
entry: {
patterns: ['./src/**/*.{vue,jsx,tsx,md,mdx,html}'],
outFile: 'src/assets/style/uno.css'
}
},
presets: [presetUno(), presetAttributify()],
rules: [
[
'custom-ellipsis',
{
overflow: 'hidden',
'text-overflow': 'ellipsis',
'white-space': 'nowrap'
}
],
[
'absolute-y-center',
{
position: 'absolute',
top: '50%',
transform: 'translateY(-50%)'
}
],
[
'box-shadow-sample',
{
'box-shadow': 'inset 0 0 4px 4px rgb(208 203 215 / 40%)'
}
],
[
'box-shadow-sample-hover',
{
'box-shadow': 'inset 0 0 2px 2px rgb(208 203 215 / 80%)'
}
]
]
})