-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
118 lines (118 loc) · 3.63 KB
/
Copy pathtailwind.config.js
File metadata and controls
118 lines (118 loc) · 3.63 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
106
107
108
109
110
111
112
113
114
115
116
117
118
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{vue,js}'],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['Inter', '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'system-ui', '"Roboto"', '"Oxygen"', '"Ubuntu"', '"Cantarell"', '"Helvetica Neue"', 'sans-serif'],
mono: ['"Fira Code"', '"Cascadia Code"', '"Source Code Pro"', 'ui-monospace', 'monospace'],
serif: ['Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'],
},
letterSpacing: {
tightest: '-0.02em',
},
colors: {
surface: {
50: '#faf7ef',
100: '#f3ecd8',
200: '#e9dfbf',
300: '#dccaa3',
400: '#c4b08a',
500: '#a38e68',
600: '#6e6656',
700: '#121212',
800: '#0b0b0b',
900: '#000000',
},
brand: {
50: '#eef2ff',
100: '#e0e7ff',
200: '#c7d2fe',
300: '#a5b4fc',
400: '#7c93f5',
500: '#5563e6',
600: '#3343b8',
700: '#2b3a9a',
800: '#202a6e',
900: '#0b1236',
},
success: {
50: '#f0fdf4',
400: '#4ade80',
500: '#22c55e',
600: '#16a34a',
},
warning: {
50: '#fefce8',
400: '#facc15',
500: '#eab308',
600: '#ca8a04',
},
danger: {
50: '#fef2f2',
400: '#f87171',
500: '#ef4444',
600: '#dc2626',
},
info: {
50: '#f0f9ff',
400: '#38bdf8',
500: '#06b6d4',
600: '#0891b2',
},
},
spacing: {
'128': '32rem',
'144': '36rem',
},
borderRadius: {
'2xl': '1rem',
'3xl': '1.5rem',
},
boxShadow: {
xs: '0 1px 2px 0 rgb(0 0 0 / 0.05)',
sm: '0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)',
base: '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)',
md: '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)',
lg: '0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)',
xl: '0 25px 50px -12px rgb(0 0 0 / 0.15)',
},
animation: {
'fade-in': 'fadeIn 0.3s ease-in-out',
'slide-in': 'slideIn 0.3s ease-in-out',
'pulse-soft': 'pulseSoft 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'elevate': 'elevate 0.35s cubic-bezier(0.2,0.9,0.2,1) both',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideIn: {
'0%': { transform: 'translateY(-10px)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1' },
},
pulseSoft: {
'0%, 100%': { opacity: '1' },
'50%': { opacity: '0.7' },
},
elevate: {
'0%': { transform: 'translateY(0)', boxShadow: '0 6px 14px -8px rgba(0,0,0,0.12)' },
'100%': { transform: 'translateY(-6px)', boxShadow: '0 18px 40px -12px rgba(0,0,0,0.18)' },
},
},
fontSize: {
xs: ['0.75rem', { lineHeight: '1rem' }],
sm: ['0.875rem', { lineHeight: '1.25rem' }],
base: ['1rem', { lineHeight: '1.5rem' }],
lg: ['1.125rem', { lineHeight: '1.75rem' }],
xl: ['1.25rem', { lineHeight: '1.75rem' }],
'2xl': ['1.5rem', { lineHeight: '2rem' }],
'3xl': ['1.875rem', { lineHeight: '2.25rem' }],
'4xl': ['2.25rem', { lineHeight: '2.5rem' }],
},
},
},
plugins: [],
}