-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
75 lines (73 loc) · 1.85 KB
/
tailwind.config.js
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
68
69
70
71
72
73
74
75
/** @type {import("tailwindcss").Config} */
//Customize Tailwind
// Note:
// Remember to edit
// theme.extend.colors.primary
// and
// theme.extend.colors.secondary
// with same primary and secondary of angular material
// theme colors in assets/design-system/abstract/_palettes.scss
// Choice they wisely on https://material.io/resources/color
// Check if it's good the important true to override Material styles
module.exports = {
important: true,
prefix: '',
content: ['./src/**/*.{html,ts}'],
// darkMode: media, // 'media' or 'class'
theme: {
extend: {
zIndex: {
'-1': '-1',
0: 0,
10: 10,
20: 20,
30: 30,
40: 40,
50: 50,
60: 60,
70: 70,
80: 80,
90: 90,
100: 100,
auto: 'auto',
},
colors: {
primary: '#2ec4b6',
secondary: '#b62ec4',
},
spacing: {
96: '24rem',
128: '32rem',
144: '36rem',
},
transitionDelay: {
0: '0ms',
2000: '2000ms',
},
},
},
corePlugins: {
preflight: true,
},
variants: {
display: ['DEFAULT', 'responsive'],
zIndex: ['DEFAULT', 'responsive'],
padding: ['DEFAULT', 'responsive'],
margin: ['DEFAULT', 'responsive'],
height: ['DEFAULT', 'responsive'],
width: ['DEFAULT', 'responsive'],
flexGrow: ['DEFAULT', 'responsive'],
lineHeight: ['DEFAULT', 'responsive'],
backgroundColor: ['DEFAULT', 'hover', 'focus', 'responsive'],
textColor: ['DEFAULT', 'hover', 'focus', 'responsive'],
justifyContent: ['DEFAULT', 'responsive'],
alignItems: ['DEFAULT', 'responsive'],
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require('@tailwindcss/line-clamp'),
// https://github.com/SamGoody/tailwind-children
require('tailwind-children'),
],
};