Skip to content

Commit 7751296

Browse files
samejrmatt-aitken
authored andcommitted
Icon colour improvements
1 parent 7bb4c41 commit 7751296

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -524,8 +524,8 @@ export function SideMenu({
524524
? TreeConnectorEnd
525525
: TreeConnectorBranch
526526
}
527-
activeIconColor="text-customDashboards"
528-
inactiveIconColor="text-customDashboards"
527+
activeIconColor={isCollapsed ? "text-text-dimmed" : "text-customDashboards"}
528+
inactiveIconColor={isCollapsed ? "text-text-dimmed" : "text-customDashboards"}
529529
to={v3CustomDashboardPath(organization, project, environment, dashboard)}
530530
isCollapsed={isCollapsed}
531531
/>
@@ -1049,7 +1049,7 @@ function CreateDashboardButton({
10491049
<DialogTrigger asChild>
10501050
<button
10511051
type="button"
1052-
className="flex h-full w-full items-center justify-center rounded text-text-dimmed transition hover:bg-charcoal-600 hover:text-text-bright"
1052+
className="flex h-full w-full items-center justify-center rounded text-text-dimmed transition focus-custom hover:bg-charcoal-600 hover:text-text-bright"
10531053
>
10541054
<PlusIcon className="size-4" />
10551055
</button>

apps/webapp/tailwind.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ const schedules = colors.yellow[500];
161161
const queues = colors.purple[500];
162162
const query = colors.blue[500];
163163
const metrics = colors.green[500];
164-
const customDashboards = charcoal[400];
164+
const customDashboards = charcoal[500];
165165
const deployments = colors.green[500];
166166
const concurrency = colors.amber[500];
167167
const limits = colors.purple[500];

0 commit comments

Comments
 (0)