-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
Copy pathtailwind.config.js
67 lines (66 loc) · 1.68 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
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
mode: "jit",
content: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"],
darkMode: "class", // or 'media' or 'class'
theme: {
backgroundImage: {
"panel-bg": "url('public/img/icons/panel-bg.png')",
},
container: {
center: true,
},
fontFamily: {
sans: ["Inter var", ...defaultTheme.fontFamily.sans],
mono: ["'Major\\ Mono\\ Display'", ...defaultTheme.fontFamily.mono],
},
extend: {
fontFamily: {
display: ["Raleway", ...defaultTheme.fontFamily.sans],
},
colors: {
primary: {
darkest: "#3b5bdb",
dark: "#4263eb",
DEFAULT: "#5c7cfa",
light: "#91a7ff",
lightest: "#dbe4ff",
},
info: {
darkest: "#1971c2",
dark: "#1c7ed6",
DEFAULT: "#339af0",
light: "#74c0fc",
lightest: "#d0ebff",
},
success: {
darkest: "#099268",
dark: "#0ca678",
DEFAULT: "#20c997",
light: "#63e6be",
lightest: "#c3fae8",
},
error: {
darkest: "#e03131",
dark: "#f03e3e",
DEFAULT: "#ff6b6b",
light: "#ffa8a8",
lightest: "#ffe3e3",
},
warning: {
darkest: "#f08c00",
dark: "#f59f00",
DEFAULT: "#ff922b",
light: "#ffe066",
lightest: "#fff3bf",
},
},
gridTemplateRows: {
7: "repeat(7, minmax(0,1fr))",
8: "repeat(8, minmax(0,1fr))",
9: "repeat(9, minmax(0,1fr))",
10: "repeat(10, minmax(0,1fr))",
},
},
},
};