-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
41 lines (41 loc) · 1.21 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./**/*.{html,php}',
'./js/**/*.js',
],
darkMode: 'media', // or 'class'
theme: {
extend: {
colors: {
'cyan': {
DEFAULT: '#00ffff'
},
},
borderRadius: {
'4xl': '2rem',
'5xl': '2.5rem',
'6xl': '3rem',
'7xl': '3.5rem',
'8xl': '4rem',
},
backgroundImage: {
none: 'none',
'radial-gradient-to-t': 'radial-gradient(at top, var(--tw-gradient-stops))',
'radial-gradient-to-tr': 'radial-gradient(at top right, var(--tw-gradient-stops))',
'radial-gradient-to-r': 'radial-gradient(at right, var(--tw-gradient-stops))',
'radial-gradient-to-br': 'radial-gradient(to bottom right, var(--tw-gradient-stops))',
'radial-gradient-to-b': 'radial-gradient(at bottom, var(--tw-gradient-stops))',
'radial-gradient-to-bl': 'radial-gradient(at bottom left, var(--tw-gradient-stops))',
'radial-gradient-to-l': 'radial-gradient(at left, var(--tw-gradient-stops))',
'radial-gradient-to-tl': 'radial-gradient(at top left, var(--tw-gradient-stops))',
},
},
},
plugins: [
function ({ addVariant }) {
addVariant('child', '& > *');
addVariant('child-hover', '& > *:hover');
}
],
}