@kb-labs/studio-app 0.6.0 → 2.8.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/dist/index.html +1 -0
- package/dist/main.1d68e922.js +522 -0
- package/dist/main.1d68e922.js.map +1 -0
- package/dist/main.80b70197.css +2 -0
- package/dist/main.80b70197.css.map +1 -0
- package/dist/mf-manifest.json +241 -0
- package/dist/mf-stats.json +271 -0
- package/package.json +56 -39
- package/server.js +68 -0
- package/.env.example +0 -10
- package/UI-KIT-COMPONENTS.md +0 -783
- package/UI-KIT-PLAN.md +0 -326
- package/eslint-rules/no-direct-antd-import.js +0 -151
- package/eslint.config.ts +0 -27
- package/index.html +0 -17
- package/postcss.config.js +0 -7
- package/public/favicon.ico +0 -0
- package/rspack.config.mjs +0 -118
- package/src/App.tsx +0 -46
- package/src/components/devtools/devtools-log-feed.module.css +0 -165
- package/src/components/devtools/devtools-log-feed.tsx +0 -300
- package/src/components/devtools/devtools-panel.module.css +0 -121
- package/src/components/devtools/devtools-panel.tsx +0 -115
- package/src/components/empty-state.tsx +0 -28
- package/src/components/error-boundary.tsx +0 -210
- package/src/components/health-banner.module.css +0 -103
- package/src/components/health-banner.tsx +0 -134
- package/src/components/health-indicator.tsx +0 -12
- package/src/components/page-header.tsx +0 -49
- package/src/components/page-transition.tsx +0 -24
- package/src/components/role-switcher.tsx +0 -148
- package/src/components/run-badge.tsx +0 -13
- package/src/components/ui/icons.tsx +0 -509
- package/src/components/ui/index.ts +0 -25
- package/src/components/ui/kb-config-provider.tsx +0 -130
- package/src/components/ui/kb-header.module.css +0 -51
- package/src/components/ui/kb-header.tsx +0 -112
- package/src/components/ui/kb-notification-bell.module.css +0 -103
- package/src/components/ui/kb-notification-bell.tsx +0 -199
- package/src/components/ui/kb-page-layout.tsx +0 -66
- package/src/components/ui/kb-quick-search.module.css +0 -86
- package/src/components/ui/kb-quick-search.tsx +0 -196
- package/src/components/ui/kb-sidebar.module.css +0 -47
- package/src/components/ui/kb-sidebar.tsx +0 -196
- package/src/components/ui/kb-stat-card.module.css +0 -21
- package/src/components/ui/kb-stat-card.tsx +0 -22
- package/src/components/ui/kb-stat-grid.tsx +0 -22
- package/src/components/ui/kb-status-bar.module.css +0 -49
- package/src/components/ui/kb-status-bar.tsx +0 -145
- package/src/components/ui/kb-system-health-indicator.tsx +0 -229
- package/src/components/ui/kb-theme-toggle.tsx +0 -42
- package/src/components/ui/theme-adapter.ts +0 -812
- package/src/components/ui/theme-transition-overlay.tsx +0 -70
- package/src/components/ui/utils.ts +0 -6
- package/src/components/widget-error-boundary.tsx +0 -172
- package/src/config/env.ts +0 -5
- package/src/config/feature-flags.ts +0 -482
- package/src/config/studio.config.schema.ts +0 -88
- package/src/config/studio.config.ts +0 -84
- package/src/env.d.ts +0 -23
- package/src/hooks/use-command-palette.ts +0 -6
- package/src/hooks/use-devtools-store.ts +0 -25
- package/src/hooks/use-feature-flags.ts +0 -101
- package/src/index.css +0 -10
- package/src/layouts/dashboard-grid.tsx +0 -122
- package/src/layouts/index.ts +0 -12
- package/src/layouts/two-pane.tsx +0 -134
- package/src/main.tsx +0 -15
- package/src/modules/analytics/components/analytics-daily-stats-chart.tsx +0 -257
- package/src/modules/analytics/components/analytics-date-range-picker.tsx +0 -121
- package/src/modules/analytics/pages/analytics-cache-page.tsx +0 -285
- package/src/modules/analytics/pages/analytics-embeddings-page.tsx +0 -274
- package/src/modules/analytics/pages/analytics-events-page.tsx +0 -425
- package/src/modules/analytics/pages/analytics-llm-page.tsx +0 -434
- package/src/modules/analytics/pages/analytics-overview-page.tsx +0 -336
- package/src/modules/analytics/pages/analytics-page.tsx +0 -20
- package/src/modules/analytics/pages/analytics-storage-page.tsx +0 -344
- package/src/modules/analytics/pages/analytics-vectorstore-page.tsx +0 -279
- package/src/modules/analytics/routes/index.tsx +0 -133
- package/src/modules/analytics/utils/formatters.test.ts +0 -148
- package/src/modules/analytics/utils/formatters.ts +0 -100
- package/src/modules/auth/pages/login-page.module.css +0 -113
- package/src/modules/auth/pages/login-page.tsx +0 -80
- package/src/modules/auth/routes/index.tsx +0 -24
- package/src/modules/dashboard/components/ActivityTimelineWidget.tsx +0 -199
- package/src/modules/dashboard/components/AiInsightsWidget.tsx +0 -358
- package/src/modules/dashboard/components/AnimatedMetricCard.css +0 -88
- package/src/modules/dashboard/components/AnimatedMetricCard.tsx +0 -125
- package/src/modules/dashboard/components/HeroMetricCard.css +0 -114
- package/src/modules/dashboard/components/HeroMetricCard.tsx +0 -152
- package/src/modules/dashboard/components/HeroMetricsWidget.tsx +0 -146
- package/src/modules/dashboard/components/SystemResourcesWidget.tsx +0 -197
- package/src/modules/dashboard/components/dashboard-empty.tsx +0 -22
- package/src/modules/dashboard/components/dashboard-kpis-widget.tsx +0 -59
- package/src/modules/dashboard/components/dashboard-kpis.tsx +0 -13
- package/src/modules/dashboard/components/dashboard-latency-percentiles-widget.tsx +0 -85
- package/src/modules/dashboard/components/dashboard-metrics-widget.tsx +0 -78
- package/src/modules/dashboard/components/dashboard-plugins-widget.tsx +0 -67
- package/src/modules/dashboard/components/dashboard-requests-widget.tsx +0 -62
- package/src/modules/dashboard/layouts/dashboard-layout.tsx +0 -16
- package/src/modules/dashboard/pages/ai-insights-page.tsx +0 -563
- package/src/modules/dashboard/pages/dashboard-animations.css +0 -317
- package/src/modules/dashboard/pages/dashboard-page.tsx +0 -13
- package/src/modules/dashboard/routes/index.tsx +0 -70
- package/src/modules/observability/pages/devkit-page.tsx +0 -263
- package/src/modules/observability/pages/incident-detail-page.tsx +0 -571
- package/src/modules/observability/pages/incidents-page.tsx +0 -370
- package/src/modules/observability/pages/log-detail-page.tsx +0 -508
- package/src/modules/observability/pages/logs-page.tsx +0 -1129
- package/src/modules/observability/pages/prometheus-metrics-page.tsx +0 -486
- package/src/modules/observability/pages/state-broker-page.tsx +0 -229
- package/src/modules/observability/pages/system-events-page.tsx +0 -255
- package/src/modules/observability/routes/index.tsx +0 -133
- package/src/modules/plugins/components/marketplace-card.tsx +0 -153
- package/src/modules/plugins/components/plugin-ai-assistant-modal.tsx +0 -374
- package/src/modules/plugins/components/plugin-card.tsx +0 -136
- package/src/modules/plugins/components/plugin-detail/capabilities-summary.tsx +0 -101
- package/src/modules/plugins/components/plugin-detail/cli-commands-table.tsx +0 -101
- package/src/modules/plugins/components/plugin-detail/index.ts +0 -7
- package/src/modules/plugins/components/plugin-detail/jobs-table.tsx +0 -64
- package/src/modules/plugins/components/plugin-detail/permissions/env-permissions.tsx +0 -30
- package/src/modules/plugins/components/plugin-detail/permissions/filesystem-permissions.tsx +0 -68
- package/src/modules/plugins/components/plugin-detail/permissions/index.ts +0 -6
- package/src/modules/plugins/components/plugin-detail/permissions/network-permissions.tsx +0 -43
- package/src/modules/plugins/components/plugin-detail/permissions/platform-services.tsx +0 -242
- package/src/modules/plugins/components/plugin-detail/permissions/resource-quotas.tsx +0 -96
- package/src/modules/plugins/components/plugin-detail/permissions/shell-permissions.tsx +0 -55
- package/src/modules/plugins/components/plugin-detail/permissions-view.tsx +0 -47
- package/src/modules/plugins/components/plugin-detail/plugin-header.tsx +0 -169
- package/src/modules/plugins/components/plugin-detail/rest-routes-table.tsx +0 -159
- package/src/modules/plugins/components/plugin-detail/workflows-table.tsx +0 -40
- package/src/modules/plugins/components/plugin-grid.tsx +0 -20
- package/src/modules/plugins/components/plugin-table.tsx +0 -178
- package/src/modules/plugins/pages/marketplace-page.tsx +0 -200
- package/src/modules/plugins/pages/plugin-detail-page.tsx +0 -1145
- package/src/modules/plugins/routes/index.tsx +0 -48
- package/src/modules/plugins/utils/index.ts +0 -1
- package/src/modules/plugins/utils/schema-helpers.ts +0 -21
- package/src/modules/settings/components/api-routes-viewer.tsx +0 -415
- package/src/modules/settings/components/appearance-settings.tsx +0 -200
- package/src/modules/settings/components/configuration-settings.tsx +0 -321
- package/src/modules/settings/components/data-privacy-settings.tsx +0 -111
- package/src/modules/settings/components/experimental-settings.tsx +0 -243
- package/src/modules/settings/components/navigation-settings.tsx +0 -198
- package/src/modules/settings/components/notifications-settings.tsx +0 -40
- package/src/modules/settings/pages/settings-page.tsx +0 -298
- package/src/modules/settings/routes/index.tsx +0 -47
- package/src/pages/README-assistant.md +0 -91
- package/src/pages/login-page.tsx +0 -177
- package/src/pages/not-found-page.tsx +0 -85
- package/src/providers/auth-provider.tsx +0 -40
- package/src/providers/command-palette-provider.tsx +0 -193
- package/src/providers/data-sources-provider.tsx +0 -27
- package/src/providers/devtools-provider.tsx +0 -72
- package/src/providers/navigation-items-provider.tsx +0 -38
- package/src/providers/registry-v2-provider.tsx +0 -93
- package/src/providers/settings-provider.tsx +0 -158
- package/src/router.tsx +0 -302
- package/src/routes/helpers.tsx +0 -25
- package/src/routes/plugin-page-v2.tsx +0 -52
- package/src/routes/types.ts +0 -18
- package/src/styles/antd-overrides.css +0 -211
- package/src/styles/base.css +0 -190
- package/src/styles/settings.css +0 -75
- package/src/styles/variables.css +0 -94
- package/src/utils/analytics.ts +0 -183
- package/src/utils/apply-navigation-categories.ts +0 -83
- package/src/utils/commands.ts +0 -252
- package/src/utils/export.ts +0 -174
- package/src/utils/format-date.ts +0 -166
- package/src/utils/logger.ts +0 -110
- package/tailwind.config.ts +0 -13
- package/tsconfig.json +0 -13
- package/vitest-setup.ts +0 -1
- /package/{public → dist}/favicon.svg +0 -0
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
/* Ant Design component overrides — theme-aware patches */
|
|
2
|
-
|
|
3
|
-
/* Z-index overrides — must be above sidebar (--z-sidebar: 400) */
|
|
4
|
-
.ant-modal-root .ant-modal-wrap,
|
|
5
|
-
.ant-modal-root .ant-modal-mask {
|
|
6
|
-
z-index: var(--z-overlay) !important;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.ant-modal-root .ant-modal {
|
|
10
|
-
z-index: var(--z-modal) !important;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.ant-drawer-root .ant-drawer {
|
|
14
|
-
z-index: var(--z-modal) !important;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.ant-select-dropdown,
|
|
18
|
-
.ant-dropdown,
|
|
19
|
-
.ant-popover,
|
|
20
|
-
.ant-tooltip {
|
|
21
|
-
z-index: var(--z-popover) !important;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.ant-message,
|
|
25
|
-
.ant-notification {
|
|
26
|
-
z-index: var(--z-toast) !important;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/* Header buttons — consistent vertical alignment */
|
|
30
|
-
.ant-layout-header .ant-btn {
|
|
31
|
-
display: inline-flex !important;
|
|
32
|
-
align-items: center !important;
|
|
33
|
-
justify-content: center !important;
|
|
34
|
-
line-height: 1 !important;
|
|
35
|
-
vertical-align: middle !important;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.ant-layout-header .ant-btn .ant-btn-icon {
|
|
39
|
-
line-height: 1 !important;
|
|
40
|
-
display: inline-flex !important;
|
|
41
|
-
align-items: center !important;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/* Menu group titles — uppercase label style */
|
|
45
|
-
.ant-menu-item-group-title {
|
|
46
|
-
text-transform: uppercase !important;
|
|
47
|
-
letter-spacing: 0.06em !important;
|
|
48
|
-
font-size: 11px !important;
|
|
49
|
-
font-weight: 600 !important;
|
|
50
|
-
color: var(--text-tertiary) !important;
|
|
51
|
-
padding-top: 16px !important;
|
|
52
|
-
padding-bottom: 4px !important;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/* Hide group labels when sidebar is collapsed */
|
|
56
|
-
.ant-menu-inline-collapsed .ant-menu-item-group-title {
|
|
57
|
-
display: none !important;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.ant-menu-inline-collapsed .ant-menu-item-group-list {
|
|
61
|
-
padding-top: 4px !important;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/* Menu items — pill shape */
|
|
65
|
-
.ant-menu-item,
|
|
66
|
-
.ant-menu-submenu-title {
|
|
67
|
-
border-radius: 8px !important;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
/* Layout content background */
|
|
71
|
-
.ant-layout {
|
|
72
|
-
background: var(--bg-primary) !important;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/* Active menu item styles */
|
|
76
|
-
.menu-item-active,
|
|
77
|
-
.ant-menu-item-selected {
|
|
78
|
-
background-color: var(--accent-subtle) !important;
|
|
79
|
-
color: var(--link) !important;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.ant-menu-item-selected > .ant-menu-title-content {
|
|
83
|
-
color: var(--link) !important;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/* Submenu title should stay normal when child is selected */
|
|
87
|
-
.ant-menu-submenu-selected > .ant-menu-submenu-title {
|
|
88
|
-
background-color: transparent !important;
|
|
89
|
-
color: var(--text-primary) !important;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/* But allow hover on submenu title even when child is selected */
|
|
93
|
-
.ant-menu-submenu-selected > .ant-menu-submenu-title:hover {
|
|
94
|
-
background-color: var(--bg-hover) !important;
|
|
95
|
-
color: var(--text-primary) !important;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/* Dark theme menu */
|
|
99
|
-
.dark .menu-item-active,
|
|
100
|
-
.dark .ant-menu-item-selected {
|
|
101
|
-
background-color: rgba(96, 165, 250, 0.25) !important;
|
|
102
|
-
color: var(--link) !important;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.dark .ant-menu-item-selected > .ant-menu-title-content {
|
|
106
|
-
color: var(--link) !important;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.dark .ant-menu-submenu-selected > .ant-menu-submenu-title {
|
|
110
|
-
background-color: transparent !important;
|
|
111
|
-
color: var(--text-primary) !important;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.dark .ant-menu-submenu-selected > .ant-menu-submenu-title:hover {
|
|
115
|
-
background-color: var(--bg-hover) !important;
|
|
116
|
-
color: var(--text-primary) !important;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/* Fix radio button text color when checked */
|
|
120
|
-
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
|
|
121
|
-
color: var(--text-inverse) !important;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) span {
|
|
125
|
-
color: var(--text-inverse) !important;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
/* Fix dropdown menu selected item */
|
|
129
|
-
.ant-dropdown-menu-item-selected,
|
|
130
|
-
.ant-dropdown-menu-submenu-title-selected {
|
|
131
|
-
background-color: var(--accent-subtle) !important;
|
|
132
|
-
color: var(--link) !important;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.ant-dropdown-menu-item-selected .ant-dropdown-menu-title-content,
|
|
136
|
-
.ant-dropdown-menu-submenu-title-selected .ant-dropdown-menu-title-content {
|
|
137
|
-
color: var(--link) !important;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
/* Dark theme dropdown */
|
|
141
|
-
.dark .ant-dropdown-menu-item-selected,
|
|
142
|
-
.dark .ant-dropdown-menu-submenu-title-selected {
|
|
143
|
-
background-color: rgba(96, 165, 250, 0.15) !important;
|
|
144
|
-
color: var(--link-hover) !important;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.dark .ant-dropdown-menu-item-selected .ant-dropdown-menu-title-content,
|
|
148
|
-
.dark .ant-dropdown-menu-submenu-title-selected .ant-dropdown-menu-title-content {
|
|
149
|
-
color: var(--link-hover) !important;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
/* Dark theme improvements */
|
|
153
|
-
.dark {
|
|
154
|
-
/* Better card shadows with subtle white glow for elevation */
|
|
155
|
-
.ant-card {
|
|
156
|
-
box-shadow: 0 1px 3px var(--shadow), 0 0 0 1px var(--shadow-elevated);
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.ant-card:hover {
|
|
160
|
-
box-shadow: 0 2px 8px var(--shadow-hover), 0 0 0 1px var(--shadow-elevated);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
/* Better dropdown shadows */
|
|
164
|
-
.ant-dropdown,
|
|
165
|
-
.ant-popover,
|
|
166
|
-
.ant-select-dropdown {
|
|
167
|
-
box-shadow: 0 4px 16px var(--shadow), 0 0 0 1px var(--shadow-elevated) !important;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
/* Better button hover states */
|
|
171
|
-
.ant-btn:not(.ant-btn-primary):not(.ant-btn-text):hover {
|
|
172
|
-
background-color: var(--bg-hover) !important;
|
|
173
|
-
border-color: var(--border-secondary) !important;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
/* Fix table row hover being too dark (only body rows, not header) */
|
|
177
|
-
.ant-table-tbody > tr.ant-table-row:hover > td {
|
|
178
|
-
background-color: var(--bg-hover) !important;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/* Fix table header hover - should stay same color */
|
|
182
|
-
.ant-table-thead > tr > th:hover {
|
|
183
|
-
background-color: var(--bg-tertiary) !important;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
/* Better link contrast */
|
|
187
|
-
a:not(.ant-btn) {
|
|
188
|
-
color: var(--link);
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
a:not(.ant-btn):hover {
|
|
192
|
-
color: var(--link-hover);
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
/* Fix link button visibility in dark theme */
|
|
196
|
-
.ant-btn-link {
|
|
197
|
-
color: var(--link) !important;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.ant-btn-link:hover {
|
|
201
|
-
color: var(--link-hover) !important;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.ant-btn-link:not(:disabled):not(.ant-btn-disabled) {
|
|
205
|
-
color: var(--link) !important;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.ant-btn-link:not(:disabled):not(.ant-btn-disabled):hover {
|
|
209
|
-
color: var(--link-hover) !important;
|
|
210
|
-
}
|
|
211
|
-
}
|
package/src/styles/base.css
DELETED
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
/* Base element styles and layout utilities */
|
|
2
|
-
|
|
3
|
-
body {
|
|
4
|
-
background-color: var(--bg-primary);
|
|
5
|
-
color: var(--text-primary);
|
|
6
|
-
font-family: var(--font-body);
|
|
7
|
-
-webkit-font-smoothing: antialiased;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
h1, h2, h3, h4, h5, h6 {
|
|
11
|
-
color: var(--text-primary);
|
|
12
|
-
font-weight: 600;
|
|
13
|
-
font-family: var(--font-heading);
|
|
14
|
-
letter-spacing: -0.02em;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
p {
|
|
18
|
-
color: var(--text-secondary);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
a {
|
|
22
|
-
color: var(--link);
|
|
23
|
-
text-decoration: none;
|
|
24
|
-
transition: color 0.15s ease-in-out;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
a:hover {
|
|
28
|
-
color: var(--link-hover);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/* Text utilities */
|
|
32
|
-
.text-primary {
|
|
33
|
-
color: var(--text-primary);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.text-secondary {
|
|
37
|
-
color: var(--text-secondary);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.text-tertiary {
|
|
41
|
-
color: var(--text-tertiary);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/* Border utilities */
|
|
45
|
-
.border-theme {
|
|
46
|
-
border-color: var(--border-primary);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/* Status colors */
|
|
50
|
-
.text-success {
|
|
51
|
-
color: var(--success);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.text-warning {
|
|
55
|
-
color: var(--warning);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.text-error {
|
|
59
|
-
color: var(--error);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.text-info {
|
|
63
|
-
color: var(--info);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/* Background utilities */
|
|
67
|
-
.bg-theme-primary {
|
|
68
|
-
background-color: var(--bg-primary);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.bg-theme-secondary {
|
|
72
|
-
background-color: var(--bg-secondary);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.bg-theme-tertiary {
|
|
76
|
-
background-color: var(--bg-tertiary);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/* Spacing CSS variables */
|
|
80
|
-
:root {
|
|
81
|
-
--spacing-page: 2rem; /* 32px - Space between main page sections */
|
|
82
|
-
--spacing-section: 1.5rem; /* 24px - Space between subsections */
|
|
83
|
-
--spacing-item: 1rem; /* 16px - Space between related items */
|
|
84
|
-
--spacing-tight: 0.5rem; /* 8px - Minimal space between tightly related items */
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/* Spacing utility classes for gap */
|
|
88
|
-
.gap-page {
|
|
89
|
-
gap: var(--spacing-page);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.gap-section {
|
|
93
|
-
gap: var(--spacing-section);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.gap-item {
|
|
97
|
-
gap: var(--spacing-item);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.gap-tight {
|
|
101
|
-
gap: var(--spacing-tight);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
/* Typography CSS variables */
|
|
105
|
-
:root {
|
|
106
|
-
/* Page title */
|
|
107
|
-
--typo-page-title-size: 2.25rem; /* 36px */
|
|
108
|
-
--typo-page-title-line-height: 2.5rem; /* 40px */
|
|
109
|
-
--typo-page-title-weight: 700;
|
|
110
|
-
|
|
111
|
-
/* Section title */
|
|
112
|
-
--typo-section-title-size: 1.875rem; /* 30px */
|
|
113
|
-
--typo-section-title-line-height: 2.25rem; /* 36px */
|
|
114
|
-
--typo-section-title-weight: 600;
|
|
115
|
-
|
|
116
|
-
/* Card title */
|
|
117
|
-
--typo-card-title-size: 1.5rem; /* 24px */
|
|
118
|
-
--typo-card-title-line-height: 2rem; /* 32px */
|
|
119
|
-
--typo-card-title-weight: 600;
|
|
120
|
-
|
|
121
|
-
/* Body text */
|
|
122
|
-
--typo-body-size: 1rem; /* 16px */
|
|
123
|
-
--typo-body-line-height: 1.5rem; /* 24px */
|
|
124
|
-
--typo-body-weight: 400;
|
|
125
|
-
|
|
126
|
-
/* Description text */
|
|
127
|
-
--typo-description-size: 0.875rem; /* 14px */
|
|
128
|
-
--typo-description-line-height: 1.25rem; /* 20px */
|
|
129
|
-
--typo-description-weight: 400;
|
|
130
|
-
|
|
131
|
-
/* Label text */
|
|
132
|
-
--typo-label-size: 0.875rem; /* 14px */
|
|
133
|
-
--typo-label-line-height: 1.25rem; /* 20px */
|
|
134
|
-
--typo-label-weight: 500;
|
|
135
|
-
|
|
136
|
-
/* Caption text */
|
|
137
|
-
--typo-caption-size: 0.75rem; /* 12px */
|
|
138
|
-
--typo-caption-line-height: 1rem; /* 16px */
|
|
139
|
-
--typo-caption-weight: 400;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
/* Typography component classes */
|
|
143
|
-
.typo-page-title {
|
|
144
|
-
font-size: var(--typo-page-title-size);
|
|
145
|
-
line-height: var(--typo-page-title-line-height);
|
|
146
|
-
font-weight: var(--typo-page-title-weight);
|
|
147
|
-
color: var(--text-primary);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.typo-section-title {
|
|
151
|
-
font-size: var(--typo-section-title-size);
|
|
152
|
-
line-height: var(--typo-section-title-line-height);
|
|
153
|
-
font-weight: var(--typo-section-title-weight);
|
|
154
|
-
color: var(--text-primary);
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.typo-card-title {
|
|
158
|
-
font-size: var(--typo-card-title-size);
|
|
159
|
-
line-height: var(--typo-card-title-line-height);
|
|
160
|
-
font-weight: var(--typo-card-title-weight);
|
|
161
|
-
color: var(--text-primary);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.typo-body {
|
|
165
|
-
font-size: var(--typo-body-size);
|
|
166
|
-
line-height: var(--typo-body-line-height);
|
|
167
|
-
font-weight: var(--typo-body-weight);
|
|
168
|
-
color: var(--text-primary);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.typo-description {
|
|
172
|
-
font-size: var(--typo-description-size);
|
|
173
|
-
line-height: var(--typo-description-line-height);
|
|
174
|
-
font-weight: var(--typo-description-weight);
|
|
175
|
-
color: var(--text-secondary);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.typo-label {
|
|
179
|
-
font-size: var(--typo-label-size);
|
|
180
|
-
line-height: var(--typo-label-line-height);
|
|
181
|
-
font-weight: var(--typo-label-weight);
|
|
182
|
-
color: var(--text-secondary);
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.typo-caption {
|
|
186
|
-
font-size: var(--typo-caption-size);
|
|
187
|
-
line-height: var(--typo-caption-line-height);
|
|
188
|
-
font-weight: var(--typo-caption-weight);
|
|
189
|
-
color: var(--text-tertiary);
|
|
190
|
-
}
|
package/src/styles/settings.css
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/* Settings-related styles */
|
|
2
|
-
|
|
3
|
-
/* Compact Mode - reduce spacing */
|
|
4
|
-
html.compact-mode {
|
|
5
|
-
/* Override Ant Design token values */
|
|
6
|
-
--ant-padding: 12px;
|
|
7
|
-
--ant-padding-lg: 16px;
|
|
8
|
-
--ant-padding-sm: 8px;
|
|
9
|
-
--ant-margin: 12px;
|
|
10
|
-
--ant-margin-lg: 16px;
|
|
11
|
-
--ant-margin-sm: 8px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/* Font Size - Small */
|
|
15
|
-
html.font-small {
|
|
16
|
-
font-size: 13px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
html.font-small .ant-typography {
|
|
20
|
-
font-size: 13px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
html.font-small h1, html.font-small .ant-typography h1 {
|
|
24
|
-
font-size: 32px !important;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
html.font-small h2, html.font-small .ant-typography h2 {
|
|
28
|
-
font-size: 26px !important;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
html.font-small h3, html.font-small .ant-typography h3 {
|
|
32
|
-
font-size: 20px !important;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
html.font-small h4, html.font-small .ant-typography h4 {
|
|
36
|
-
font-size: 17px !important;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
html.font-small h5, html.font-small .ant-typography h5 {
|
|
40
|
-
font-size: 14px !important;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/* Font Size - Medium (default) */
|
|
44
|
-
html.font-medium {
|
|
45
|
-
font-size: 14px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/* Font Size - Large */
|
|
49
|
-
html.font-large {
|
|
50
|
-
font-size: 16px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
html.font-large .ant-typography {
|
|
54
|
-
font-size: 16px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
html.font-large h1, html.font-large .ant-typography h1 {
|
|
58
|
-
font-size: 42px !important;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
html.font-large h2, html.font-large .ant-typography h2 {
|
|
62
|
-
font-size: 34px !important;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
html.font-large h3, html.font-large .ant-typography h3 {
|
|
66
|
-
font-size: 28px !important;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
html.font-large h4, html.font-large .ant-typography h4 {
|
|
70
|
-
font-size: 22px !important;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
html.font-large h5, html.font-large .ant-typography h5 {
|
|
74
|
-
font-size: 18px !important;
|
|
75
|
-
}
|
package/src/styles/variables.css
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
/* KB Labs UI Color Kit */
|
|
2
|
-
|
|
3
|
-
:root {
|
|
4
|
-
/* Backgrounds */
|
|
5
|
-
--bg-primary: #F8F8F8;
|
|
6
|
-
--bg-secondary: #FFFFFF;
|
|
7
|
-
--bg-tertiary: #F3F4F6;
|
|
8
|
-
--bg-hover: #F3F4F6; /* Same as tertiary for hover state */
|
|
9
|
-
--bg-sidebar: #FFFFFF;
|
|
10
|
-
|
|
11
|
-
/* Text */
|
|
12
|
-
--text-primary: #111827;
|
|
13
|
-
--text-secondary: #6B7280;
|
|
14
|
-
--text-tertiary: #6B7280;
|
|
15
|
-
--text-inverse: #FFFFFF;
|
|
16
|
-
|
|
17
|
-
/* Borders */
|
|
18
|
-
--border-primary: #E5E7EB;
|
|
19
|
-
--border-secondary: #D4D4D4;
|
|
20
|
-
|
|
21
|
-
/* Typography */
|
|
22
|
-
--font-body: 'Inter', 'Segoe UI', sans-serif;
|
|
23
|
-
--font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
|
|
24
|
-
|
|
25
|
-
/* Interactive */
|
|
26
|
-
--link: #0c66ff;
|
|
27
|
-
--link-hover: #0050cc;
|
|
28
|
-
--accent-subtle: #dbeafe;
|
|
29
|
-
|
|
30
|
-
/* Status */
|
|
31
|
-
--success: #16A34A;
|
|
32
|
-
--warning: #F59E0B;
|
|
33
|
-
--error: #DC2626;
|
|
34
|
-
--info: #0EA5E9;
|
|
35
|
-
|
|
36
|
-
/* States */
|
|
37
|
-
--disabled: #9CA3AF;
|
|
38
|
-
|
|
39
|
-
/* Effects */
|
|
40
|
-
--shadow: rgba(0, 0, 0, 0.05);
|
|
41
|
-
--shadow-hover: rgba(0, 0, 0, 0.1); /* Darker on hover */
|
|
42
|
-
--shadow-elevated: rgba(0, 0, 0, 0.08); /* Elevated cards */
|
|
43
|
-
|
|
44
|
-
/* Z-index scale */
|
|
45
|
-
--z-base: 0;
|
|
46
|
-
--z-dropdown: 100;
|
|
47
|
-
--z-sticky: 200;
|
|
48
|
-
--z-header: 300;
|
|
49
|
-
--z-sidebar: 400;
|
|
50
|
-
--z-overlay: 500; /* Modal backdrop */
|
|
51
|
-
--z-modal: 600; /* Modal, drawer */
|
|
52
|
-
--z-popover: 700; /* Tooltip, popover, select dropdown */
|
|
53
|
-
--z-toast: 800; /* Notifications */
|
|
54
|
-
--z-top: 900; /* Command palette, spotlight */
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.dark {
|
|
58
|
-
/* Backgrounds */
|
|
59
|
-
--bg-primary: #0D0D0F;
|
|
60
|
-
--bg-secondary: #1A1A1C;
|
|
61
|
-
--bg-tertiary: #27272A;
|
|
62
|
-
--bg-hover: #2E2E32; /* Lighter hover state for tables/cards */
|
|
63
|
-
--bg-sidebar: #1A1A1C;
|
|
64
|
-
|
|
65
|
-
/* Text */
|
|
66
|
-
--text-primary: #F5F5F7;
|
|
67
|
-
--text-secondary: #A1A1AA;
|
|
68
|
-
--text-tertiary: #A1A1AA;
|
|
69
|
-
--text-inverse: #1A1A1C;
|
|
70
|
-
|
|
71
|
-
/* Borders */
|
|
72
|
-
--border-primary: #3F3F46;
|
|
73
|
-
--border-secondary: #52525B;
|
|
74
|
-
|
|
75
|
-
/* Interactive */
|
|
76
|
-
--link: #60a5fa;
|
|
77
|
-
--link-hover: #93c5fd;
|
|
78
|
-
--accent-subtle: rgba(12, 102, 255, 0.15);
|
|
79
|
-
|
|
80
|
-
/* Status */
|
|
81
|
-
--success: #22C55E;
|
|
82
|
-
--warning: #EAB308;
|
|
83
|
-
--error: #EF4444;
|
|
84
|
-
--info: #38BDF8;
|
|
85
|
-
|
|
86
|
-
/* States */
|
|
87
|
-
--disabled: #52525B;
|
|
88
|
-
|
|
89
|
-
/* Effects */
|
|
90
|
-
--shadow: rgba(0, 0, 0, 0.6); /* Darker base shadow */
|
|
91
|
-
--shadow-hover: rgba(0, 0, 0, 0.8); /* Even darker on hover */
|
|
92
|
-
--shadow-elevated: rgba(255, 255, 255, 0.05); /* Subtle white glow for elevation */
|
|
93
|
-
}
|
|
94
|
-
|