forked from pulumi/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
136 lines (125 loc) · 2.72 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
135
136
// Tailwind configuration. Changes to this file require a dev-server restart.
//
// Configuration docs:
// https://tailwindcss.com/docs/configuration
//
// Default configuration:
// https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
const defaultTheme = require('tailwindcss/defaultTheme');
const brand = {
purple: "#512668",
orange: "#ee975c",
green: "#2fc89f",
blue: "#52a6da",
}
const white = defaultTheme.colors.white;
const black = defaultTheme.colors.black;
const gray = defaultTheme.colors.gray;
const red = defaultTheme.colors.red;
const yellow = defaultTheme.colors.yellow;
const transparent = defaultTheme.colors.transparent;
const purple = {
100: "#d7cddc",
200: "#a48bb3",
300: "#745687",
400: "#654276",
500: brand.purple,
600: "#421d57",
700: "#371a47",
800: "#2a1337",
900: "#180b1f",
}
const blue = {
100: "#f5fbff",
200: "#cae6f7",
300: "#9dd1f0",
400: "#73b7e7",
500: brand.blue,
600: "#4387c7",
700: "#3671b0",
800: "#365881",
900: "#334866",
}
const orange = {
100: "#fff7eb",
200: "#fde6c4",
300: "#fad49e",
400: "#f6ba7e",
500: brand.orange,
600: "#e17d47",
700: "#d86131",
800: "#ba4a2c",
900: "#993d29",
}
const green = {
100: "#e0fff2",
200: "#b2fbe0",
300: "#81eeca",
400: "#4ce1b4",
500: brand.green,
600: "#25a78b",
700: "#1d8673",
800: "#19675b",
900: "#155148",
}
const fuschia= {
100: "#fcdbff",
200: "#f5b9fd",
300: "#eb9efa",
400: "#d975f5",
500: "#c75ceb",
600: "#ab3ad4",
700: "#9135b6",
800: "#6c2f89",
900: brand.purple,
};
module.exports = {
theme: {
extend: {
fontFamily: {
display: [
"Ubuntu",
...defaultTheme.fontFamily.sans,
],
body: [
"Open Sans",
...defaultTheme.fontFamily.sans,
],
mono: [
"Source Code Pro",
...defaultTheme.fontFamily.mono,
]
},
},
colors: {
white,
black,
gray,
red,
yellow,
purple,
blue,
orange,
green,
fuschia,
transparent,
},
maxHeight: {
'25': '25vh',
'50': '50vh',
'75': '75vh',
'100': '100vh',
}
},
variants: {
margin: [
"responsive",
"hover",
],
padding: [
"responsive",
"group-hover",
"hover",
],
}
}