-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
46 lines (45 loc) · 1.19 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 = {
mode: "jit",
purge: ["./src/**/*.{js,ts,jsx,tsx}", "./tailwind-safelist"],
darkMode: false,
theme: {
extend: {
fontFamily: {
sans: ["Inter var", ...defaultTheme.fontFamily.sans],
},
colors: {
rose: colors.rose,
orange: colors.orange,
yellow: colors.yellow,
green: colors.green,
teal: colors.teal,
ingido: colors.indigo,
purple: colors.purple,
pink: colors.pink,
},
typography: (theme) => ({
DEFAULT: {
css: {
pre: {
backgroundColor: theme("colors.gray.100"),
},
code: {
backgroundColor: theme("colors.gray.100"),
borderRadius: theme("borderRadius.md"),
padding: `${theme("padding.1")} ${theme("padding.px")}`,
color: theme("colors.pink.600"),
},
},
},
}),
},
},
variants: {
extend: {
opacity: ["disabled"],
},
},
plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")],
};