-
Notifications
You must be signed in to change notification settings - Fork 30
/
tailwind.config.js
54 lines (53 loc) · 1.51 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
const { fontFamily } = require("tailwindcss/defaultTheme")
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
fontFamily: {
serif: ["var(--font-fraunces)", ...fontFamily.serif],
sans: ["var(--font-quicksand)", ...fontFamily.sans],
},
colors: {
skin: {
accent: { DEFAULT: "#53CAB5", dark: "#3CAF9A" },
base: "#F9FFFF",
muted: "#EDF4F4",
dark: "#363636",
gray: "#D1DBD9",
},
},
boxShadow: {
upper:
"0 -1px 3px 0 rgb(0 0 0 / 0.1), 0 -1px 2px -1px rgb(0 0 0 / 0.1)",
"upper-md":
"0 -4px 6px -1px rgb(0 0 0 / 0.1), 0 -2px 4px -2px rgb(0 0 0 / 0.1)",
},
keyframes: {
hide: {
from: { opacity: 1 },
to: { opacity: 0 },
},
slideIn: {
from: {
transform: "translateX(calc(100% + var(--viewport-padding)))",
},
to: { transform: "translateX(0))" },
},
swipeOut: {
from: { transform: "translateX(var(--radix-toast-swipe-end-x))" },
to: { transform: "translateX(calc(100% + var(--viewport-padding)))" },
},
},
animation: {
hide: "hide 100ms ease-in",
slideIn: "slideIn 150ms cubic-bezier(0.16, 1, 0.3, 1)",
swipeOut: "swipeOut 100ms ease-out",
},
},
},
}