-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathtailwind.config.js
63 lines (62 loc) · 1.89 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
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./app/**/*.{ts,tsx,jsx,js}"],
darkMode: "class",
theme: {
extend: {
colors: {
light: "#555555",
dark: "#CBD5E0",
darkBorder: "#36393e",
bg1Dark: "#212324",
bg2Dark: "#282A2B",
bg3Dark: "#2E3132",
dark350: "#333537",
dark400: "#37393B",
dark450: "#3F4144",
dark500: "#4F5056",
},
fontFamily: {
body: [
"NunitoSans",
"NunitoSans Override",
// import default fonts from tailwind
...defaultTheme.fontFamily.sans,
],
header: [
"source-sans-pro",
"source-sans-pro Override",
...defaultTheme.fontFamily.sans,
],
},
animation: {
enter: "enter 200ms ease-out",
"slide-in": "slide-in 1.2s cubic-bezier(.41,.73,.51,1.02)",
leave: "leave 150ms ease-in forwards",
},
keyframes: {
enter: {
"0%": { transform: "scale(0.9)", opacity: 0 },
"100%": { transform: "scale(1)", opacity: 1 },
},
leave: {
"0%": { transform: "scale(1)", opacity: 1 },
"100%": { transform: "scale(0.9)", opacity: 0 },
},
"slide-in": {
"0%": { transform: "translateY(-100%)" },
"100%": { transform: "translateY(0)" },
},
},
},
screens: {
mobile: "320px",
tablet: "768px",
tablet_editor: "964px",
laptop: "1240px",
desktop: "1400px",
},
},
plugins: [require("tailwindcss-bg-patterns"), require("tailwind-scrollbar")],
};