-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
56 lines (54 loc) · 1.7 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
const colors = require("tailwindcss/colors");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx}", // Note the addition of the `app` directory.
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
white: "#fff",
green: colors.emerald,
yellow: colors.amber,
purple: colors.violet,
gray: colors.neutral,
"gray-150": "#EEEFF2",
"gray-1000": "#050505",
black: "#050505",
"design-details": "#458886",
"design-details-light": "#EEF3F3",
"design-details-dark": "#273F3F",
"hacker-news": "#FF965A",
twitter: "#479BEA",
current: "currentColor",
"yala-purple": "#9D6EFF",
mahogony: "#a73221",
"tropical-rain-forest": "#fff",
"space": "#134b5a",
"space-light": "#1f5f6f",
},
boxShadow: {
xs: "0 1px 2px 0px rgba(0,0,0,0.03)",
subtle: "0 4px 32px rgba(0,0,0,0.03)",
cardHover:
"0 4px 4.1px rgba(0, 0, 0, 0.012),0 4.9px 5.8px rgba(0, 0, 0, 0.018),0 6.3px 8.4px rgba(0, 0, 0, 0.029),0 8.8px 12.9px rgba(0, 0, 0, 0.05),0 15px 23px rgba(0, 0, 0, 0.11)",
},
animation: {
modalEnter: "modal-enter 200ms cubic-bezier(0.16, 1, 0.3, 1)",
},
keyframes: {
"modal-enter": {
"0%": { opacity: 0, transform: "translate(-50%, -50%) scale(.96)" },
"100%": { opacity: 1, transform: "translate(-50%, -50%) scale(1)" },
},
},
},
},
plugins: [
require("@tailwindcss/typography"),
require("@tailwindcss/forms"),
require("@tailwindcss/line-clamp"),
],
};