-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
68 lines (68 loc) · 2.14 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}'
],
theme: {
extend: {
colors: {
dominant: 'var(--color-dominant-hex)',
inverted: 'var(--color-inverted-hex)',
accent: 'var(--color-accent-hex)',
'light-accent': 'var(--color-accent-light-hex)',
complementary: 'var(--color-complementary-hex)',
muted: 'var(--color-muted-hex)',
'muted-hover': 'var(--color-muted-hover-hex)',
'muted-complementary':
'var(--color-muted-complementary-hex)',
error: 'var(--color-error-hex)',
okay: 'var(--color-okay-hex)'
},
textColor: {
skin: {
base: 'var(--color-text-base-hex)',
inverted: 'var(--color-text-inverted-hex)',
muted: 'var(--color-text-muted-hex)',
complementary:
'var(--color-text-complementary-hex)',
error: '#d74c4c',
okay: '#2DB00C'
}
},
borderColor: {
base: 'var(--color-border-base-hex)',
complementary:
'var(--color-border-complementary-hex)'
},
backgroundImage: {
'gradient-linear':
'linear-gradient(to right, #DC6299 0%, #593991 60%)',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
'gradient-mesh': `radial-gradient(at 9% 100%, hsla(320,60%,75%,1) 0px, transparent 50%),
radial-gradient(at 93% 100%, hsla(331,59%,76%,1) 0px, transparent 50%),
radial-gradient(at 35% 0%, hsla(310,59%,76%,1) 0px, transparent 50%),
radial-gradient(at 96% 6%, hsla(271,71%,68%,1) 0px, transparent 50%);`
},
screens: {
'-2xl': { max: '1535px' },
'-xl': { max: '1279px' },
'-lg': { max: '1023px' },
'-md': { max: '767px' },
'-sm': { max: '639px' },
'@md': { min: '640px', max: '767px' },
'@lg': { min: '768px', max: '1023px' },
'@xl': { min: '1024px', max: '1279px' },
'@2xl': { min: '1280px', max: '1535px' }
},
animation: {
'gradient-text': 'gradient-text 5s ease infinite',
scale: 'scale 250ms ease-in-out',
fade: 'fade 700ms ease-in-out'
}
}
},
plugins: []
};