forked from delvtech/elf-council-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
100 lines (99 loc) · 2.88 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
module.exports = {
// allows tailwind to tree shake all css not included in the files found in this array.
content: [
// .ts allow for long tailwind classes to be extract to their own files.
"./pages/**/*.ts",
"./pages/**/*.tsx",
// .ts allow for long tailwind classes to be extract to their own files.
"./src/**/*.ts",
"./src/**/*.tsx",
],
theme: {
extend: {
colors: {
// Colors taken from:
// https://www.figma.com/file/SRw9lvgMAasN5JaQrK0z4t/Governance?node-id=1040%3A1303
yieldLightBlue: "#75C7EE",
yieldBlue: "#1568CA",
denimBlue: "#7FBEEA",
principalBlue: "#6ACDE2",
principalRoyalBlue: "#005EBE",
orange: "#ff4700",
alertOrange: "#f6851b",
lightOrange: "#ffe7de",
clay: "#242E36",
black: "#1B1D21",
blueGrey: "#B2CAE3",
paleLily: {
DEFAULT: "#D1ECF1",
dark: "#AADCE5",
},
votingGreen: "#CDFFCD",
deepRed: "#F73030",
indianYellow: "#E1AF55",
topaz: "#19C2A3",
goldYellow: "#FFC300",
statusGreen: "#007F00",
statusRed: "#FAEAEA",
hackerSky: {
DEFAULT: "#F1F5FE",
dark: "#e6edff",
},
appBackgroundLight: "#FAF9F9",
// Deprecated colors:
// Used this tool for color variants: https://material.io/resources/color
brandLightBlue: {
light: "#acffff",
DEFAULT: "#78D3E2",
dark: "#42a2b0",
},
brandDarkBlue: {
light: "#588bf1",
// Deprecated: use principalRoyalBlue instead
DEFAULT: "#005EBE",
dark: "#00368d",
},
},
fontFamily: {
mono: [
"Roboto Mono",
"source-code-pro",
"Menlo",
"Monaco",
"Consolas",
"Courier New",
"monospace",
],
},
keyframes: {
// intended for use on white backgrounds
"fade-wave": {
from: {
background:
"linear-gradient(to right, white, white, transparent, white, white) 100%/400%",
},
to: {
background:
"linear-gradient(to right, white, white, transparent, white, white) 0%/400%",
},
},
// intended for use on white backgrounds
"fade-wave-left": {
from: {
background:
"linear-gradient(to right, white, white, transparent, white, white) 0%/400%",
},
to: {
background:
"linear-gradient(to right, white, white, transparent, white, white) 100%/400%",
},
},
},
animation: {
"fade-wave": "fade-wave 2.5s ease-in-out infinite",
"fade-wave-left": "fade-wave-left 2.5s ease-in-out infinite",
},
},
},
plugins: [require("@tailwindcss/forms")],
};