-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
75 lines (74 loc) · 1.82 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
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"components/**/*.{vue,js,ts}",
"layouts/**/*.vue",
"pages/**/*.vue",
"composables/**/*.{js,ts}",
"plugins/**/*.{js,ts}",
"App.{js,ts,vue}",
"app.{js,ts,vue}",
"Error.{js,ts,vue}",
"error.{js,ts,vue}",
"content/**/*.md",
],
theme: {
fontFamily: {
play: ["Play-Bold", "sans-serif"],
mulish: ["Mulish-Semibold", "sans-serif"],
"inter-regular": ["Inter-Regular", "sans-serif"],
"inter-medium": ["Inter-Medium", "sans-serif"],
"inter-bold": ["Inter-Bold", "sans-serif"],
},
screens: {
xs: "375px", //min-width
sm: "390px",
md: "768px",
lg: "1280px",
xl: "1366px",
"2xl": "1536px",
"3xl": "1920px",
},
container: {
center: true,
padding: {
DEFAULT: "1rem",
sm: "1.5rem",
md: "2rem",
lg: "4rem",
xl: "5rem",
"2xl": "6rem",
"3xl": "8rem",
},
},
extend: {
colors: {
transparent: "transparent",
current: "currentColor",
primary: "rgb(var(--color-primary) / 1)",
secondary: "rgb(var(--color-secondary) / 1)",
accent: "rgb(var(--color-accent) / 1)",
dark: "rgb(var(--color-dark) / 1)",
light: "rgb(var(--color-light) / 1)",
},
keyframes: {
modal: {
"0%": {
transform: "-translate-y-[50px]",
scale: "scale-90",
opacity: "opacity-0",
},
"100%": {
transform: "translate-y-0",
scale: "scale-100",
opacity: "opacity-100",
},
},
},
animation: {
modal: "modal 0.3s ease-in-out forwards",
},
},
},
plugins: [require("@tailwindcss/typography")],
};