-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
77 lines (72 loc) · 1.57 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
const assetWidths = {};
function defineAsset(name, widthPx) {
assetWidths[name] = pxToEm(widthPx);
}
function pxToEm(px) {
return `${truncateEm(px / 16)}em`;
}
function truncateEm(em) {
return em.toFixed(3).replace(/\.?0+$/, "");
}
defineAsset("logo_map_cloud", 198);
defineAsset("cloud_front", 180);
defineAsset("cloud_back", 101);
defineAsset("island", 133);
defineAsset("envelope", 114);
defineAsset("wax_seal_submit", 38);
defineAsset("marker_static", 5);
defineAsset("wheel", 27);
defineAsset("anchor", 27);
defineAsset("sailor_otter_telescope", 38);
defineAsset("santa_rosa", 126);
defineAsset("social_media_icon", 16);
module.exports = {
plugins: [
require("@tailwindcss/ui"),
require("tailwindcss-blend-mode")(),
require("tailwindcss-image-rendering")(),
],
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
},
variants: {
extend: {
animation: ["hover"],
},
},
theme: {
extend: {
colors: {
sea: {
100: "#32a09d",
200: "#2c819e",
300: "#3966a6",
400: "#2e3590",
500: "#4d3967",
},
seafoam: "#ecfff2",
prismarine: "#cfe9d7",
highlight: "#eed067",
paper: "#ddcfba",
brown: {
200: "#af9d87",
900: "#4e382c",
},
button: {
red: "#d37676",
blue: "#316cb0",
},
},
backgroundOpacity: {
10: ".1",
},
fontFamily: {
sans: ["'Nexa Bold'"],
},
width: {
...assetWidths,
},
},
},
};