-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
105 lines (103 loc) · 3.07 KB
/
tailwind.config.ts
File metadata and controls
105 lines (103 loc) · 3.07 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
100
101
102
103
104
105
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}",
"./content/**/*.{ts,tsx}",
],
theme: {
extend: {
colors: {
background: 'hsl(var(--background))',
foreground: 'hsl(var(--foreground))',
muted: {
DEFAULT: 'hsl(var(--muted))',
foreground: 'hsl(var(--muted-foreground))',
},
border: 'hsl(var(--border))',
primary: {
50: '#f0f0ff',
100: '#e5e5ff',
200: '#d4d4ff',
300: '#b8b8ff',
400: '#9595ff',
500: '#7c3aed',
600: '#6d28d9',
700: '#5b21b6',
800: '#4c1d95',
900: '#3b1a70',
},
accent: {
50: '#fff0f5',
100: '#ffe4ec',
200: '#ffc9dd',
300: '#ff9cc4',
400: '#ff5fa0',
500: '#ff2d7d',
600: '#f0056b',
700: '#c70055',
800: '#a5004a',
900: '#8a0040',
},
neutral: {
50: '#fafafa',
100: '#f5f5f5',
200: '#e5e5e5',
300: '#d4d4d4',
400: '#a3a3a3',
500: '#737373',
600: '#525252',
700: '#404040',
800: '#262626',
900: '#171717',
},
},
fontFamily: {
sans: ['var(--font-inter)', 'system-ui', 'sans-serif'],
display: ['var(--font-display)', 'system-ui', 'sans-serif'],
didact: ['var(--font-didact)', 'Didact Gothic', 'sans-serif'],
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
'gradient-primary': 'linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%)',
'gradient-accent': 'linear-gradient(135deg, #ff2d7d 0%, #c70055 100%)',
},
maxWidth: {
container: "1280px",
},
animation: {
'fade-in': 'fadeIn 0.6s ease-out',
'slide-up': 'slideUp 0.6s ease-out',
'float': 'float 3s ease-in-out infinite',
'marquee': 'marquee var(--duration) linear infinite',
'marquee-reverse': 'marquee-reverse var(--duration) linear infinite',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideUp: {
'0%': { transform: 'translateY(20px)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1' },
},
float: {
'0%, 100%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(-10px)' },
},
marquee: {
from: { transform: 'translateX(0)' },
to: { transform: 'translateX(calc(-100% - var(--gap)))' },
},
'marquee-reverse': {
from: { transform: 'translateX(calc(-100% - var(--gap)))' },
to: { transform: 'translateX(0)' },
},
},
},
},
plugins: [],
};
export default config;