-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
126 lines (112 loc) · 3.98 KB
/
tailwind.config.js
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
/** @type {import('tailwindcss').Config} */
module.exports = {
mode: 'jit',
content: [
'./pages/**/*.{js,jsx,ts,tsx}',
'./components/**/*.{js,jsx,ts,tsx}',
'./theme/**/*.{js,jsx,ts,tsx}',
'./stories/**/*.{js,jsx,ts,tsx}',
'./node_modules/react-tailwindcss-datepicker/dist/index.esm.js',
],
plugins: [
require('@tailwindcss/forms'),
require('tailwind-scrollbar')({ nocompatible: true, preferredStrategy: 'pseudoelements' }),
],
darkMode: 'selector',
theme: {
extend: {
colors: {
primaryFocus: '#10b981', // emerald-500
primaryLighter: '#ecfdf5', // emerald-100
primaryLight: '#10b981', // emerald-500
primaryDarkFocus: '#a7f3d0', // emerald-200
primaryDarker: '#064e3b', // emerald-900
//primary
primary: '#047857', // emerald-700
primaryHover: '#065f46', // emerald-800
primaryRing: '#10b981', // emerald-500
//primary dark
primaryDark: '#10b981', // emerald-500
primaryDarkHover: '#6ee7b7', // emerald-300
primaryRingDark: '#a7f3d0', // emerald-200
//primaryIndigo
primaryIndigo: '#3730a3', // indigo-800
//primaryIndigo dark
primaryIndigoDark: '#a5b4fc', // indigo-300
//text
textLight: '#374151', // gray-700
//text dark
textDark: '#E5E7EB', // gray-200
//page title
title: '#111827', // gray-900
//page title dark
titleDark: '#F9FAFB', // gray-50
//buttonPrimary
primaryButtonText: '#fff', // white
//buttonPrimaryDark
primaryButtonTextDark: '#030712', // gray-950
//card
cardBackgroud: '#fff', // white
cardText: '#111827', // gray-900
cardTextBusy: '#b91c1c', // red-700
cardIcon: '#9ca3af', // gray-400
//cardDark
cardBackgroudDark: '#030712', // gray-950
cardTextDark: '#F9FAFB', // gray-50
cardTextBusy: '#EF4444', // red-500
cardIconDark: '#9ca3af', // gray-400
//dropdown
dropdownBg: '#fff', // white
dropdownBgHover: '#F9FAFB', // gray-50
dropdownText: '#374151', // gray-700
//dropDown dark
dropdownBgDark: '#111827', // gray-900
dropdownBgHoverDark: '#374151', // gray-700
dropdownTextDark: '#F9FAFB', // gray-50
//input
bgInput: '#fff', // white
inputText: '#374151', // gray-700
inputLabelTitle: '#374151', // gray-700
placeHolderInputText: '#6b7280', // gray-500
inputIcon: '#9ca3af', // gray-400
//input dark
bgInputDark: '#030712', // gray-950
inputTextDark: '#F9FAFB', // gray-50
inputLabelTitleDark: '#E5E7EB', // gray-200
placeHolderInputTextDark: '#d1d5db', // gray-300
inputIconDark: '#F9FAFB', // gray-50
//main page light
body: '#f8fafc', // gray-50
//main page dark
bodyDark: '#111827', // gray-900
//left/right sidebar light
sidebar: '#fff', // white
sidebarButtonSelected: '#E5E7EB', // gray-200
sidebarIconText: '#374151', // gray-700
currentSidebarIconText: '#111827', // gray-900
sidebarIconBackground: '#f3f4f6', // gray-100
currentBadgePrimary: '#047857', // emerald-700
//left/right sidebar dark
sidebarDark: '#030712', // gray-950
sidebarButtonSelectedDark: '#1F2937', // gray-800
sidebarIconTextDark: '#D1D5DB', // gray-300
currentSidebarIconTextDark: '#F9FAFB', // gray-50
sidebarIconBackgroundDark: '#1F2937', // gray-800
currentBadgePrimaryDark: '#10b981', // emerald-500
//topbar light
topbar: '#fff', // white
topBarText: '#9ca3af', // gray-400
//topbar dark
topbarDark: '#030712', // gray-950
topBarTextDark: '#E5E7EB', // gray-200
},
screens: {
'3xl': '1792px',
'4xl': '2048px',
'5xl': '2560px',
'6xl': '3072px',
'7xl': '3584px',
},
},
},
}