-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
91 lines (91 loc) · 2.06 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
/* eslint-disable no-undef */
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
darkMode: "class",
theme: {
colors: {
"transparent": "transparent",
"primary": "#635FC7",
"danger": "#EA5555",
"on-danger": "#FFFFFF",
"on-primary": "#FFFFFF",
"on-background": "#828FA3",
"on-secondary": "#635FC7",
"light": {
"secondary": "#635FC71A",
"surface": "#FFFFFF",
"background": "#F4F7FD",
"lines": "#E4EBFA",
"on-surface": "#000112",
},
"dark": {
"secondary": "#FFFFFF",
"surface": "#2B2C37",
"background": "#20212C",
"lines": "#3E3F4E",
"on-surface": "#FFFFFF",
},
"hover": {
primary: "#A8A4FF",
secondary: "#635FC740",
danger: "#FF9898",
},
// 0.25 opacity
"neutral-1": "#828FA340",
// 0.10 opacity
"neutral-2": "#828FA33F",
},
fontFamily: {
sans: ["Plus Jakarta Sans", "sans-serif"],
},
extend: {
fontSize: {
"heading-sm": [
"0.75rem",
{
lineHeight: "0.938rem",
letterSpacing: "0.15rem",
fontWeight: "700",
},
],
"heading-md": [
"0.938rem",
{
lineHeight: "1.188rem",
fontWeight: "700",
},
],
"heading-lg": [
"1.125rem",
{
lineHeight: "1.438rem",
fontWeight: "700",
},
],
"heading-xl": [
"1.5rem",
{
lineHeight: "1.875rem",
fontWeight: "700",
},
],
"body-md": [
"0.75rem",
{
lineHeight: "0.9375rem",
fontWeight: "700",
},
],
"body-lg": [
"0.8125rem",
{
lineHeight: "1.4375rem",
fontWeight: "500",
},
],
},
},
},
plugins: [require("@tailwindcss/forms")],
};