-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
111 lines (110 loc) · 2.58 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
module.exports = {
mode: "jit",
purge: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
"./layouts/**/*.{js,ts,jsx,tsx}",
],
darkMode: false, // or 'media' or 'class'
theme: {
screens: {
"2xl": { max: "1535px" },
xl: { max: "1280px" },
lg: { max: "1023px" },
md: { max: "767px" },
sm: { max: "540px" },
},
fontFamily: {
header: ["TTAutonomous"],
"header-mono": [
"TTAutonomousMono",
"source-code-pro",
"Menlo",
"Monaco",
"Consolas",
"Courier New",
"monospace",
],
default: [
"Altone",
"-apple-system",
"BlinkMacSystemFont",
"Segoe UI",
"Roboto",
"Oxygen",
"Ubuntu",
"Cantarell",
"Fira Sans",
"Droid Sans",
"Helvetica Neue",
"sans-serif",
],
},
extend: {
colors: {
// Colors from Figma
"off-white": "#F9F9F9",
"action-purple": "#1941AA",
"mid-blue": "#34517E",
"dark-blue": "#0C1E4F",
"notification-red": "#EF6969",
"notification-green": "#84A849",
"notification-yellow": "#FDB127",
"light-green": "#CBE2D1",
"light-red": "#F3D4CD",
"light-yellow": "#F8F2E7",
"light-blue": "#D5D9E3",
"light-action-purple": "#547CE4",
// Colors not available in Figma
black: "#000F1F",
light: "#D5D9E3",
},
height: {
112: "28rem",
144: "36rem",
152: "38rem",
160: "40rem",
240: "60rem",
420: "105rem",
},
width: {
112: "28rem",
160: "40rem",
240: "60rem",
},
gridColumn: {
all: "span 8",
},
scale: {
125: "1.25",
135: "1.35",
},
backgroundImage: () => ({
"footer-map":
"linear-gradient(to bottom, rgba(0, 15, 31, 1), rgba(0, 15, 31, 0.75)), url('/static/tampere-map.png');",
}),
animation: {
"blur-in": "blur 180ms ease-out",
},
keyframes: {
blur: {
"0%": { opacity: "0", filter: "blur(100px)" },
"100%": { opacity: "1", filter: "blur(0px)" },
},
},
transitionProperty: {
size: "height, width, font-size",
},
},
// Used in logo SVG
fill: (theme) => ({
"action-purple": theme("colors.action-purple"),
"dark-blue": theme("colors.dark-blue"),
"off-white": theme("colors.off-white"),
}),
},
variants: {
extend: {},
},
plugins: [],
};