Repository navigation
Expand file tree
/
Copy pathtailwind.config.js
More file actions
114 lines (114 loc) · 3.56 KB
/
Copy pathtailwind.config.js
File metadata and controls
114 lines (114 loc) · 3.56 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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
darkMode: ['class', '[data-theme="dark"]'],
theme: {
extend: {
colors: {
// Neutral palette for UI; use var(--accent-main) for highlights
primary: {
50: '#fafafa',
100: '#f5f5f5',
200: '#e5e5e5',
300: '#d4d4d4',
400: '#a3a3a3',
500: '#737373',
600: '#525252',
700: '#404040',
800: '#262626',
900: '#171717',
950: '#0a0a0a',
},
accent: {
50: '#fff7ed',
100: '#ffedd5',
200: '#fed7aa',
300: '#fdba74',
400: '#fb923c',
500: '#f97316',
600: '#ea580c',
700: '#c2410c',
800: '#9a3412',
900: '#7c2d12',
950: '#431407',
},
dark: {
primary: '#2dd4bf',
'primary-focus': '#0d9488',
secondary: '#16C47F',
'secondary-focus': '#0BA279',
accent: '#B700FE',
neutral: '#6b7280',
'neutral-content': '#f8fafc',
'base-100': '#1a1a1a',
'base-200': '#242424',
'base-300': '#2a2a2a',
'base-content': '#e9ecef',
info: '#3b82f6',
success: '#22c55e',
warning: '#f59e0b',
error: '#ef4444',
'--base-100': '26 26 26',
'--base-200': '36 36 36',
'--base-300': '42 42 42',
'--base-content': '233 236 239'
},
light: {
primary: '#2dd4bf',
'primary-focus': '#0d9488',
secondary: '#16C47F',
'secondary-focus': '#0BA279',
accent: '#B700FE',
neutral: '#4b5563',
'neutral-content': '#f8fafc',
'base-100': '#ffffff',
'base-200': '#f8f9fa',
'base-300': '#e9ecef',
'base-content': '#212529',
info: '#3b82f6',
success: '#22c55e',
warning: '#f59e0b',
error: '#ef4444',
'--base-100': '255 255 255',
'--base-200': '248 249 250',
'--base-300': '233 236 239',
'--base-content': '33 37 41'
},
'base-100': 'rgb(var(--base-100) / <alpha-value>)',
'base-200': 'rgb(var(--base-200) / <alpha-value>)',
'base-300': 'rgb(var(--base-300) / <alpha-value>)',
'base-content': 'rgb(var(--base-content) / <alpha-value>)',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0', transform: 'translateY(8px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
slideUp: {
'0%': { opacity: '0', transform: 'translateY(12px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
},
animation: {
'fade-in': 'fadeIn 0.35s ease-out',
'slide-up': 'slideUp 0.4s ease-out',
},
boxShadow: {
subtle: '0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 1px rgba(0, 0, 0, 0.04)',
'subtle-md': '0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05)',
'subtle-lg': '0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05)',
'subtle-xl': '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.06)',
},
fontFamily: {
sans: ['"Inter"', 'system-ui', 'sans-serif'],
outfit: ['"Outfit"', 'system-ui', 'sans-serif'],
},
borderRadius: {
'app-sm': '6px',
'app-md': '10px',
'app-lg': '14px',
},
},
},
plugins: [],
};