-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
53 lines (51 loc) · 1.23 KB
/
tailwind.config.ts
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
import type { Config } from "tailwindcss";
const config = {
darkMode: "class",
content: [
"./pages/**/*.{ts,tsx}",
"./components/**/*.{ts,tsx}",
"./app/**/*.{ts,tsx}",
"./src/**/*.{ts,tsx}",
],
prefix: "",
theme: {
extend: {
borderRadius: {
DEFAULT: "var(--border-radius)",
},
fontFamily: {
main: ["Poppins", "sans-serif"],
},
colors: {
black: "#121212",
white: "#fffafd",
primary: "hsl(var(--primary))",
secondary: "hsl(var(--secondary))",
accent: "hsl(var(--accent))",
background: "hsl(var(--background))",
},
boxShadow: {
secondary: "0px 5px 20px 0px hsl(var(--secondary))",
accent: "0px 5px 20px 0px hsl(var(--accent))",
},
},
},
plugins: [
require("tailwindcss-animate"),
function ({ addUtilities }: any) {
addUtilities({
".scrollbar-hide": {
/* IE and Edge */
"-ms-overflow-style": "none",
/* Firefox */
"scrollbar-width": "none",
/* Safari and Chrome */
"&::-webkit-scrollbar": {
display: "none",
},
},
});
},
],
} satisfies Config;
export default config;