forked from technologiestiftung/berlin-open-source-portal
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
100 lines (100 loc) · 2.18 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 = {
purge: {
enabled: process.env.NODE_ENV === "production",
content: ["./src/**/*.{html,liquid,njk}", "./src/assets/js/nav.js"],
},
darkMode: false,
theme: {
fontFamily: {
sans: ["IBM Plex Sans", "sans-serif"],
},
colors: {
blue: {
50: "#e9ebf4",
100: "#d2d7e9",
200: "#a5afd3",
300: "#7887bd",
400: "#4b5fa7",
500: "#1e3791",
},
red: {
50: "#fde6eb",
100: "#faccd6",
200: "#f599ad",
300: "#f06684",
400: "#eb335b",
500: "#e60032",
},
gray: {
50: "#fafafa",
100: "#f4f4f5",
200: "#e4e4e7",
300: "#d4d4d8",
400: "#a1a1aa",
500: "#71717a",
600: "#52525b",
700: "#3f3f46",
800: "#27272a",
900: "#18181b",
},
white: "#fff",
},
boxShadow: {
DEFAULT:
"0 0 8px -1px rgba(0, 0, 0, 0.2), 0 0 6px -1px rgba(0, 0, 0, 0.06)",
inner: "inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)",
none: "none",
},
extend: {
typography: {
DEFAULT: {
css: {
color: "#18181b",
a: {
color: "#1e3791",
textDecoration: "none",
"&:hover": {
color: "#e60032",
},
},
lineHeight: 1.5,
},
},
},
gridTemplateRows: {
"stretch-last": "auto minmax(auto, 1fr)",
},
gridAutoRows: {
"1fr": "1fr",
},
gridTemplateColumns: {
"8rem-auto": "8rem auto",
},
backgroundImage: (_theme) => ({
"intro-pattern": "url('/assets/images/bg_default.svg')",
}),
scale: {
60: ".6",
},
translate: {
"10px": "10px",
"25vh": "25vh",
"roughly-75vh": "calc(75vh - 80px)",
},
minHeight: {
"25vh": "25vh",
"50vh": "50vh",
"75vh": "75vh",
},
},
},
variants: {
extend: {
translate: ["group-hover"],
margin: ["first"],
stroke: ["group-hover"],
fill: ["group-hover"],
},
},
plugins: [require("@tailwindcss/typography")],
};