This repository has been archived by the owner on Apr 20, 2024. It is now read-only.
forked from sushiswap/sushiswap-interface
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
137 lines (135 loc) · 3.63 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
const defaultTheme = require('tailwindcss/defaultTheme')
const plugin = require('tailwindcss/plugin')
module.exports = {
// important: '#__next',
// darkMode: true,
mode: 'jit',
future: {
purgeLayersByDefault: true,
applyComplexClasses: true,
},
purge: ['./src/**/*.{js,ts,jsx,tsx}'],
darkMode: false,
theme: {
extend: {
linearBorderGradients: {
directions: {
tr: 'to top right',
r: 'to right',
},
colors: {
'blue-pink': ['#27B0E6', '#FA52A0'],
'pink-red-light-brown': ['#FE5A75', '#FEC464'],
},
background: {
'dark-1000': '#0D0415',
'dark-900': '#161522',
'dark-800': '#202231',
'dark-pink-red': '#4e3034',
},
border: {
1: '1px',
2: '2px',
3: '3px',
4: '4px',
},
},
colors: {
purple: '#a755dd',
blue: '#0993ec',
pink: '#f338c3',
green: '#7cff6b',
red: '#ff3838',
yellow: '#ffd166',
'opaque-blue': '#0993ec80',
'opaque-pink': '#f338c380',
'pink-red': '#FE5A75',
'light-brown': '#FEC464',
'light-yellow': '#FFD166',
'cyan-blue': '#0993EC',
'dark-pink': '#221825',
'dark-blue': '#0F182A',
'dark-1000': '#0D0415',
'dark-900': '#161522',
'dark-850': '#1d1e2c',
'dark-800': '#202231',
'dark-700': '#2E3348',
'dark-600': '#1C2D49',
'dark-500': '#223D5E',
'low-emphesis': '#575757',
primary: '#BFBFBF',
secondary: '#7F7F7F',
'high-emphesis': '#E3E3E3',
},
lineHeight: {
'48px': '48px',
},
fontFamily: {
sans: ['DM Sans', ...defaultTheme.fontFamily.sans],
},
fontSize: {
hero: [
'48px',
{
letterSpacing: '-0.02em;',
lineHeight: '96px',
fontWeight: 700,
},
],
},
borderRadius: {
none: '0',
px: '1px',
DEFAULT: '0.625rem',
},
boxShadow: {
swap: '0px 50px 250px -47px rgba(39, 176, 230, 0.29)',
liquidity: '0px 50px 250px -47px rgba(123, 97, 255, 0.23)',
'pink-glow': '0px 57px 90px -47px rgba(250, 82, 160, 0.15)',
'blue-glow': '0px 57px 90px -47px rgba(39, 176, 230, 0.17)',
'pink-glow-hovered': '0px 57px 90px -47px rgba(250, 82, 160, 0.30)',
'blue-glow-hovered': '0px 57px 90px -47px rgba(39, 176, 230, 0.34)',
},
ringWidth: {
DEFAULT: '1px',
},
padding: {
px: '1px',
'3px': '3px',
},
minHeight: {
empty: '128px',
cardContent: '230px',
fitContent: 'fit-content',
},
dropShadow: {
currencyLogo: '0px 3px 6px rgba(15, 15, 15, 0.25)',
},
},
},
variants: {
linearBorderGradients: ['responsive', 'hover', 'dark'], // defaults to ['responsive']
extend: {
backgroundColor: ['checked', 'disabled'],
backgroundImage: ['hover', 'focus'],
borderColor: ['checked', 'disabled'],
cursor: ['disabled'],
opacity: ['hover', 'disabled'],
placeholderColor: ['hover', 'active'],
ringWidth: ['disabled'],
ringColor: ['disabled'],
},
},
plugins: [
require('tailwindcss-border-gradient-radius'),
plugin(function ({ addUtilities }) {
addUtilities({
'.header-border-b': {
background:
'linear-gradient(to right, rgba(39, 176, 230, 0.2) 0%, rgba(250, 82, 160, 0.2) 100%) left bottom no-repeat',
backgroundSize: '100% 1px',
},
})
}),
],
}