Skip to content
Prev Previous commit
Next Next commit
fix(whitelabeling): use brand-accent as color fallback when workspace…
… color is undefined
  • Loading branch information
waleedlatif1 committed Apr 8, 2026
commit c70c8efd6fde41c5269b8310b383904f13a86bcb
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ export function WorkspaceHeader({
{activeWorkspaceFull ? (
<div
className='flex h-[20px] w-[20px] flex-shrink-0 items-center justify-center rounded-sm font-medium text-caption text-white leading-none'
style={{ backgroundColor: activeWorkspaceFull.color ?? '#6b7280' }}
style={{ backgroundColor: activeWorkspaceFull.color ?? 'var(--brand-accent)' }}
>
{workspaceInitial}
</div>
Expand Down Expand Up @@ -406,7 +406,9 @@ export function WorkspaceHeader({
{activeWorkspaceFull ? (
<div
className='flex h-[32px] w-[32px] flex-shrink-0 items-center justify-center rounded-md font-medium text-caption text-white'
style={{ backgroundColor: activeWorkspaceFull.color ?? '#6b7280' }}
style={{
backgroundColor: activeWorkspaceFull.color ?? 'var(--brand-accent)',
}}
>
{workspaceInitial}
</div>
Expand Down Expand Up @@ -588,7 +590,7 @@ export function WorkspaceHeader({
{activeWorkspaceFull ? (
<div
className='flex h-[20px] w-[20px] flex-shrink-0 items-center justify-center rounded-sm font-medium text-caption text-white leading-none'
style={{ backgroundColor: activeWorkspaceFull.color ?? '#6b7280' }}
style={{ backgroundColor: activeWorkspaceFull.color ?? 'var(--brand-accent)' }}
>
{workspaceInitial}
</div>
Expand Down
Loading