-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
94 lines (89 loc) · 2.1 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
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
},
mode: "jit",
purge: {
content: ["./lib/**/*.{js,ts,jsx,tsx}", "./pages/**/*.{js,ts,jsx,tsx}"],
},
theme: {
screens: {
tablet: "576px",
laptop: "992px",
desktop: "1440px",
},
extend: {
fontFamily: {
sans: ["Inter var", ...defaultTheme.fontFamily.sans],
},
fontSize: {
xs: "0.7rem",
sm: "0.8rem",
base: "1rem",
lg: "1.563rem",
xl: "2.441rem",
"2xl": "3.052rem",
},
colors: {
canvas: "#faf8f7",
bittersweet: "#fd7268",
sapphire: "#0a2463",
"fair-pink": "#f8ece8",
solitude: "#dfe2ec",
notify: "#ecd47d",
warning: "#c94d07",
},
typography: (theme) => ({
DEFAULT: {
css: {
color: theme("colors.sapphire"),
h1: {
color: theme("colors.sapphire"),
},
h2: {
color: theme("colors.sapphire"),
},
h3: {
color: theme("colors.sapphire"),
},
a: {
color: theme("colors.sapphire"),
},
img: {
marginTop: "0",
marginBottom: "0",
},
pre: {
color: theme("colors.sapphire"),
backgroundColor: theme("colors.canvas"),
},
strong: {
color: theme("colors.sapphire"),
fontWeight: 700,
},
code: {
color: theme("colors.sapphire"),
fontWeight: 700,
},
},
},
lg: {
css: {
img: {
marginTop: "0.0rem",
marginBottom: "0rem",
},
pre: {
paddingLeft: 0,
paddingRight: 0,
},
},
},
}),
},
},
variants: {},
plugins: [require("@tailwindcss/typography")],
};