-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
67 lines (65 loc) · 1.54 KB
/
tailwind.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import type { Config } from 'tailwindcss';
// We're using tailwind.config.ts over Nuxt tailwind config because Webstorm's Tailwind support is looking for this file.
export default <Partial<Config>>{
// Since nimiq is our main style and already provides some utility classes,
// we only use tailwind to fill the gaps where needed and carefully select the core plugins that we use.
// For example, we definitely do not want tailwind fonts to overwrite nimiq fonts.
// List of core plugins: https://tailwindcss.com/docs/configuration#core-plugins
corePlugins: [
'alignContent',
'alignItems',
'alignSelf',
'backgroundImage',
'backgroundColor',
'borderRadius',
'borderColor',
'boxShadow',
'boxShadowColor',
'cursor',
'display',
'fill',
'flex',
'flexBasis',
'flexDirection',
'flexGrow',
'flexShrink',
'flexWrap',
'fontSize',
'fontWeight',
'gradientColorStops',
'height',
'inset',
'justifyContent',
'justifyItems',
'justifySelf',
'letterSpacing',
'lineHeight',
'margin',
'maxHeight',
'maxWidth',
'minHeight',
'minWidth',
'opacity',
'outlineStyle',
'outlineColor',
'outlineOffset',
'outlineWidth',
'overflow',
'padding',
'position',
'rotate',
'space',
'textAlign',
'textColor',
'textDecoration',
'textTransform',
'transform',
'transitionDelay',
'transitionDuration',
'transitionProperty',
'transitionTimingFunction',
'visibility',
'width',
'zIndex',
],
};