@akashlimbani18/tail-admin-ui 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +55 -0
- package/dist/favicon.svg +1 -0
- package/dist/icons.svg +24 -0
- package/dist/tail-admin-ui.cjs.js +476 -0
- package/dist/tail-admin-ui.es.js +33815 -0
- package/dist/theme/foundations.css +93 -0
- package/dist/theme/theme-tokens.css +414 -0
- package/package.json +69 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--font-family-sans: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
|
|
3
|
+
--font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
4
|
+
|
|
5
|
+
--font-size-xs: 12px;
|
|
6
|
+
--font-size-sm: 14px;
|
|
7
|
+
--font-size-md: 16px;
|
|
8
|
+
--font-size-lg: 20px;
|
|
9
|
+
--font-size-xl: 28px;
|
|
10
|
+
--font-size-2xl: 36px;
|
|
11
|
+
--font-size-3xl: 48px;
|
|
12
|
+
|
|
13
|
+
--font-weight-regular: 400;
|
|
14
|
+
--font-weight-medium: 500;
|
|
15
|
+
--font-weight-semibold: 600;
|
|
16
|
+
--font-weight-bold: 700;
|
|
17
|
+
|
|
18
|
+
--line-height-tight: 1.2;
|
|
19
|
+
--line-height-normal: 1.5;
|
|
20
|
+
|
|
21
|
+
--space-0: 0;
|
|
22
|
+
--space-1: 4px;
|
|
23
|
+
--space-2: 8px;
|
|
24
|
+
--space-3: 12px;
|
|
25
|
+
--space-4: 16px;
|
|
26
|
+
--space-5: 20px;
|
|
27
|
+
--space-6: 24px;
|
|
28
|
+
--space-8: 32px;
|
|
29
|
+
--space-10: 40px;
|
|
30
|
+
--space-11: 44px;
|
|
31
|
+
|
|
32
|
+
--radius-sm: 4px;
|
|
33
|
+
--radius-md: 8px;
|
|
34
|
+
--radius-lg: 12px;
|
|
35
|
+
--radius-xl: 16px;
|
|
36
|
+
--radius-full: 999px;
|
|
37
|
+
|
|
38
|
+
--shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.08);
|
|
39
|
+
--shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.1);
|
|
40
|
+
--shadow-md: 0 8px 24px rgba(16, 24, 40, 0.12);
|
|
41
|
+
|
|
42
|
+
--grid-max-width: 1200px;
|
|
43
|
+
--grid-columns: 12;
|
|
44
|
+
--grid-gutter: 24px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
* {
|
|
48
|
+
box-sizing: border-box;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
body {
|
|
52
|
+
margin: 0;
|
|
53
|
+
font-family: var(--font-family-sans);
|
|
54
|
+
color: var(--color-text-secondary);
|
|
55
|
+
background: var(--color-bg-surface);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* Global minimal scrollbar */
|
|
59
|
+
::-webkit-scrollbar {
|
|
60
|
+
width: 4px;
|
|
61
|
+
height: 4px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
::-webkit-scrollbar-track {
|
|
65
|
+
background: transparent;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
::-webkit-scrollbar-thumb {
|
|
69
|
+
background: rgba(156, 163, 175, 0.35);
|
|
70
|
+
border-radius: 999px;
|
|
71
|
+
transition: background 0.2s ease;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
::-webkit-scrollbar-thumb:hover {
|
|
75
|
+
background: rgba(107, 114, 128, 0.55);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
* {
|
|
79
|
+
scrollbar-width: thin;
|
|
80
|
+
scrollbar-color: rgba(156, 163, 175, 0.35) transparent;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
[data-theme='dark'] ::-webkit-scrollbar-thumb {
|
|
84
|
+
background: rgba(148, 163, 184, 0.45);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
[data-theme='dark'] ::-webkit-scrollbar-thumb:hover {
|
|
88
|
+
background: rgba(203, 213, 225, 0.55);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
[data-theme='dark'] * {
|
|
92
|
+
scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
|
|
93
|
+
}
|
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
:root, [data-theme='light'] {
|
|
2
|
+
--token-text-brand-color: #6366f1;
|
|
3
|
+
--token-text-neutral-brand-color: #6366f1;
|
|
4
|
+
--token-text-title-color: #1f2937;
|
|
5
|
+
--token-text-text-color: #374151;
|
|
6
|
+
--token-text-secondary-text-color: #6b7280;
|
|
7
|
+
--token-text-tertiary-text-color: #9ca3af;
|
|
8
|
+
--token-border-border: #d1d5db;
|
|
9
|
+
--token-border-border-secondary: #e5e7eb;
|
|
10
|
+
--token-border-border-tertiary: #9ca3af;
|
|
11
|
+
--token-background-body: #ffffff;
|
|
12
|
+
--token-background-body-secondary: #f9fafb;
|
|
13
|
+
--token-background-app: #f9fafb;
|
|
14
|
+
--token-logo-logo-light: #ffffff;
|
|
15
|
+
--token-logo-logo-dark: #111827;
|
|
16
|
+
--token-sidebar-navigation-background: #ffffff;
|
|
17
|
+
--token-sidebar-navigation-nav-item-nav-default-background: #ffffff;
|
|
18
|
+
--token-sidebar-navigation-nav-item-nav-hover-background: #f9fafb;
|
|
19
|
+
--token-sidebar-navigation-nav-item-nav-secondary-hover-background: #f3f4f6;
|
|
20
|
+
--token-sidebar-navigation-nav-item-nav-hover-text: #374151;
|
|
21
|
+
--token-sidebar-navigation-nav-item-nav-active-text: #6366f1;
|
|
22
|
+
--token-sidebar-navigation-nav-item-nav-active-background: #eef2ff;
|
|
23
|
+
--token-sidebar-navigation-nav-item-nav-focused-background: #eef2ff;
|
|
24
|
+
--token-sidebar-navigation-nav-item-default-text: #374151;
|
|
25
|
+
--token-sidebar-navigation-nav-item-icon: #6b7280;
|
|
26
|
+
--token-sidebar-navigation-nav-item-badge-background: #6366f1;
|
|
27
|
+
--token-sidebar-navigation-nav-item-badge-text: #ffffff;
|
|
28
|
+
--token-sidebar-navigation-footer-background: #f9fafb;
|
|
29
|
+
--token-sidebar-navigation-footer-title: #111827;
|
|
30
|
+
--token-sidebar-navigation-footer-sub-title: #6b7280;
|
|
31
|
+
--token-sidebar-navigation-footer-button-text: #ffffff;
|
|
32
|
+
--token-card-background: #ffffff;
|
|
33
|
+
--token-card-solid-background: #ffffff;
|
|
34
|
+
--token-card-secondary-background: #f3f4f6;
|
|
35
|
+
--token-alerts-primary-background: #eef2ff;
|
|
36
|
+
--token-alerts-primary-icon: #6366f1;
|
|
37
|
+
--token-alerts-primary-border: #6366f1;
|
|
38
|
+
--token-alerts-error-background: #fef2f2;
|
|
39
|
+
--token-alerts-error-icon: #ef4444;
|
|
40
|
+
--token-alerts-error-border: #ef4444;
|
|
41
|
+
--token-alerts-warning-background: #fffbeb;
|
|
42
|
+
--token-alerts-warning-icon: #f59e0b;
|
|
43
|
+
--token-alerts-warning-border: #f59e0b;
|
|
44
|
+
--token-alerts-success-background: #ecfdf3;
|
|
45
|
+
--token-alerts-success-icon: #22c55e;
|
|
46
|
+
--token-alerts-success-border: #22c55e;
|
|
47
|
+
--token-alerts-info-background: #eff6ff;
|
|
48
|
+
--token-alerts-info-icon: #3b82f6;
|
|
49
|
+
--token-alerts-info-border: #3b82f6;
|
|
50
|
+
--token-status-gray-light-background: #f3f4f6;
|
|
51
|
+
--token-status-gray-light-text: #374151;
|
|
52
|
+
--token-status-gray-solid-background: #9ca3af;
|
|
53
|
+
--token-status-gray-solid-text: #ffffff;
|
|
54
|
+
--token-status-primary-light-background: #eef2ff;
|
|
55
|
+
--token-status-primary-light-secondary-background: #e0e7ff;
|
|
56
|
+
--token-status-primary-light-text: #6366f1;
|
|
57
|
+
--token-status-primary-solid-background: #6366f1;
|
|
58
|
+
--token-status-primary-solid-text: #ffffff;
|
|
59
|
+
--token-status-error-light-background: #fef2f2;
|
|
60
|
+
--token-status-error-light-text: #dc2626;
|
|
61
|
+
--token-status-error-solid-background: #ef4444;
|
|
62
|
+
--token-status-error-solid-text: #ffffff;
|
|
63
|
+
--token-status-warning-light-background: #fffbeb;
|
|
64
|
+
--token-status-warning-light-text: #d97706;
|
|
65
|
+
--token-status-warning-solid-background: #f59e0b;
|
|
66
|
+
--token-status-warning-solid-text: #ffffff;
|
|
67
|
+
--token-status-success-light-background: #ecfdf3;
|
|
68
|
+
--token-status-success-light-text: #16a34a;
|
|
69
|
+
--token-status-success-solid-background: #22c55e;
|
|
70
|
+
--token-status-success-solid-text: #ffffff;
|
|
71
|
+
--token-status-info-light-background: #eff6ff;
|
|
72
|
+
--token-status-info-light-text: #3b82f6;
|
|
73
|
+
--token-status-info-soldi-background: #3b82f6;
|
|
74
|
+
--token-status-info-soldi-text: #ffffff;
|
|
75
|
+
--token-status-dark-light-background: #6b7280;
|
|
76
|
+
--token-status-dark-light-text: #ffffff;
|
|
77
|
+
--token-status-dark-light-secondary-text: #374151;
|
|
78
|
+
--token-status-dark-solid-background: #1f2937;
|
|
79
|
+
--token-status-dark-solid-text: #ffffff;
|
|
80
|
+
--token-input-background: #ffffff;
|
|
81
|
+
--token-input-label-text-color: #6b7280;
|
|
82
|
+
--token-input-disabled-text: #d1d5db;
|
|
83
|
+
--token-input-placeholder-text-color: #9ca3af;
|
|
84
|
+
--token-input-brand-focus-border-color: #a5b4fc;
|
|
85
|
+
--token-input-error-focus-border-color: #f87171;
|
|
86
|
+
--token-input-success-focus-border-color: #4ade80;
|
|
87
|
+
--token-input-error-color: #ef4444;
|
|
88
|
+
--token-input-success-color: #22c55e;
|
|
89
|
+
--token-tab-background: #f3f4f6;
|
|
90
|
+
--token-tab-active-background: #ffffff;
|
|
91
|
+
--token-tab-secondary-active-background: #eef2ff;
|
|
92
|
+
--token-button-stroke-background: #ffffff;
|
|
93
|
+
--token-button-stroke-stroke: #d1d5db;
|
|
94
|
+
--token-button-stroke-hover-background: #f9fafb;
|
|
95
|
+
--token-button-stroke-text: #1f2937;
|
|
96
|
+
--token-button-stroke-hover-text: #1f2937;
|
|
97
|
+
--token-schedule-list-background: #ffffff;
|
|
98
|
+
--token-schedule-list-active-background: #f9fafb;
|
|
99
|
+
--token-checkbox-border-color: #d1d5db;
|
|
100
|
+
--token-checkbox-background: #ffffff;
|
|
101
|
+
--token-checkbox-checked-border-color: #6366f1;
|
|
102
|
+
--token-checkbox-checked-background: #6366f1;
|
|
103
|
+
--token-checkbox-checked-color: #ffffff;
|
|
104
|
+
--token-scrollbar-color: #e5e7eb;
|
|
105
|
+
--token-datepicker-background: #ffffff;
|
|
106
|
+
--token-datepicker-selected-date-background: #f9fafb;
|
|
107
|
+
--token-dropdowns-background: #ffffff;
|
|
108
|
+
--token-dropdowns-secondary-background: #ffffff;
|
|
109
|
+
--token-dropdowns-devider-color: #e5e7eb;
|
|
110
|
+
--token-calendar-disabled-date-color: #9ca3af;
|
|
111
|
+
--token-calendar-calendar-selected-date-primary-badge: #6366f1;
|
|
112
|
+
--token-calendar-calendar-selected-date-primary-bg: #eef2ff;
|
|
113
|
+
--token-calendar-calendar-selected-date-success-badge: #22c55e;
|
|
114
|
+
--token-calendar-calendar-selected-date-success-bg: #ecfdf3;
|
|
115
|
+
--token-calendar-calendar-selected-date-warning-badge: #f97316;
|
|
116
|
+
--token-calendar-calendar-selected-date-warning-bg: #fff7ed;
|
|
117
|
+
--token-calendar-calendar-selected-date-denger-badge: #ef4444;
|
|
118
|
+
--token-calendar-calendar-selected-date-denger-bg: #fef2f2;
|
|
119
|
+
--token-calendar-calendar-selected-date-info-badge: #3b82f6;
|
|
120
|
+
--token-calendar-calendar-selected-date-info-bg: #eff6ff;
|
|
121
|
+
--token-calendar-calendar-selected-date-text-color: #374151;
|
|
122
|
+
--token-calendar-calendar-selected-date-more-menu-color: #9ca3af;
|
|
123
|
+
--token-calendar-calendar-selected-date-dropdown-bg: #ffffff;
|
|
124
|
+
--token-kanban-task-card-bg: #ffffff;
|
|
125
|
+
--token-kanban-task-dropdown-bg: #ffffff;
|
|
126
|
+
--token-switch-default-bg: #e5e7eb;
|
|
127
|
+
--token-switch-custom-bg: #1f2937;
|
|
128
|
+
--token-file-manager-icon-bg-1: #12b76a14;
|
|
129
|
+
--token-file-manager-icon-bg-2: #ee46bc14;
|
|
130
|
+
--token-file-manager-icon-bg-3: #0ba5ec14;
|
|
131
|
+
--token-file-manager-icon-bg-4: #fb651414;
|
|
132
|
+
--token-file-manager-icon-bg-5: #f7900914;
|
|
133
|
+
--token-file-manager-icon-bg-6: #7a5af814;
|
|
134
|
+
--token-pricing-table-active-switcher-bg: #ffffff;
|
|
135
|
+
--token-pricing-table-active-pricing-card: #1f2937;
|
|
136
|
+
--token-pricing-table-button-bg: #1f2937;
|
|
137
|
+
--token-pricing-table-table-2-icon-color: #6366f1;
|
|
138
|
+
--token-pricing-table-table-2-icon-bg: #eef2ff;
|
|
139
|
+
--token-faq-s-first-faq-active-title-bg: #f9fafb;
|
|
140
|
+
--token-faq-s-second-faq-active-bg: #eef2ff;
|
|
141
|
+
--token-faq-s-second-faq-active-border-color: #e0e7ff;
|
|
142
|
+
--token-faq-s-second-faq-active-title-color: #1f2937;
|
|
143
|
+
--token-faq-s-second-faq-active-text-color-2: #374151;
|
|
144
|
+
--token-chat-list-chat-list-bg-1: #f3f4f6;
|
|
145
|
+
--token-chat-list-chat-list-bg-2: #6366f1;
|
|
146
|
+
--token-invoice-total-amount-bg: #f9fafb;
|
|
147
|
+
--token-tooltip-text-color: #374151;
|
|
148
|
+
--token-popovers-title-bg: #f3f4f6;
|
|
149
|
+
--color-text-primary: var(--token-text-title-color);
|
|
150
|
+
--color-text-secondary: var(--token-text-text-color);
|
|
151
|
+
--color-text-tertiary: var(--token-text-secondary-text-color);
|
|
152
|
+
--color-brand-primary: var(--token-text-brand-color);
|
|
153
|
+
--color-bg-surface: var(--token-background-body);
|
|
154
|
+
--color-bg-surface-secondary: var(--token-background-body-secondary);
|
|
155
|
+
--color-bg-page: var(--token-background-app);
|
|
156
|
+
--color-border-default: var(--token-border-border);
|
|
157
|
+
--color-border-muted: var(--token-border-border-secondary);
|
|
158
|
+
--color-card-bg: var(--token-card-background);
|
|
159
|
+
--color-card-bg-solid: var(--token-card-solid-background);
|
|
160
|
+
--color-input-bg: var(--token-input-background);
|
|
161
|
+
--color-focus-brand: var(--token-input-brand-focus-border-color);
|
|
162
|
+
--color-alert-primary-bg: var(--token-alerts-primary-background);
|
|
163
|
+
--color-alert-primary-border: var(--token-alerts-primary-border);
|
|
164
|
+
--color-alert-primary-icon: var(--token-alerts-primary-icon);
|
|
165
|
+
--color-alert-success-bg: var(--token-alerts-success-background);
|
|
166
|
+
--color-alert-success-border: var(--token-alerts-success-border);
|
|
167
|
+
--color-alert-success-icon: var(--token-alerts-success-icon);
|
|
168
|
+
--color-alert-warning-bg: var(--token-alerts-warning-background);
|
|
169
|
+
--color-alert-warning-border: var(--token-alerts-warning-border);
|
|
170
|
+
--color-alert-warning-icon: var(--token-alerts-warning-icon);
|
|
171
|
+
--color-alert-error-bg: var(--token-alerts-error-background);
|
|
172
|
+
--color-alert-error-border: var(--token-alerts-error-border);
|
|
173
|
+
--color-alert-error-icon: var(--token-alerts-error-icon);
|
|
174
|
+
--color-alert-info-bg: var(--token-alerts-info-background);
|
|
175
|
+
--color-alert-info-border: var(--token-alerts-info-border);
|
|
176
|
+
--color-alert-info-icon: var(--token-alerts-info-icon);
|
|
177
|
+
--color-btn-secondary-fill-bg: var(--token-border-border);
|
|
178
|
+
--color-btn-secondary-fill-text: var(--token-text-title-color);
|
|
179
|
+
--color-btn-secondary-fill-hover-bg: var(--token-border-border-tertiary);
|
|
180
|
+
--color-btn-danger-bg: var(--token-status-error-solid-background);
|
|
181
|
+
--color-btn-success-bg: var(--token-status-success-solid-background);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
[data-theme='dark'] {
|
|
185
|
+
/* ── BRAND ── */
|
|
186
|
+
--token-text-brand-color: #6366f1;
|
|
187
|
+
--token-text-neutral-brand-color: #a5b4fc;
|
|
188
|
+
|
|
189
|
+
/* ── TYPOGRAPHY ── */
|
|
190
|
+
--token-text-title-color: #f8fafc;
|
|
191
|
+
--token-text-text-color: #e2e8f0;
|
|
192
|
+
--token-text-secondary-text-color: #94a3b8;
|
|
193
|
+
--token-text-tertiary-text-color: #64748b;
|
|
194
|
+
|
|
195
|
+
/* ── BORDERS ── */
|
|
196
|
+
--token-border-border: #2a3852;
|
|
197
|
+
--token-border-border-secondary: #2a3852;
|
|
198
|
+
--token-border-border-tertiary: #34435e;
|
|
199
|
+
|
|
200
|
+
/* ── BACKGROUNDS ── */
|
|
201
|
+
--token-background-body: #111827;
|
|
202
|
+
--token-background-body-secondary: #111827;
|
|
203
|
+
--token-background-app: #0b1220;
|
|
204
|
+
--token-logo-logo-light: #111827;
|
|
205
|
+
--token-logo-logo-dark: #ffffff;
|
|
206
|
+
|
|
207
|
+
/* ── SIDEBAR ── */
|
|
208
|
+
--token-sidebar-navigation-background: #0f172a;
|
|
209
|
+
--token-sidebar-navigation-nav-item-nav-default-background: #0f172a;
|
|
210
|
+
--token-sidebar-navigation-nav-item-nav-hover-background: #1e293b;
|
|
211
|
+
--token-sidebar-navigation-nav-item-nav-secondary-hover-background: #1e293b;
|
|
212
|
+
--token-sidebar-navigation-nav-item-nav-hover-text: #cbd5e1;
|
|
213
|
+
--token-sidebar-navigation-nav-item-nav-active-text: #ffffff;
|
|
214
|
+
--token-sidebar-navigation-nav-item-nav-active-background: #6366f1;
|
|
215
|
+
--token-sidebar-navigation-nav-item-nav-focused-background: #6366f1;
|
|
216
|
+
--token-sidebar-navigation-nav-item-default-text: #cbd5e1;
|
|
217
|
+
--token-sidebar-navigation-nav-item-icon: #94a3b8;
|
|
218
|
+
--token-sidebar-navigation-nav-item-badge-background: #6366f1;
|
|
219
|
+
--token-sidebar-navigation-nav-item-badge-text: #ffffff;
|
|
220
|
+
--token-sidebar-navigation-footer-background: #0f172a;
|
|
221
|
+
--token-sidebar-navigation-footer-title: #ffffff;
|
|
222
|
+
--token-sidebar-navigation-footer-sub-title: #94a3b8;
|
|
223
|
+
--token-sidebar-navigation-footer-button-text: #ffffff;
|
|
224
|
+
|
|
225
|
+
/* ── CARDS ── */
|
|
226
|
+
--token-card-background: #182233;
|
|
227
|
+
--token-card-solid-background: #182233;
|
|
228
|
+
--token-card-secondary-background: #1f2c42;
|
|
229
|
+
|
|
230
|
+
/* ── ALERTS ── */
|
|
231
|
+
--token-alerts-primary-background: rgba(99,102,241,0.12);
|
|
232
|
+
--token-alerts-primary-icon: #a5b4fc;
|
|
233
|
+
--token-alerts-primary-border: rgba(99,102,241,0.28);
|
|
234
|
+
--token-alerts-error-background: rgba(239,68,68,0.12);
|
|
235
|
+
--token-alerts-error-icon: #f87171;
|
|
236
|
+
--token-alerts-error-border: rgba(239,68,68,0.28);
|
|
237
|
+
--token-alerts-warning-background: rgba(245,158,11,0.12);
|
|
238
|
+
--token-alerts-warning-icon: #fbbf24;
|
|
239
|
+
--token-alerts-warning-border: rgba(245,158,11,0.28);
|
|
240
|
+
--token-alerts-success-background: rgba(34,197,94,0.12);
|
|
241
|
+
--token-alerts-success-icon: #4ade80;
|
|
242
|
+
--token-alerts-success-border: rgba(34,197,94,0.28);
|
|
243
|
+
--token-alerts-info-background: rgba(59,130,246,0.12);
|
|
244
|
+
--token-alerts-info-icon: #60a5fa;
|
|
245
|
+
--token-alerts-info-border: rgba(59,130,246,0.28);
|
|
246
|
+
|
|
247
|
+
/* ── STATUS / BADGE ── */
|
|
248
|
+
--token-status-gray-light-background: #27364f;
|
|
249
|
+
--token-status-gray-light-text: #cbd5e1;
|
|
250
|
+
--token-status-gray-solid-background: #27364f;
|
|
251
|
+
--token-status-gray-solid-text: #cbd5e1;
|
|
252
|
+
--token-status-primary-light-background: rgba(99,102,241,0.16);
|
|
253
|
+
--token-status-primary-light-secondary-background: rgba(99,102,241,0.24);
|
|
254
|
+
--token-status-primary-light-text: #a5b4fc;
|
|
255
|
+
--token-status-primary-solid-background: #6366f1;
|
|
256
|
+
--token-status-primary-solid-text: #ffffff;
|
|
257
|
+
--token-status-error-light-background: #3d1111;
|
|
258
|
+
--token-status-error-light-text: #f87171;
|
|
259
|
+
--token-status-error-solid-background: #ef4444;
|
|
260
|
+
--token-status-error-solid-text: #ffffff;
|
|
261
|
+
--token-status-warning-light-background: #3a2507;
|
|
262
|
+
--token-status-warning-light-text: #fbbf24;
|
|
263
|
+
--token-status-warning-solid-background: #f59e0b;
|
|
264
|
+
--token-status-warning-solid-text: #ffffff;
|
|
265
|
+
--token-status-success-light-background: #123524;
|
|
266
|
+
--token-status-success-light-text: #4ade80;
|
|
267
|
+
--token-status-success-solid-background: #22c55e;
|
|
268
|
+
--token-status-success-solid-text: #ffffff;
|
|
269
|
+
--token-status-info-light-background: #0e274b;
|
|
270
|
+
--token-status-info-light-text: #60a5fa;
|
|
271
|
+
--token-status-info-soldi-background: #3b82f6;
|
|
272
|
+
--token-status-info-soldi-text: #ffffff;
|
|
273
|
+
--token-status-dark-light-background: #27364f;
|
|
274
|
+
--token-status-dark-light-text: #ffffff;
|
|
275
|
+
--token-status-dark-light-secondary-text: #cbd5e1;
|
|
276
|
+
--token-status-dark-solid-background: #27364f;
|
|
277
|
+
--token-status-dark-solid-text: #ffffff;
|
|
278
|
+
|
|
279
|
+
/* ── INPUTS ── */
|
|
280
|
+
--token-input-background: #111827;
|
|
281
|
+
--token-input-label-text-color: #94a3b8;
|
|
282
|
+
--token-input-disabled-text: #475569;
|
|
283
|
+
--token-input-placeholder-text-color: #64748b;
|
|
284
|
+
--token-input-brand-focus-border-color: #6366f1;
|
|
285
|
+
--token-input-error-focus-border-color: #ef4444;
|
|
286
|
+
--token-input-success-focus-border-color: #22c55e;
|
|
287
|
+
--token-input-error-color: #f87171;
|
|
288
|
+
--token-input-success-color: #4ade80;
|
|
289
|
+
|
|
290
|
+
/* ── TABS ── */
|
|
291
|
+
--token-tab-background: transparent;
|
|
292
|
+
--token-tab-active-background: #1f2c42;
|
|
293
|
+
--token-tab-secondary-active-background: rgba(99,102,241,0.16);
|
|
294
|
+
|
|
295
|
+
/* ── BUTTONS (secondary/stroke) ── */
|
|
296
|
+
--token-button-stroke-background: #1f2937;
|
|
297
|
+
--token-button-stroke-stroke: #374151;
|
|
298
|
+
--token-button-stroke-hover-background: #2b3648;
|
|
299
|
+
--token-button-stroke-text: #e2e8f0;
|
|
300
|
+
--token-button-stroke-hover-text: #e2e8f0;
|
|
301
|
+
|
|
302
|
+
/* ── SCHEDULE ── */
|
|
303
|
+
--token-schedule-list-background: transparent;
|
|
304
|
+
--token-schedule-list-active-background: #182233;
|
|
305
|
+
|
|
306
|
+
/* ── CHECKBOX ── */
|
|
307
|
+
--token-checkbox-border-color: #4b5563;
|
|
308
|
+
--token-checkbox-background: transparent;
|
|
309
|
+
--token-checkbox-checked-border-color: #6366f1;
|
|
310
|
+
--token-checkbox-checked-background: #6366f1;
|
|
311
|
+
--token-checkbox-checked-color: #ffffff;
|
|
312
|
+
|
|
313
|
+
/* ── SCROLLBAR ── */
|
|
314
|
+
--token-scrollbar-color: #34435e;
|
|
315
|
+
|
|
316
|
+
/* ── DATEPICKER ── */
|
|
317
|
+
--token-datepicker-background: #182233;
|
|
318
|
+
--token-datepicker-selected-date-background: #1f2c42;
|
|
319
|
+
|
|
320
|
+
/* ── DROPDOWNS ── */
|
|
321
|
+
--token-dropdowns-background: #182233;
|
|
322
|
+
--token-dropdowns-secondary-background: #182233;
|
|
323
|
+
--token-dropdowns-devider-color: #2a3852;
|
|
324
|
+
|
|
325
|
+
/* ── CALENDAR ── */
|
|
326
|
+
--token-calendar-disabled-date-color: #64748b;
|
|
327
|
+
--token-calendar-calendar-selected-date-primary-badge: #6366f1;
|
|
328
|
+
--token-calendar-calendar-selected-date-primary-bg: rgba(99,102,241,0.16);
|
|
329
|
+
--token-calendar-calendar-selected-date-success-badge: #22c55e;
|
|
330
|
+
--token-calendar-calendar-selected-date-success-bg: #123524;
|
|
331
|
+
--token-calendar-calendar-selected-date-warning-badge: #f59e0b;
|
|
332
|
+
--token-calendar-calendar-selected-date-warning-bg: #3a2507;
|
|
333
|
+
--token-calendar-calendar-selected-date-denger-badge: #ef4444;
|
|
334
|
+
--token-calendar-calendar-selected-date-denger-bg: #3d1111;
|
|
335
|
+
--token-calendar-calendar-selected-date-info-badge: #3b82f6;
|
|
336
|
+
--token-calendar-calendar-selected-date-info-bg: #0e274b;
|
|
337
|
+
--token-calendar-calendar-selected-date-text-color: #e2e8f0;
|
|
338
|
+
--token-calendar-calendar-selected-date-more-menu-color: #94a3b8;
|
|
339
|
+
--token-calendar-calendar-selected-date-dropdown-bg: #182233;
|
|
340
|
+
|
|
341
|
+
/* ── KANBAN ── */
|
|
342
|
+
--token-kanban-task-card-bg: #182233;
|
|
343
|
+
--token-kanban-task-dropdown-bg: #1f2c42;
|
|
344
|
+
|
|
345
|
+
/* ── SWITCH ── */
|
|
346
|
+
--token-switch-default-bg: #27364f;
|
|
347
|
+
--token-switch-custom-bg: #27364f;
|
|
348
|
+
|
|
349
|
+
/* ── FILE MANAGER ── */
|
|
350
|
+
--token-file-manager-icon-bg-1: #12b76a14;
|
|
351
|
+
--token-file-manager-icon-bg-2: #ee46bc14;
|
|
352
|
+
--token-file-manager-icon-bg-3: #0ba5ec14;
|
|
353
|
+
--token-file-manager-icon-bg-4: #fb651414;
|
|
354
|
+
--token-file-manager-icon-bg-5: #f7900914;
|
|
355
|
+
--token-file-manager-icon-bg-6: #7a5af814;
|
|
356
|
+
|
|
357
|
+
/* ── PRICING TABLE ── */
|
|
358
|
+
--token-pricing-table-active-switcher-bg: #27364f;
|
|
359
|
+
--token-pricing-table-active-pricing-card: #1f2c42;
|
|
360
|
+
--token-pricing-table-button-bg: #1f2c42;
|
|
361
|
+
--token-pricing-table-table-2-icon-color: #6366f1;
|
|
362
|
+
--token-pricing-table-table-2-icon-bg: rgba(99,102,241,0.16);
|
|
363
|
+
|
|
364
|
+
/* ── FAQ ── */
|
|
365
|
+
--token-faq-s-first-faq-active-title-bg: #182233;
|
|
366
|
+
--token-faq-s-second-faq-active-bg: rgba(99,102,241,0.16);
|
|
367
|
+
--token-faq-s-second-faq-active-border-color: rgba(99,102,241,0.28);
|
|
368
|
+
--token-faq-s-second-faq-active-title-color: #f8fafc;
|
|
369
|
+
--token-faq-s-second-faq-active-text-color-2: #e2e8f0;
|
|
370
|
+
|
|
371
|
+
/* ── CHAT ── */
|
|
372
|
+
--token-chat-list-chat-list-bg-1: #27364f;
|
|
373
|
+
--token-chat-list-chat-list-bg-2: #6366f1;
|
|
374
|
+
|
|
375
|
+
/* ── INVOICE ── */
|
|
376
|
+
--token-invoice-total-amount-bg: #182233;
|
|
377
|
+
|
|
378
|
+
/* ── MISC ── */
|
|
379
|
+
--token-tooltip-text-color: #ffffff;
|
|
380
|
+
--token-popovers-title-bg: #1f2c42;
|
|
381
|
+
--color-text-primary: var(--token-text-title-color);
|
|
382
|
+
--color-text-secondary: var(--token-text-text-color);
|
|
383
|
+
--color-text-tertiary: var(--token-text-secondary-text-color);
|
|
384
|
+
--color-brand-primary: var(--token-text-brand-color);
|
|
385
|
+
--color-bg-surface: var(--token-background-body);
|
|
386
|
+
--color-bg-surface-secondary: var(--token-background-body-secondary);
|
|
387
|
+
--color-bg-page: var(--token-background-app);
|
|
388
|
+
--color-border-default: var(--token-border-border);
|
|
389
|
+
--color-border-muted: var(--token-border-border-secondary);
|
|
390
|
+
--color-card-bg: var(--token-card-background);
|
|
391
|
+
--color-card-bg-solid: var(--token-card-solid-background);
|
|
392
|
+
--color-input-bg: var(--token-input-background);
|
|
393
|
+
--color-focus-brand: var(--token-input-brand-focus-border-color);
|
|
394
|
+
--color-alert-primary-bg: var(--token-alerts-primary-background);
|
|
395
|
+
--color-alert-primary-border: var(--token-alerts-primary-border);
|
|
396
|
+
--color-alert-primary-icon: var(--token-alerts-primary-icon);
|
|
397
|
+
--color-alert-success-bg: var(--token-alerts-success-background);
|
|
398
|
+
--color-alert-success-border: var(--token-alerts-success-border);
|
|
399
|
+
--color-alert-success-icon: var(--token-alerts-success-icon);
|
|
400
|
+
--color-alert-warning-bg: var(--token-alerts-warning-background);
|
|
401
|
+
--color-alert-warning-border: var(--token-alerts-warning-border);
|
|
402
|
+
--color-alert-warning-icon: var(--token-alerts-warning-icon);
|
|
403
|
+
--color-alert-error-bg: var(--token-alerts-error-background);
|
|
404
|
+
--color-alert-error-border: var(--token-alerts-error-border);
|
|
405
|
+
--color-alert-error-icon: var(--token-alerts-error-icon);
|
|
406
|
+
--color-alert-info-bg: var(--token-alerts-info-background);
|
|
407
|
+
--color-alert-info-border: var(--token-alerts-info-border);
|
|
408
|
+
--color-alert-info-icon: var(--token-alerts-info-icon);
|
|
409
|
+
--color-btn-secondary-fill-bg: var(--token-border-border);
|
|
410
|
+
--color-btn-secondary-fill-text: var(--token-text-title-color);
|
|
411
|
+
--color-btn-secondary-fill-hover-bg: var(--token-border-border-tertiary);
|
|
412
|
+
--color-btn-danger-bg: var(--token-status-error-solid-background);
|
|
413
|
+
--color-btn-success-bg: var(--token-status-success-solid-background);
|
|
414
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@akashlimbani18/tail-admin-ui",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"type": "module",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"dev": "vite",
|
|
14
|
+
"build": "tsc -b && vite build",
|
|
15
|
+
"build:watch": "vite build --watch",
|
|
16
|
+
"build:css": "npx tailwindcss -i ./styles.css -o ./dist/components.css --minify",
|
|
17
|
+
"build:demo": "npm run build && npm run build:css && cp dist/tail-admin-ui.es.js ../../demo-project/packages/tail-admin-ui/dist/ && cp dist/tail-admin-ui.cjs.js ../../demo-project/packages/tail-admin-ui/dist/ && cp dist/components.css ../../demo-project/packages/tail-admin-ui/dist/ && cp dist/theme/theme-tokens.css ../../demo-project/packages/tail-admin-ui/dist/theme/ && cp dist/theme/foundations.css ../../demo-project/packages/tail-admin-ui/dist/theme/ && echo 'Build copied to demo-project'",
|
|
18
|
+
"build:temu": "npm run build && npm run build:css && mkdir -p ../../temu-connector-visit-frontend/packages/tail-admin-ui/dist/theme && cp package.json ../../temu-connector-visit-frontend/packages/tail-admin-ui/ && cp dist/tail-admin-ui.es.js ../../temu-connector-visit-frontend/packages/tail-admin-ui/dist/ && cp dist/tail-admin-ui.cjs.js ../../temu-connector-visit-frontend/packages/tail-admin-ui/dist/ && cp dist/components.css ../../temu-connector-visit-frontend/packages/tail-admin-ui/dist/ && cp dist/theme/theme-tokens.css ../../temu-connector-visit-frontend/packages/tail-admin-ui/dist/theme/ && cp dist/theme/foundations.css ../../temu-connector-visit-frontend/packages/tail-admin-ui/dist/theme/ && echo 'Build copied to temu-connector-visit-frontend'",
|
|
19
|
+
"lint": "eslint .",
|
|
20
|
+
"preview": "vite preview",
|
|
21
|
+
"tokens:build": "node scripts/build-theme-tokens.mjs",
|
|
22
|
+
"tokens:sync": "test -n \"$TOKENS_FILE\" && cp \"$TOKENS_FILE\" tokens/raw/tokens.json && npm run tokens:build",
|
|
23
|
+
"storybook": "storybook dev -p 6006",
|
|
24
|
+
"build-storybook": "storybook build"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@dnd-kit/core": "^6.3.1",
|
|
28
|
+
"@dnd-kit/modifiers": "^9.0.0",
|
|
29
|
+
"@dnd-kit/sortable": "^10.0.0",
|
|
30
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
31
|
+
"@emotion/react": "^11.14.0",
|
|
32
|
+
"@emotion/styled": "^11.14.1",
|
|
33
|
+
"@mui/material": "^9.0.0",
|
|
34
|
+
"react": "^19.0.0",
|
|
35
|
+
"react-dom": "^19.0.0",
|
|
36
|
+
"react-international-phone": "^4.0.0",
|
|
37
|
+
"react-qr-code": "^2.2.0",
|
|
38
|
+
"recharts": "^3.8.1"
|
|
39
|
+
},
|
|
40
|
+
"peerDependencies": {
|
|
41
|
+
"react": "^19.0.0",
|
|
42
|
+
"react-dom": "^19.0.0",
|
|
43
|
+
"react-international-phone": "^4.0.0"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@eslint/js": "^9.39.4",
|
|
47
|
+
"@storybook/addon-a11y": "^9.1.5",
|
|
48
|
+
"@storybook/addon-docs": "^9.1.5",
|
|
49
|
+
"@storybook/addon-themes": "^9.1.5",
|
|
50
|
+
"@storybook/react-vite": "^9.1.5",
|
|
51
|
+
"@types/node": "^24.12.0",
|
|
52
|
+
"@types/react": "^19.2.14",
|
|
53
|
+
"@types/react-dom": "^19.2.3",
|
|
54
|
+
"@vitejs/plugin-react": "^5.1.0",
|
|
55
|
+
"autoprefixer": "^10.4.27",
|
|
56
|
+
"chromatic": "^18.5.0",
|
|
57
|
+
"eslint": "^9.39.4",
|
|
58
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
59
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
60
|
+
"eslint-plugin-storybook": "^9.1.5",
|
|
61
|
+
"globals": "^17.4.0",
|
|
62
|
+
"postcss": "^8.5.8",
|
|
63
|
+
"storybook": "^9.1.5",
|
|
64
|
+
"tailwindcss": "^3.4.19",
|
|
65
|
+
"typescript": "~5.9.3",
|
|
66
|
+
"typescript-eslint": "^8.57.0",
|
|
67
|
+
"vite": "^7.1.12"
|
|
68
|
+
}
|
|
69
|
+
}
|