generated from ElianCodes/brutal
-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathuno.config.ts
44 lines (43 loc) · 1.04 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
35
36
37
38
39
40
41
42
43
44
import {
defineConfig,
presetIcons,
presetWind,
presetTypography,
type Awaitable,
} from 'unocss';
export default defineConfig({
presets: [
presetWind(),
presetIcons({
collections: {
logos: () =>
import('@iconify-json/logos/icons.json').then(
(i) => i.default,
) as Awaitable<any>,
uil: () =>
import('@iconify-json/uil/icons.json').then((l) => l.default),
},
}),
presetTypography(),
],
rules: [
[
'drop-shadow-custom-1',
{ filter: 'drop-shadow(3px 3px 0 rgb(0 0 0 / 1))' },
],
[
'drop-shadow-custom-2',
{ filter: 'drop-shadow(5px 5px 0 rgb(0 0 0 / 1))' },
],
],
shortcuts: [
{
'brutal-card':
'p-4 bg-white border-2 border-black drop-shadow-custom-2 transition-all duration-500 my-4',
},
{
'brutal-btn':
'bg-white drop-shadow-custom-1 hover:outline-none hover:drop-shadow-custom-2 inline-block px-2 border-2 border-black transition-all ease-in-out duration-150',
},
],
});