forked from ocaml/ocaml.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
126 lines (125 loc) · 3.08 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
const defaultTheme = require("tailwindcss/defaultTheme")
module.exports = {
content: ["**/*.eml"],
darkMode: 'class',
theme: {
screens: {
'sm': '40em',
'md': '48em',
'lg': '64em',
'xl': '80em',
},
extend: {
typography: {
DEFAULT: {
css: [{
'code::before': {
content: '""',
},
'code::after': {
content: '""',
},
},{
h1: {
fontWeight: 700,
},
code: {
fontSize: "1em",
},
'h2 code': {
fontSize: "1em",
},
'h3 code': {
fontSize: "1em",
},
}]
},
},
maxWidth: {
'8xl': '90rem',
},
fontFamily: {
sans: ["Inter var", ...defaultTheme.fontFamily.sans],
mono: ["Roboto Mono", ...defaultTheme.fontFamily.mono],
},
outline: {
primary: "2px solid #EE6A1A"
},
colors: {
primary: {
800: "#CD4E00",
700: "#DC5402",
600: "#EE6A1A",
300: "rgba(238, 106, 26, 0.48)",
200: "rgba(238, 106, 26, 0.15)",
100: "rgba(238, 106, 26, 0.1)",
},
background: {
default: "#FAF8F3",
beige: "#FAF8F3",
"mid-blue": "#0C3B8C", // background for cursor highlighting in keyboard navigable areas (e.g. package search dropdown)
"dark-blue": "#14294b", // one of the colors from the blue patterned background used in various parts of the site
"light-blue": "rgb(221, 232, 251)",
},
body: {
700: "#0A0C11",
600: "#1A202C",
400: "rgba(26, 32, 44, 0.64);",
100: "rgba(26, 32, 44, 0.16)",
},
code: {
blue: "rgba(86, 156, 214, 1)",
yellow: "rgba(220, 220, 170, 1)",
comment: "rgba(255, 255, 255, 0.6)",
red: "rgba(252, 129, 129, 1)",
background: "rgba(30, 30, 30, 1)",
},
sucess: {
100: "rgba(142, 233, 60, 0.1)",
600: "rgba(142, 233, 60, 1)",
},
global: {
default: "rgba(250, 248, 243, 1)",
},
divider: {
8: "rgba(26, 32, 44, 0.08)",
12: "rgba(26, 32, 44, 0.12)",
16: "rgba(26, 32, 44, 0.16)",
},
avatar: {
0: "#bb452a",
1: "#a35829",
2: "#926229",
3: "#746e29",
4: "#367a28",
5: "#2a7a54",
6: "#2c786d",
7: "#2e7587",
8: "#336db7",
9: "#6855e3",
10: "#ad35bc",
11: "#c62d69"
}
},
},
},
plugins: [
require("@tailwindcss/forms"),
require("@tailwindcss/typography"),
require("@tailwindcss/aspect-ratio"),
],
safelist: [
'bg-avatar-0',
'bg-avatar-1',
'bg-avatar-2',
'bg-avatar-3',
'bg-avatar-4',
'bg-avatar-5',
'bg-avatar-6',
'bg-avatar-7',
'bg-avatar-8',
'bg-avatar-9',
'bg-avatar-10',
'bg-avatar-11',
]
};