-
Notifications
You must be signed in to change notification settings - Fork 8
/
tailwind.config.js
59 lines (57 loc) · 1.43 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
//
// This is your Tailwind CSS configuration, where
// you can define global style constants such as
// color palette, fonts and sizes.
//
// Read more at https://tailwindcss.com.
//
const defaultTheme = require("tailwindcss/defaultTheme");
const colors = require("tailwindcss/colors");
module.exports = {
important: true,
darkMode: "class",
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./templates/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
borderRadius: {
"4xl": "2rem",
},
colors: {
primary: {
50: "#F4F4F4",
200: "#C6C6C6",
500: "#5B5B5B",
700: "#141414",
},
light: {
emphasis: "#e5e7eb",
default: "#E0E0E0",
subtle: "#F3F4F6",
muted: "#F9FAFB",
inverted: "#101010",
info: "#DEE9FC",
success: "#E1FBE8",
attention: "FCEED8",
error: "#F9E3E2",
},
},
fontSize: {
smb: ".9375rem",
},
fontFamily: {
sans: ["Matter", ...defaultTheme.fontFamily.sans],
serif: ["Lusitana", ...defaultTheme.fontFamily.serif],
mono: ["Noto Sans Mono", ...defaultTheme.fontFamily.mono],
system: ["Matter", ...defaultTheme.fontFamily.sans],
},
screens: {
xs: "360px",
},
},
},
plugins: [require("@tailwindcss/typography")],
};