-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
72 lines (71 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
screens: {
md: '788',
lg: '1090px', // Default is 1024px
xl: '1280px', // Default is 1280px
tablet: '1090px',
laptop: '1024px',
desktop: '1280px',
},
fontFamily: {
sans: ['var(--font-fira-sans)', 'system-ui', 'sans-serif'],
code: ['var(--font-fira-code)', 'monospace'],
},
borderRadius: {
'4xl': '2rem',
},
colors: {
primary: {
DEFAULT: '#544B84',
80: '#6A6296',
60: '#8179A8',
40: '#9790BA',
20: '#AEA8CC',
},
secondary: {
DEFAULT: '#916C7C',
80: '#A28693',
60: '#B3A0A9',
40: '#C4BAC0',
20: '#D5D4D6',
},
gradient: {
1: '#8B687F',
2: '#785E80',
3: '#6C5782',
},
},
backgroundImage: {
'gradient-primary':
'linear-gradient(315deg, var(--primary), var(--gradient-stop))',
'gradient-background':
'linear-gradient(315deg, var(--primary), var(--secondary))',
'gradient-brand':
'linear-gradient(315deg, var(--secondary), var(--primary))',
'gradient-text': 'linear-gradient(to bottom right, #916C7C, #916C7C)',
},
},
},
plugins: [
require('@tailwindcss/typography'),
function ({ addUtilities }) {
const newUtilities = {
'.text-gradient': {
'background-clip': 'text',
'-webkit-background-clip': 'text',
color: 'transparent',
'-webkit-text-fill-color': 'transparent',
},
}
addUtilities(newUtilities)
},
],
}