-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
73 lines (71 loc) · 1.61 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
const defaultTheme = require("tailwindcss/defaultTheme");
const colors = require("tailwindcss/colors");
const customColors = {
transparent: "transparent",
current: "currentColor",
black: colors.black,
white: colors.white,
gray: colors.gray,
blue: colors.blue,
indigo: colors.indigo,
red: colors.red,
green: colors.green,
brand: {
DEFAULT: "var(--primary-color)",
hover: "var(--primary-hover)",
active: "var(--primary-active)",
background: "var(--background)",
dark: "var(--primary-dark)",
grey: "#e0e0e0",
50: "var(--primary-50)",
100: "var(--primary-100)",
200: "var(--primary-200)",
300: "var(--primary-300)",
400: "var(--primary-400)",
500: "var(--primary-500)",
600: "var(--primary-600)",
700: "var(--primary-700)",
800: "var(--primary-800)",
900: "var(--primary-900)",
},
secondary: {
DEFAULT: "#f5a48b",
hover: "#d8e5e6",
active: "#e3eeee",
50: "#fdede8",
100: "#fce5de",
200: "#fbd6cb",
300: "#f9c4b4",
400: "#f7b5a1",
500: "#f5a38a",
600: "#f07651",
700: "#ec4e1e",
800: "#bc3810",
900: "#83270b",
},
};
module.exports = {
mode: "jit",
purge: ["./index.html"],
theme: {
extend: {
fontFamily: {
sans: ["Roboto", ...defaultTheme.fontFamily.sans],
},
},
colors: customColors,
backgroundColors: customColors,
},
variants: {
extend: {
opacity: ["disabled"],
borderWidth: ["last"],
},
},
// ...
plugins: [
require("@tailwindcss/typography"),
require("@tailwindcss/forms"),
require('@tailwindcss/line-clamp'),
],
};