-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
99 lines (98 loc) · 2.71 KB
/
tailwind.config.js
File metadata and controls
99 lines (98 loc) · 2.71 KB
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
const { hairlineWidth } = require("nativewind/theme");
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: "class",
content: ["./app/**/*.{ts,tsx,jsx,js}", "./components/**/*.{ts,tsx,js,jsx}"],
presets: [require("nativewind/preset")],
theme: {
extend: {
colors: {
border: "#e2e8f0",
input: "hsl(var(--input))",
ring: "hsl(var(--ring))",
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
text: {
DEFAULT: "#282828",
primary: "#282828",
foreground: "#646464",
white: "#fff",
},
primary: {
DEFAULT: "#CB1E1E",
foreground: "hsl(var(--primary-foreground))",
},
secondary: {
DEFAULT: "#EA7171",
foreground: "hsl(var(--secondary-foreground))",
},
accent: {
DEFAULT: "#F1A7A7",
foreground: "hsl(var(--accent-foreground))",
},
destructive: {
DEFAULT: "#B02E2E",
foreground: "#8A2F2F",
},
success: {
DEFAULT: "#1EA427",
foreground: "#1F8126",
},
warning: {
DEFAULT: "#F2BC08",
foreground: "#DEB11C",
},
muted: {
DEFAULT: "hsl(var(--muted))",
foreground: "hsl(var(--muted-foreground))",
},
popover: {
DEFAULT: "hsl(var(--popover))",
foreground: "hsl(var(--popover-foreground))",
},
card: {
DEFAULT: "#fff",
foreground: "hsl(var(--card-foreground))",
},
},
fontFamily: {
sans: ["Inter", "sans-serif"], // I used Inter as a default font
inter: ["Inter", "sans-serif"],
body: ["Inter", "sans-serif"],
},
backgroundImage: {
"shadow-gradient":
"linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to))",
},
fontWeight: {
thin: "100",
extralight: "200",
light: "300",
normal: "400",
medium: "500",
semibold: "600",
bold: "700",
extrabold: "800",
black: "900",
},
borderWidth: {
hairline: hairlineWidth(),
},
keyframes: {
"accordion-down": {
from: { height: "0" },
to: { height: "var(--radix-accordion-content-height)" },
},
"accordion-up": {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: "0" },
},
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
},
},
},
plugins: [require("tailwindcss-animate")],
};