-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.js
43 lines (41 loc) · 1.18 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
/** @type {import('tailwindcss').Config} */
const defaultTheme = require("tailwindcss/defaultTheme");
const colors = require("tailwindcss/colors");
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
"./node_modules/preline/dist/*.js",
],
theme: {
extend: {
colors: {
gray: colors.zinc,
primary: "#ffc545",
secondary: "#07d3b0",
},
fontFamily: {
sans: ["Inter var", ...defaultTheme.fontFamily.sans],
},
keyframes: {
"slide-down": {
"0%": { opacity: 0, transform: "translateY(-10px)" },
"100%": { opacity: 1, transform: "translateY(0)" },
},
"slide-down-fade": {
"0%": { opacity: 0, transform: "translateY(-2px)" },
"100%": { opacity: 1, transform: "translateY(0)" },
},
},
animation: {
"slide-down": "slide-down 0.6s cubic-bezier(0.16, 1, 0.3, 1)",
"slide-down-fade": "slide-down-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1)",
},
},
},
plugins: [
require("@tailwindcss/forms"),
require("tailwindcss-radix")(),
require("@tailwindcss/line-clamp"),
],
};