-
Notifications
You must be signed in to change notification settings - Fork 15
/
tailwind.config.js
129 lines (129 loc) · 3.34 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
127
128
129
module.exports = {
content: ["./app/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
fontFamily: {
sans: [
'"Work Sans"',
"ui-sans-serif",
"system-ui",
"-apple-system",
"BlinkMacSystemFont",
'"Segoe UI"',
"Roboto",
'"Helvetica Neue"',
"Arial",
'"Noto Sans"',
"sans-serif",
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
'"Noto Color Emoji"',
],
},
boxShadow: {
menu: "0px 4px 20px rgba(2, 20, 67, 0.12)",
1: "0px 0px 2px rgba(0, 0, 0, 0.14), 0px 2px 2px rgba(0, 0, 0, 0.12), 0px 1px 3px rgba(0, 0, 0, 0.2)",
2: "0px 3px 3px rgba(0, 0, 0, 0.14), 0px 3px 4px rgba(0, 0, 0, 0.12), 0px 1px 8px rgba(0, 0, 0, 0.2)",
},
colors: {
discord: {
blurple: "#5865F2",
},
light: {
// TODO I don't like theses names because token names shouldn't
// dictate how they're used, and it's difficult to figure out the
// relative values each value
type: "rgba(0, 0, 0, .87)",
"type-medium": "rgba(0, 0, 0, .61)",
"type-low": "rgba(0, 0, 0, .43)",
"type-disabled": "rgba(0, 0, 0, .23)",
"type-disabled-solid": "#bdbdbd",
"type-negative": "rgba(255, 255, 255, .87)",
interactive: "#5f4de7",
"interactive-fill": "#eceaff",
"interactive-2-background": "#fafbff",
"background-shaded": "#f7f7f7",
border: "rgba(0, 0, 0, .11)",
},
brand: {
highlight: "#EDDA54",
primary: "#352B90",
warm: "#E07862",
},
warning: {
light: "#FDECEC",
dark: "#A01212",
},
success: {
light: "#E9F7F6",
dark: "#005062",
},
black: {
30: "#fafafb",
50: "#f0f2f6",
100: "#cdd3df",
200: "#97a0b8",
300: "#535e79",
400: "#273353",
500: "#021443",
700: "#010e34",
900: "#01061e",
},
blue: {
30: "#f7fafc",
50: "#e9f3fb",
100: "#c7e1f5",
200: "#a2ceef",
300: "#60abe4",
400: "#3b98de",
500: "#1777c1",
700: "#005495",
900: "#003f70",
},
indigo: {
30: "#f7fafc",
50: "#eceaff",
400: "#8F80FE",
500: "#5F4DE7",
850: "#352B90",
},
violet: {
200: "#ddd9ff",
},
aqua: {
30: "#f7fcfc",
50: "#e9f7f6",
100: "#c7f5f2",
200: "#a2e5e3",
300: "#64cecb",
400: "#0fbebe",
500: "#00a1a1",
700: "#007981",
900: "#005062",
},
yellow: {
50: "#fffbdc",
100: "#ffeea0",
200: "#ffd978",
300: "#ffc756",
300: "#edda54",
},
magenta: {
500: "#E10079",
},
},
fill: (theme) => ({
"black-200": theme("colors.black.200"),
"light-interactive": theme("colors.light.interactive"),
}),
screens: {
"supports-hover": { raw: "(hover: hover)" },
},
},
},
variants: {
extend: {},
},
plugins: [],
};