-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathtailwind.config.js
45 lines (40 loc) · 1.25 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
/** @type {import('tailwindcss').Config} */
const colors = require("tailwindcss/colors");
module.exports = {
darkMode: "class",
content: ["./app/**/*.{js,jsx,ts,tsx}"],
future: {
hoverOnlyWhenSupported: true,
},
theme: {
extend: {
colors: {
background: "var(--background-body)",
"text-primary": "var(--text-main)",
"text-secondary": "var(--text-secondary)",
"d-background": "var(--dark-background-body)",
"d-text-primary": "var(--dark-text-main)",
"d-text-secondary": "var(--dark-text-secondary)",
primary: "var(--primary-color)",
gray: colors.gray,
},
screens: {
"max-w-2xl": { max: "1535px" },
// => @media (max-width: 1535px) { ... }
"max-w-xl": { max: "1279px" },
// => @media (max-width: 1279px) { ... }
"max-w-lg": { max: "1023px" },
// => @media (max-width: 1023px) { ... }
"max-w-md": { max: "767px" },
// => @media (max-width: 767px) { ... }
"max-w-sm": { max: "639px" },
// => @media (max-width: 639px) { ... }
},
},
fontFamily: {
serif: ['Merriweather", "serif'],
sans: ["Fira Sans", "sans-serif"],
},
},
plugins: [require("@tailwindcss/typography")],
};