forked from Tradazone/Tradazone
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
73 lines (72 loc) · 1.81 KB
/
Copy pathtailwind.config.js
File metadata and controls
73 lines (72 loc) · 1.81 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
/** @type {import('tailwindcss').Config} */
export default {
// ISSUE: #134 (Support dark mode themes in CustomerList)
// Enabled class-based dark mode to work with ThemeContext.jsx
darkMode: 'class',
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
brand: {
DEFAULT: '#3C3CEF',
dark: '#2E2ED4',
light: '#5A5AF5',
bg: '#EDEDFD',
},
accent: {
orange: '#F5A623',
blue: '#3C3CEF',
},
page: '#F5F6FA',
sidebar: '#FFFFFF',
't-primary': '#1E293B',
't-secondary': '#5A6B80',
't-muted': '#6B7FA0',
't-light': '#CBD5E1',
border: {
DEFAULT: '#E2E8F0',
medium: '#CBD5E1',
},
success: { DEFAULT: '#10B981', bg: '#D1FAE5' },
warning: { DEFAULT: '#F59E0B', bg: '#FEF3C7' },
error: { DEFAULT: '#EF4444', bg: '#FEE2E2' },
info: { DEFAULT: '#3B82F6', bg: '#DBEAFE' },
},
fontFamily: {
sans: ['Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'sans-serif'],
},
spacing: {
'sidebar': '250px',
'header': '72px',
},
borderRadius: {
'none': '0px',
'sm': '0px',
'DEFAULT': '0px',
'md': '0px',
'lg': '0px',
'xl': '0px',
'2xl': '0px',
'3xl': '0px',
'card': '0px',
'full': '9999px',
},
fontSize: {
'2xs': ['10px', { lineHeight: '14px' }],
},
animation: {
'slide-up': 'slideUp 0.3s cubic-bezier(0.32, 0.72, 0, 1)',
},
keyframes: {
slideUp: {
from: { transform: 'translateY(100%)' },
to: { transform: 'translateY(0)' },
},
},
},
},
plugins: [],
}