-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
executable file
·47 lines (45 loc) · 1.3 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
import type { Config } from "tailwindcss"
const config: Config = {
content: ["./app/**/*.{tsx,mdx}"],
theme: {
fontFamily: {
primary: ["Inter", "sans-serif"],
},
fontSize: {
xs: "clamp(0.6rem, 0.4571rem + 0.7143vw, 0.8rem);",
sm: "1rem",
lg: "2rem",
},
spacing: {
xs: "clamp(0.25rem, 0.1364rem + 0.5682vw, 0.5rem)", //320-1024px
sm: "clamp(0.5rem, 0.3864rem + 0.5682vw, 0.75rem)", //320-1024px
md: "1rem",
lg: "3rem;",
xl: "4rem",
},
screens: {
tablet: "768px",
// => @media (min-width: 768px) { ... }
laptop: "1024px",
// => @media (min-width: 1024px) { ... }
desktop: "1440px",
// => @media (min-width: 1440px) { ... }
},
extend: {
colors: {
primary: "hsl(var(--primary) / 1)",
"primary-foreground": "hsl(var(--primary-foreground) / 1)",
secondary: "hsl(var(--secondary) / 1)",
"secondary-foreground": "hsl(var(--secondary-foreground) / 1)",
cta: "hsl(var(--cta) / 1)",
"cta-tooltip": "hsl(var(--cta-tooltip) / 0.2)",
info: "hsl(var(--info) / 1)",
warning: "hsl(var(--warning) / 1)",
danger: "hsl(var(--danger) / 1)",
success: "hsl(var(--success) / 1)",
},
},
},
plugins: [],
}
export default config