Skip to content

Commit ff65c75

Browse files
committed
Colored icons for main features
1 parent cc879af commit ff65c75

File tree

1 file changed

+28
-9
lines changed

1 file changed

+28
-9
lines changed

apps/webapp/app/components/navigation/SideMenu.tsx

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ export function SideMenu({
256256
name="Tasks"
257257
icon={TaskIconSmall}
258258
activeIconColor="text-tasks"
259+
inactiveIconColor="text-tasks"
259260
to={v3EnvironmentPath(organization, project, environment)}
260261
data-action="tasks"
261262
isCollapsed={isCollapsed}
@@ -264,13 +265,15 @@ export function SideMenu({
264265
name="Runs"
265266
icon={RunsIconExtraSmall}
266267
activeIconColor="text-runs"
268+
inactiveIconColor="text-runs"
267269
to={v3RunsPath(organization, project, environment)}
268270
isCollapsed={isCollapsed}
269271
/>
270272
<SideMenuItem
271273
name="Batches"
272274
icon={Squares2X2Icon}
273275
activeIconColor="text-batches"
276+
inactiveIconColor="text-batches"
274277
to={v3BatchesPath(organization, project, environment)}
275278
data-action="batches"
276279
isCollapsed={isCollapsed}
@@ -279,6 +282,7 @@ export function SideMenu({
279282
name="Schedules"
280283
icon={ClockIcon}
281284
activeIconColor="text-schedules"
285+
inactiveIconColor="text-schedules"
282286
to={v3SchedulesPath(organization, project, environment)}
283287
data-action="schedules"
284288
isCollapsed={isCollapsed}
@@ -287,6 +291,7 @@ export function SideMenu({
287291
name="Queues"
288292
icon={RectangleStackIcon}
289293
activeIconColor="text-queues"
294+
inactiveIconColor="text-queues"
290295
to={v3QueuesPath(organization, project, environment)}
291296
data-action="queues"
292297
isCollapsed={isCollapsed}
@@ -295,13 +300,15 @@ export function SideMenu({
295300
name="Waitpoint tokens"
296301
icon={WaitpointTokenIcon}
297302
activeIconColor="text-sky-500"
303+
inactiveIconColor="text-sky-500"
298304
to={v3WaitpointTokensPath(organization, project, environment)}
299305
isCollapsed={isCollapsed}
300306
/>
301307
<SideMenuItem
302308
name="Deployments"
303309
icon={ServerStackIcon}
304310
activeIconColor="text-deployments"
311+
inactiveIconColor="text-deployments"
305312
to={v3DeploymentsPath(organization, project, environment)}
306313
data-action="deployments"
307314
isCollapsed={isCollapsed}
@@ -311,6 +318,7 @@ export function SideMenu({
311318
name="Logs"
312319
icon={LogsIcon}
313320
activeIconColor="text-logs"
321+
inactiveIconColor="text-logs"
314322
to={v3LogsPath(organization, project, environment)}
315323
data-action="logs"
316324
badge={<AlphaBadge />}
@@ -321,6 +329,7 @@ export function SideMenu({
321329
name="Test"
322330
icon={BeakerIcon}
323331
activeIconColor="text-tests"
332+
inactiveIconColor="text-tests"
324333
to={v3TestPath(organization, project, environment)}
325334
data-action="test"
326335
isCollapsed={isCollapsed}
@@ -330,6 +339,7 @@ export function SideMenu({
330339
name="Query"
331340
icon={TableCellsIcon}
332341
activeIconColor="text-purple-500"
342+
inactiveIconColor="text-purple-500"
333343
to={queryPath(organization, project, environment)}
334344
data-action="query"
335345
badge={<AlphaBadge />}
@@ -342,39 +352,44 @@ export function SideMenu({
342352
<SideMenuItem
343353
name="Bulk actions"
344354
icon={ListCheckedIcon}
345-
activeIconColor="text-bulkActions"
355+
activeIconColor="text-text-bright"
356+
inactiveIconColor="text-text-dimmed"
346357
to={v3BulkActionsPath(organization, project, environment)}
347358
data-action="bulk actions"
348359
isCollapsed={isCollapsed}
349360
/>
350361
<SideMenuItem
351362
name="API keys"
352363
icon={KeyIcon}
353-
activeIconColor="text-apiKeys"
364+
activeIconColor="text-text-bright"
365+
inactiveIconColor="text-text-dimmed"
354366
to={v3ApiKeysPath(organization, project, environment)}
355367
data-action="api keys"
356368
isCollapsed={isCollapsed}
357369
/>
358370
<SideMenuItem
359371
name="Environment variables"
360372
icon={IdentificationIcon}
361-
activeIconColor="text-environmentVariables"
373+
activeIconColor="text-text-bright"
374+
inactiveIconColor="text-text-dimmed"
362375
to={v3EnvironmentVariablesPath(organization, project, environment)}
363376
data-action="environment variables"
364377
isCollapsed={isCollapsed}
365378
/>
366379
<SideMenuItem
367380
name="Alerts"
368381
icon={BellAlertIcon}
369-
activeIconColor="text-alerts"
382+
activeIconColor="text-text-bright"
383+
inactiveIconColor="text-text-dimmed"
370384
to={v3ProjectAlertsPath(organization, project, environment)}
371385
data-action="alerts"
372386
isCollapsed={isCollapsed}
373387
/>
374388
<SideMenuItem
375389
name="Preview branches"
376390
icon={BranchEnvironmentIconSmall}
377-
activeIconColor="text-preview"
391+
activeIconColor="text-text-bright"
392+
inactiveIconColor="text-text-dimmed"
378393
to={branchesPath(organization, project, environment)}
379394
data-action="preview-branches"
380395
isCollapsed={isCollapsed}
@@ -383,7 +398,8 @@ export function SideMenu({
383398
<SideMenuItem
384399
name="Concurrency"
385400
icon={ConcurrencyIcon}
386-
activeIconColor="text-concurrency"
401+
activeIconColor="text-text-bright"
402+
inactiveIconColor="text-text-dimmed"
387403
to={concurrencyPath(organization, project, environment)}
388404
data-action="concurrency"
389405
isCollapsed={isCollapsed}
@@ -392,23 +408,26 @@ export function SideMenu({
392408
<SideMenuItem
393409
name="Regions"
394410
icon={GlobeAmericasIcon}
395-
activeIconColor="text-regions"
411+
activeIconColor="text-text-bright"
412+
inactiveIconColor="text-text-dimmed"
396413
to={regionsPath(organization, project, environment)}
397414
data-action="regions"
398415
isCollapsed={isCollapsed}
399416
/>
400417
<SideMenuItem
401418
name="Limits"
402419
icon={AdjustmentsHorizontalIcon}
403-
activeIconColor="text-limits"
420+
activeIconColor="text-text-bright"
421+
inactiveIconColor="text-text-dimmed"
404422
to={limitsPath(organization, project, environment)}
405423
data-action="limits"
406424
isCollapsed={isCollapsed}
407425
/>
408426
<SideMenuItem
409427
name="Project settings"
410428
icon={Cog8ToothIcon}
411-
activeIconColor="text-projectSettings"
429+
activeIconColor="text-text-bright"
430+
inactiveIconColor="text-text-dimmed"
412431
to={v3ProjectSettingsPath(organization, project, environment)}
413432
data-action="project-settings"
414433
isCollapsed={isCollapsed}

0 commit comments

Comments
 (0)