forked from solana-labs/governance-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
134 lines (134 loc) · 3.94 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
module.exports = {
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: {
serif: ['p22-mackinac-pro, ui-serif, serif'],
sans: ['Ambit, sans-serif'],
display: ['PT Mono, monospace'],
body: ['Inter, sans-serif'],
},
extend: {
cursor: {
help: 'help',
},
colors: {
'dark-theme': {
primary: { light: '#5DC9EB', dark: '#cecece' },
'secondary-1': { light: '#AFD803', dark: '#6CBF00' },
'secondary-2': { light: '#FFCB1B', dark: '#F48F25' },
'bkg-1': '#17161c',
'bkg-2': '#201F27',
'bkg-3': '#292833',
'bkg-4': '#363D44',
'bkg-5': '#2A2D34',
'fgd-1': '#F6F5F3',
'fgd-2': '#D1D6DB',
'fgd-3': '#A4ACB7',
'fgd-4': '#40474F',
orange: '#F7A531',
red: '#FF7C7C',
green: '#30C89A',
blue: '#00e4ff',
},
'light-theme': {
primary: { light: '#5DC9EB', 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)',
'bkg-5': 'var(--bkg-5)',
'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)',
'error-red': '#ff7c7c',
'confirm-green': '#8effdd',
'bkg-grey': '#292833',
'night-grey': '#201F27',
},
animation: {
'connect-wallet-ping':
'connect-wallet-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite',
gradient: 'gradient 4s ease-in-out infinite',
loader: 'loader 0.6s infinite alternate',
},
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%',
},
},
loader: {
to: {
opacity: 0.1,
transform: 'translate3d(0, 0, 0)',
},
},
},
},
},
plugins: [],
}