-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
49 lines (49 loc) · 1.35 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./app/**/*.{js,ts,jsx,tsx}", "./components/**/*.{js,ts,jsx,tsx}"],
presets: [require("nativewind/preset")],
theme: {
extend: {
fontFamily: {
rubik: ["Rubik-Regular", "sans-serif"],
"rubik-bold": ["Rubik-Bold", "sans-serif"],
"rubik-extrabold": ["Rubik-ExtraBold", "sans-serif"],
"rubik-medium": ["Rubik-Medium", "sans-serif"],
"rubik-semibold": ["Rubik-SemiBold", "sans-serif"],
"rubik-light": ["Rubik-Light", "sans-serif"],
},
},
},
plugins: [
({ addComponents }) =>
addComponents({
".code-field-root": {
marginTop: "20px",
marginBottom: "20px",
marginRight: "auto",
gap: "12px",
},
".cell-root": {
width: "45px",
height: "60px",
marginTop: "auto",
marginBottom: "auto",
justifyContent: "center",
alignItems: "center",
backgroundColor: "#F7F7F7",
borderWidth: "2px",
borderRadius: "8px",
},
".cell-text": {
fontSize: "36px",
textAlign: "center",
},
".separator": {
height: "4px",
width: "10px",
backgroundColor: "black",
alignSelf: "center",
},
}),
],
};