forked from yhaefliger/YATAS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
46 lines (45 loc) · 1.11 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
const defaultTheme = require("tailwindcss/defaultTheme");
const colors = require("tailwindcss/colors");
module.exports = {
content: ["./src/**/*.{njk,md}"],
theme: {
fontSize: {
...defaultTheme.fontSize,
"10xl": "9rem",
"11xl": "10rem",
"12xl": "11rem",
},
colors: {
transparent: "transparent",
current: "currentColor",
black: colors.black,
white: colors.white,
gray: colors.stone,
slate: colors.slate,
blue: colors.sky,
cyan: colors.cyan,
amber: colors.amber,
red: colors.red,
},
extend: {
screens: {
canDisplayA4: { raw: "(min-width: 875px)" },
},
fontFamily: {
serif: ["Merriweather", ...defaultTheme.fontFamily.serif],
heading: ["Anton", ...defaultTheme.fontFamily.sans],
space: ["Space Mono", ...defaultTheme.fontFamily.sans],
},
typography: (theme) => ({
DEFAULT: {
css: {
h2: {
marginTop: `1.5rem`,
},
},
},
}),
},
},
plugins: [require("@tailwindcss/typography")],
};