Skip to content

Commit 3252cb0

Browse files
committed
custom variable for Errors
1 parent 5922a2a commit 3252cb0

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -464,10 +464,7 @@ export function SideMenu({
464464
title="AI"
465465
isSideMenuCollapsed={isCollapsed}
466466
itemSpacingClassName="space-y-0"
467-
initialCollapsed={getSectionCollapsed(
468-
user.dashboardPreferences.sideMenu,
469-
"ai"
470-
)}
467+
initialCollapsed={getSectionCollapsed(user.dashboardPreferences.sideMenu, "ai")}
471468
onCollapseToggle={handleSectionToggle("ai")}
472469
>
473470
<SideMenuItem
@@ -531,8 +528,8 @@ export function SideMenu({
531528
<SideMenuItem
532529
name="Errors"
533530
icon={IconBugFilled}
534-
activeIconColor="text-amber-500"
535-
inactiveIconColor="text-amber-500"
531+
activeIconColor="text-errors"
532+
inactiveIconColor="text-errors"
536533
to={v3ErrorsPath(organization, project, environment)}
537534
data-action="errors"
538535
isCollapsed={isCollapsed}

apps/webapp/tailwind.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ const docs = colors.blue[500];
177177
const bulkActions = colors.emerald[500];
178178
const aiPrompts = colors.blue[500];
179179
const aiMetrics = colors.green[500];
180+
const errors = colors.amber[500];
180181

181182
/** Other variables */
182183
const radius = "0.5rem";
@@ -262,6 +263,7 @@ module.exports = {
262263
customDashboards,
263264
aiPrompts,
264265
aiMetrics,
266+
errors,
265267
},
266268
focusStyles: {
267269
outline: "1px solid",

0 commit comments

Comments
 (0)