-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
74 lines (73 loc) · 2.45 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
/** @type {import('tailwindcss').Config} */
const plugin = require('tailwindcss/plugin');
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
'nav-gradient': 'linear-gradient(to bottom, rgba(18,18,18, 1), rgba(18,18,18, 0))'
},
boxShadow: {
'green': '0 4px 6px 0 rgba(85, 187, 164, 0.5)',
'blue': '0 4px 6px 0 rgba(47, 171, 221, 0.5)',
'pink': '0 4px 6px 0 rgba(195, 46, 103, 0.5)',
},
},
},
plugins: [
plugin(({ addUtilities }) => {
const newUtilities = {
'.gradient-text-gb': {
background: 'linear-gradient(45deg, #55BBA4, #2FABDD)',
backgroundClip: 'text',
color: 'transparent',
WebkitBackgroundClip: 'text',
WebkitTextFillColor: 'transparent',
},
'.gradient-text-bg': {
background: 'linear-gradient(45deg, #2FABDD, #55BBA4)',
backgroundClip: 'text',
color: 'transparent',
WebkitBackgroundClip: 'text',
WebkitTextFillColor: 'transparent',
},
'.gradient-text-pg': {
background: 'linear-gradient(45deg, #C32E67, #55BBA4)',
backgroundClip: 'text',
color: 'transparent',
WebkitBackgroundClip: 'text',
WebkitTextFillColor: 'transparent',
},
'.gradient-text-gp': {
background: 'linear-gradient(45deg, #55BBA4, #C32E67)',
backgroundClip: 'text',
color: 'transparent',
WebkitBackgroundClip: 'text',
WebkitTextFillColor: 'transparent',
},
'.gradient-text-bp': {
background: 'linear-gradient(45deg, #2FABDD, #C32E67)',
backgroundClip: 'text',
color: 'transparent',
WebkitBackgroundClip: 'text',
WebkitTextFillColor: 'transparent',
},
'.gradient-text-pb': {
background: 'linear-gradient(45deg, #C32E67, #2FABDD)',
backgroundClip: 'text',
color: 'transparent',
WebkitBackgroundClip: 'text',
WebkitTextFillColor: 'transparent',
},
};
addUtilities(newUtilities, ['responsive', 'hover']);
}),
],
}