-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
58 lines (57 loc) · 1.36 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
/* eslint-disable import/no-extraneous-dependencies */
/* eslint-disable global-require */
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
darkMode: "class",
content: [
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./lib/snippet.js",
],
theme: {
extend: {
colors: {
npm: "#CB3837",
gmail: "#EA4335",
twitter: "#1DA1F2",
linkedin: "#0A66C2",
polywork: "#543DE0",
"nord6.1": "#f8f9fb",
link: "#0077aa",
darkLink: "#96d0ff",
},
zIndex: {
"-10": "-10",
"-20": "-20",
},
maxWidth: {
"85ch": "85ch",
"65ch": "65ch",
prose: "85ch",
},
minWidth: {
16: "4rem",
},
flex: {
"1/4": "1 0 25%",
"1/2": "1 0 50%",
},
fontFamily: {
latex: ["Latin Modern"],
sans: ["var(--font-inter)", ...defaultTheme.fontFamily.sans],
serif: ["var(--font-etBook)", ...defaultTheme.fontFamily.serif],
},
height: {
18: "4.5rem",
},
},
},
plugins: [
require("tailwind-outline-plugin"),
require("tailwind-nord"),
require("@samrobbins/custom-typography"),
require("radix-colors-for-tailwind")({
colors: ["cyan", "sky", "blue", "purple", "slate", "amber"],
}),
],
};