-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
50 lines (47 loc) · 1.21 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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
darkMode: [
"variant",
[
"@media (prefers-color-scheme: dark) { &:not(.light *) }",
"&:is(.dark *)",
],
],
theme: {
extend: {
backgroundColor: {
primary: "#1A1A2E",
secondary: "#16213E",
tertiary: "#0F3460",
},
boxShadow: {
"box-shdw": "rgba(0, 0, 0, 0.08) 0px 4px 12px",
"drk-shdw":
"rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset",
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conicgradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
keyframes: {
shimmer: {
"100%": { transform: "translateX(100%)" },
},
},
screens: {
xs: { min: "320px", max: "399px" },
sm: "375px",
lg: "1024px",
xl: "1280px",
"2xl": "1370px",
},
},
},
};
export default config;