-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind.config.js
96 lines (93 loc) · 2.62 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/** @type {import('tailwindcss').Config} */
const plugin = require('tailwindcss/plugin')
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./xmtp/**/*.{js,ts,jsx,tsx}',
],
safelist: [
{
pattern: /bg-([a-z]+)-(100|200|300|400|600)/,
},
],
darkMode: ['class'],
theme: {
extend: {
scale: {
500: '5',
300: '3',
},
animation: {
'spin-bezier': 'myspin 1s cubic-bezier(0.9, 0.26, 0.97, 1) infinite',
},
keyframes: {
wiggle: {
'0%, 100%': { transform: 'rotate(-3deg)' },
'50%': { transform: 'rotate(3deg)' },
},
myspin: {
from: { transform: 'rotate(0deg)' },
to: { transform: 'rotate(360deg)' },
},
},
colors: {
blocqpurple: '#B88DFF',
neonPurple: 'rgba(111,76,255,1.0)',
navy: '#0b3a53',
'navy-muted': '#244e66',
aqua: '#69c4cd',
'aqua-muted': '#9ad4db',
ipfsgray: '#b7bbc8',
'ipfsgray-muted': '#d9dbe2',
charcoal: '#34373f',
'charcoal-muted': '#7f8491',
ipfsred: '#ea5037',
'ipfsred-muted': '#f36149',
ipfsyellow: '#f39021',
'ipfsyellow-muted': '#f9a13e',
ipfsteal: '#378085',
'ipfsteal-muted': '#439a9d',
ipfsgreen: '#0cb892',
'ipfsgreen-muted': '#0aca9f',
snow: '#edf0f4',
'snow-muted': '#f7f8fa',
link: '#117eb3',
'washed-blue': '#F0F6FA',
},
backgroundImage: {
'mybg-light': 'linear-gradient(170deg, #edf0f4, 90%, #B88DFF)',
'mybg-dark': 'linear-gradient(170deg, #11002D, 90%, #270067)',
'hero-pattern': 'url("/hero.svg")',
'logo-black':
'url("/blocqBookLogo/icon/blocqbookTextTransparentBanner.png")',
'logo-indigo':
'url("/blocqBookLogo/icon/blocqbookTextTransparentBannerLight.png")',
'catch-phrase': 'url("/blocqBookLogo/text/blocqbookTextonlyTrans.png")',
},
},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/line-clamp'),
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/forms'),
plugin(function ({ addUtilities }) {
addUtilities({
'.scrollbar-hide': {
/* IE and Edge */
'-ms-overflow-style': 'none',
/* Firefox */
'scrollbar-width': 'none',
/* Safari and Chrome */
'&::-webkit-scrollbar': {
display: 'none',
},
},
})
}),
plugin(function ({ addComponents }) {
addComponents({})
}),
],
}