Repository navigation
Expand file tree
/
Copy pathtailwind.config.js
More file actions
150 lines (127 loc) · 4.61 KB
/
Copy pathtailwind.config.js
File metadata and controls
150 lines (127 loc) · 4.61 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/renderer/index.html', './src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {
colors: {
// borders
borderDark: '#374151', // gray-700
borderLight: '#E5E7EB', // gray-200
// design system surfaces
elevationL1: '#F9FAFB', // gray-50
// design system text
textPrimaryNeutral: '#111827', // gray-900
textPrimaryNeutralDark: '#F9FAFB', // gray-50
textSecondaryNeutral: '#374151', // gray-700
textSecondaryNeutralDark: '#E5E7EB', // gray-200
// design system product
productPrimaryNethlinkActive: '#1d4ed8', // blue-700
productPrimaryNethlinkActiveDark: '#3b82f6', // blue-500
// design system surfaces
surfaceToggleBackgroundDisabled: '#9CA3AF', // gray-400
surfaceToggleBackgroundDisabledDark: '#4B5563', // gray-600
// primary
primary: '#1d4ed8', // blue-700
primaryHover: '#1e40af', // blue-800
primaryRing: '#3b82f6', // blue-500
// primary dark
primaryDark: '#3b82f6', // blue-500
primaryDarkHover: '#93c5fd', // blue-300
primaryRingDark: '#bfdbfe', // blue-200
// text
titleLight: '#374151', // gray-700
titleDark: '#E5E7EB', // gray-200
// blue text
textBlueLight: '#1d4ed8', // blue-700
textBlueDark: '#3b82f6', // blue-500
// indigo text
textIndigoLight: '#4c1d95', // indigo-700
textIndigoDark: '#818cf8', // indigo-400
// yellow text
textYellowLight: '#B45309', // yellow-700
textYellowDark: '#F59E0B', // yellow-500
// red text
textRedLight: '#BE123C', // red-700
textRedDark: '#F43F5E', // red-500
// amber icon
iconAmberLight: '#b45309', // amber-700
iconAmberDark: '#fef3c7', // amber-100
iconTooltip: '#6366F1', // indigo-500
iconTooltipDark: '#A5B4FC', // indigo-300
// buttonPrimary
primaryButtonText: '#fff', // white
primaryButtonTextDark: '#030712', // gray-950
// input
bgInput: '#fff', // white
inputText: '#111827', // gray-900
inputLabelTitle: '#111827', // gray-900
placeHolderInputText: '#111827', // gray-900
inputIcon: '#374151', // gray-700
// input dark
bgInputDark: '#030712', // gray-950
inputTextDark: '#F9FAFB', // gray-50
inputLabelTitleDark: '#F9FAFB', // gray-50
placeHolderInputTextDark: '#F9FAFB', // gray-50
inputIconDark: '#F9FAFB', // gray-50
// loadingSpinnerBackground
spinnerBgLight: '#f9fafb', // gray-50
spinnerBgDark: '#030712', // gray-950
// background
bgLight: '#f9fafb', // gray-50
bgDark: '#111827', // gray-900
bgEmerald: '#15803D', // gray-900
// modal
bgAmberLight: '#fef3c7', // amber-100
bgAmberDark: '#b45309', // amber-700
// hover
hoverDark: '#374151', // gray-700
hoverLight: '#E5E7EB', // gray-200
// ring
ringBlueDark: '#bfdbfe', // blue-200
ringBlueLight: '#3b82f6', // blue-500
// ring-offset
ringOffsetDark: '#111827', // gray-900
ringOffsetLight: '#F9FAFB', // gray-50
// iconEmpty
emptyIconLight: '#9CA3AF',
emptyIconDark: '#6B7280',
// textEmpty
emptyTextLight: '#374151',
emptyTextDark: '#E5E7EB',
surfaceToastInfo: '#E0E7FF',
surfaceToastInfoDark: '#312E81',
surfaceToastSuccess: '#DCFCE7',
surfaceToastSuccessDark: '#14532D',
surfaceToastWarning: '#FEF3C7',
surfaceToastWarningDark: '#7C2D12',
surfaceToastError: '#FFE4E6',
surfaceToastErrorDark: '#7F1D1D',
surfacePresenceBusy: '#EF4444',
surfacePresenceBusyDark: '#EF4444',
surfacePresenceOnline: '#22C55E',
surfacePresenceOnlineDark: '#22C55E',
surfacePresenceDnd: '##030712',
surfacePresenceDndDark: '#030712',
surfacePresenceOffline: '#6B7280',
surfacePresenceOfflineDark: '#6B7280',
},
screens: {
'3xl': '1792px',
'4xl': '2048px',
'5xl': '2560px',
'6xl': '3072px',
'7xl': '3584px',
},
boxShadow: {
lightXs: '0px 1px 2px 0px rgba(0, 0, 0, 0.05)',
lightXl:
'0px 20px 25px -5px rgba(0, 0, 0, 0.10), 0px 8px 10px -6px rgba(0, 0, 0, 0.10)',
},
fontFamily: {
Poppins: ['Poppins', 'sans-serif'],
},
},
},
plugins: [require('@tailwindcss/forms')],
darkMode: 'selector',
}