forked from solana-labs/governance-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
129 lines (129 loc) · 3.71 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
module.exports = {
mode: 'jit',
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./Strategies/**/*.{js,ts,jsx,tsx}',
'./VoteStakeRegistry/**/*.{js,ts,jsx,tsx}',
],
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
},
theme: {
fontFamily: {
display: ['PT Mono, monospace'],
body: ['Inter, sans-serif'],
},
extend: {
cursor: {
help: 'help',
},
colors: {
'dark-theme': {
primary: { light: '#E1CE7A', dark: '#D2B537' },
'secondary-1': { light: '#AFD803', dark: '#6CBF00' },
'secondary-2': { light: '#FFCB1B', dark: '#F48F25' },
'bkg-1': '#121417',
'bkg-2': '#202429',
'bkg-3': '#2F343B',
'bkg-4': '#363D44',
'fgd-1': '#F6F5F3',
'fgd-2': '#D1D6DB',
'fgd-3': '#A4ACB7',
'fgd-4': '#40474F',
orange: '#F7A531',
red: '#cb676f',
green: '#78C46C',
blue: '#8AACEB',
},
'light-theme': {
primary: { light: '#292929', dark: '#101010' },
'secondary-1': { light: '#AFD803', dark: '#6CBF00' },
'secondary-2': { light: '#E54033', dark: '#C7251A' },
'fgd-1': '#3d3d3d',
'fgd-2': '#7a7a7a',
'fgd-3': '#adadad',
'fgd-4': '#cccccc',
'bkg-1': '#fcfcfc',
'bkg-2': '#f0f0f0',
'bkg-3': '#e0e0e0',
'bkg-4': '#d6d6d6',
orange: '#F7A531',
red: '#cb676f',
green: '#6BBF5F',
blue: '#3F77DE',
},
'mango-theme': {
primary: { light: '#F2C94C', dark: '#EEB91B' },
'secondary-1': { light: '#AFD803', dark: '#6CBF00' },
'secondary-2': { light: '#E54033', dark: '#C7251A' },
'bkg-1': '#141125',
'bkg-2': '#242132',
'bkg-3': '#393549',
'bkg-4': '#4F4B63',
'fgd-1': '#F0EDFF',
'fgd-2': '#FCFCFF',
'fgd-3': '#B9B5CE',
'fgd-4': '#706C81',
orange: '#F2C94C',
red: '#E54033',
green: '#AFD803',
blue: '#8AACEB',
},
'bkg-1': 'var(--bkg-1)',
'bkg-2': 'var(--bkg-2)',
'bkg-3': 'var(--bkg-3)',
'bkg-4': 'var(--bkg-4)',
'fgd-1': 'var(--fgd-1)',
'fgd-2': 'var(--fgd-2)',
'fgd-3': 'var(--fgd-3)',
'fgd-4': 'var(--fgd-4)',
'primary-light': 'var(--primary-light)',
'primary-dark': 'var(--primary-dark)',
'secondary-1-light': 'var(--secondary-1-light)',
'secondary-1-dark': 'var(--secondary-1-dark)',
'secondary-2-light': 'var(--secondary-2-light)',
'secondary-2-dark': 'var(--secondary-2-dark)',
red: 'var(--red)',
green: 'var(--green)',
orange: 'var(--orange)',
blue: 'var(--blue)',
},
animation: {
'connect-wallet-ping':
'connect-wallet-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite',
gradient: 'gradient 4s ease-in-out infinite',
},
keyframes: {
'connect-wallet-ping': {
'75%, 100%': {
transform: 'scale(1.06, 1.3)',
opacity: '10%',
},
},
gradient: {
'0%': {
'background-position': '15% 0%',
},
'50%': {
'background-position': '85% 100%',
},
'100%': {
'background-position': '15% 0%',
},
},
},
},
},
variants: {
extend: {
cursor: ['hover', 'focus', 'disabled'],
opacity: ['disabled'],
backgroundColor: ['disabled'],
textColor: ['disabled'],
borderWidth: ['last'],
},
},
plugins: [],
}