-
Notifications
You must be signed in to change notification settings - Fork 6
/
tailwind.config.ts
71 lines (69 loc) · 1.68 KB
/
tailwind.config.ts
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
import defaultTheme from 'tailwindcss/defaultTheme';
import type { Config } from 'tailwindcss';
const config = {
darkMode: ['class'],
content: [
'./src/**/*.{js,ts,jsx,tsx,mdx}',
'./node_modules/react-tailwindcss-datepicker/dist/index.esm.js',
],
safelist: [
// We use dynamic cols for TransactionForm when showing exchange rate
'visible',
{
pattern: /col-span-.*/,
},
// padding is added dynamically to expandable tables
{
pattern: /pl-.*/,
},
],
prefix: '',
theme: {
fontFamily: {
sans: ['InterVariable', ...defaultTheme.fontFamily.sans],
},
extend: {
gridTemplateColumns: {
13: 'repeat(13, minmax(0, 1fr))',
},
colors: {
background: {
700: 'var(--background-700)',
800: 'var(--background-800)',
},
foreground: 'var(--foreground)',
primary: 'var(--primary)',
success: 'var(--success)',
misc: 'var(--misc)',
info: 'var(--info)',
warning: 'var(--warning)',
danger: 'var(--danger)',
dark: {
50: '#f3f4f5',
100: '#e5e7e9',
200: '#cfd3d7',
300: '#b9bfc4',
400: '#a2a9af',
500: '#8b9399',
600: '#777f85',
700: '#3a444e',
800: '#323b44',
900: '#282f36',
},
light: {
50: '#f9fafb',
100: '#f3f4f6',
200: '#e5e7eb',
300: '#d1d5db',
400: '#9ca3af',
500: '#6b7280',
600: '#4b5563',
700: '#374151',
800: '#1F2937',
900: '#111827',
},
},
},
},
} satisfies Config;
export default config;