-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
126 lines (117 loc) · 3.46 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx,css}", "index.html"],
theme: {
extend: {
animation: {
rotate: "rotate 1.5s linear infinite forwards",
},
keyframes: {
rotate: {
"0%": { transform: "rotate(0deg) scale(10)", opacity: 0 },
"50%": { transform: "rotate(-180deg) scale(10)", opacity: 0.25 },
"100%": { transform: "rotate(-360deg) scale(10)", opacity: 0 },
},
},
},
colors: {
aquamarine: {
100: "#E8FFF7",
DEFAULT: "#15FFAB",
600: "#11cc89",
},
"sky-blue": {
100: "#95ECFF",
DEFAULT: "#14D0F9",
800: "#00A7CC",
},
eggplant: {
100: "#F3E9ED",
DEFAULT: "#753F53",
600: "#462632",
},
// Used for primary buttons, links, tabs and states
lime: {
100: "#DFFF99",
DEFAULT: "#BAFF29",
800: "#8BCC00",
},
// Used for interactive text and components such as tabs, tags and
// sliders
teal: {
100: "#E8FCFC",
DEFAULT: "#9BF3F0",
800: "#49E9E4",
900: "#16B6B1",
},
"warpcast-purple": "#472b92",
"farcaster-purple": "#8A63D2",
gray: {
50: "#EFF4F6",
100: "#BDD2DB",
400: "#9CBBC9",
500: "#4E6A77",
600: "#243942",
700: "#202F36",
750: "#152025",
800: "#141E23",
900: "#10191D",
},
// New style variables from latest design
"inactive-tab": "#C2C7CA",
white: "#FFFFFF",
},
fontFamily: {
chakraPetch: ["Chakra Petch"],
inter: ["Inter"],
dmMono: ["DM Mono"],
},
lineHeight: {
// used in FAQ and places where we want more space between full lines of
// text.
bodyText: "24px",
},
fontSize: {
// body texts
lg: ["18px", { lineHeight: "22px" }],
md: ["16px", { lineHeight: "20px" }],
// design doc says `sm` should have 16px lineHeight, but it looks too
// squeezed when there are 2 lines of text, so we are intentionally
// deviating by a few pixels to make running text look better
sm: ["14px", { lineHeight: "18px" }],
xs: ["12px", { lineHeight: "14px" }],
"2xs": ["10px", { lineHeight: "12px" }],
// Headings
h1: ["64px", { lineHeight: "77px" }],
h2: ["40px", { lineHeight: "48px" }],
h3: ["32px", { lineHeight: "38px" }],
h4: ["24px", { lineHeight: "30px" }],
h5: ["20px", { lineHeight: "28px" }],
},
},
plugins: [require("daisyui"), require("tailwindcss-debug-screens")],
daisyui: {
prefix: "daisy-",
themes: [
{
hyperdrive: {
primary: "#15FFAB", // Aquamarine DEFAULT
"primary-content": "#10191D", // Neutral-900
accent: "#14D0F9", // teal DEFAULT
"accent-content": "#10191D", // Neutral-900
neutral: "#141E23", // Neutral-800
"neutral-content": "#9CBBC9", // Neutral-800
"base-100": "#10191D", // Gray-900
"base-200": "#1A272D", // Gray-800
"base-content": "#EFF4F6", // Gray-50
error: "#FF5757",
success: "#36D399",
"--tab-radius": "0.4rem",
"--rounded-box": "2rem", // border radius rounded-box utility class, used in card and other large boxes
"--rounded-btn": "0.4rem",
"--rounded-badge": "0.4rem",
},
},
],
},
};