forked from sunflower-land/sunflower-land
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
111 lines (111 loc) · 2.78 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
// eslint-disable-next-line no-undef, @typescript-eslint/no-var-requires
const colors = require("tailwindcss/colors");
// eslint-disable-next-line no-undef
module.exports = {
content: ["./src/**/*.tsx"],
theme: {
fontFamily: {
body: ['"Basic", "Ark"'],
game: '"Sigmar One", cursive, 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"',
pixel: ["Secondary"],
error: `ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;`,
speech: `ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;`,
},
fontSize: {
xxs: [
"var(--text-xxs-size)",
{
lineHeight: "var(--text-xxs-line-height)",
},
],
xs: [
"var(--text-xs-size)",
{
lineHeight: "var(--text-xs-line-height)",
},
],
sm: [
"var(--text-sm-size)",
{
lineHeight: "var(--text-sm-line-height)",
},
],
base: [
"var(--text-base-size)",
{
lineHeight: "var(--text-base-line-height)",
},
],
lg: [
"var(--text-lg-size)",
{
lineHeight: "var(--text-lg-line-height)",
},
],
},
// fontWeight: {
// thin: "100",
// extralight: "200",
// light: "300",
// normal: "400",
// medium: "500",
// semibold: "600",
// bold: "700",
// extrabold: "800",
// black: "900",
// },
colors: {
"overlay-white": "rgba(255, 255, 255, 0.5)",
...colors,
},
extend: {
fontFamily: {
ruDefault: ["Basis33"],
ruSansSerif: ["sans-serif"],
ruBold: ["Born2bSporty"],
ruChunkyOld: ["Russo\\ One"],
},
colors: {
green: {
background: "#63c74d",
},
red: {
background: "#e43b44",
},
blue: {
300: "#0099da",
600: "#0d87ff",
},
brown: {
100: "#EAD4AA",
200: "#e7a873",
300: "#c28669",
400: "#966953",
600: "#b96f50",
700: "#945542",
},
silver: {
500: "#8b9bb4",
},
error: "#e43b44",
},
animation: {
float: "floating 3s ease-in-out infinite",
pulsate: "pulsate 1s ease-in-out infinite",
},
dropShadow: {
highlight: [
"1px 1px 0px white",
"-1px 0px 0px white",
"0px -1px 0px white",
],
},
},
},
safelist: [
"font-ruDefault",
"font-ruSansSerif",
"font-ruBold",
"font-ruChunkyOld",
],
};