-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
66 lines (65 loc) · 2.01 KB
/
Copy pathtailwind.config.ts
File metadata and controls
66 lines (65 loc) · 2.01 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
import type { Config } from "tailwindcss";
import { colors } from "./src/styles/design-system";
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
"./src/ui/**/*.{js,ts,jsx,tsx,mdx}",
"./src/styles/**/*.{js,ts}",
],
theme: {
extend: {
colors: {
primary: colors.primary,
accent: colors.accent,
secondary: colors.secondary,
success: colors.success,
warning: colors.warning,
error: colors.error,
info: colors.info,
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
"field-gradient": "linear-gradient(to bottom, #15803d, #16a34a, #15803d)",
"hero-gradient": "linear-gradient(135deg, #667eea 0%, #764ba2 100%)",
},
fontFamily: {
'font-awesome': ['"Font Awesome 6 Free"'],
},
fontSize: {
'xxs': '0.625rem', // Custom smaller font size (10px)
},
content: {
'info-circle': '"\\f05a"', // Unicode for Font Awesome info-circle
},
animation: {
spin: 'spin 1s linear infinite',
'fade-in': 'fadeIn 0.3s ease-in',
'slide-in': 'slideIn 0.3s ease-out',
},
keyframes: {
spin: {
'0%': { transform: 'rotate(0deg)' },
'100%': { transform: 'rotate(360deg)' },
},
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideIn: {
'0%': { transform: 'translateY(-10px)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1' },
},
},
boxShadow: {
'inner-sm': 'inset 0 1px 2px 0 rgb(0 0 0 / 0.05)',
'card': '0 2px 8px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)',
},
},
},
plugins: [],
};
export default config;