-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
57 lines (53 loc) · 1.26 KB
/
tailwind.config.cjs
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
const defaultTheme = require("tailwindcss/defaultTheme");
const colors = require("tailwindcss/colors");
const sizes = {
height: {
"half-screen": "50vh",
"one-third-screen": "33vh",
},
width: {
none: "0px",
"half-screen": "50vw",
"one-third-screen": "33vw",
},
};
// primary color: #2B6CB0
module.exports = {
content: [
"./src/**/*.jsx",
"./src/**/*.ts",
"./src/**/*.tsx",
"./src/**/*.html",
"./src/**/*.mdx",
"./src/**/*.js",
"./src/**/*.astro",
],
theme: {
extend: {
colors: {
andri: "#59B4FF",
hover: colors.pink["500"],
},
height: {
300: "300px",
350: "350px",
},
minWidth: sizes.width,
maxWidth: sizes.width,
minHeight: sizes.height,
maxHeight: sizes.height,
fontFamily: {
sans: ["Montserrat Variable", ...defaultTheme.fontFamily.sans],
headline: ["Montserrat Variable", defaultTheme.fontFamily.headline],
mono: ["Source Code Pro variable", defaultTheme.fontFamily.mono],
},
},
},
variants: {
boxShadow: ["responsive", "hover", "focus"],
},
plugins: [
require("@tailwindcss/typography"),
({ addVariant }) => addVariant("target", "&:target"),
], // markdown auto typography
};