Skip to content

Commit 28d4507

Browse files
committed
fix(issues): Use background color on project icons
reverts a change from #107451
1 parent dac3ec2 commit 28d4507

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

static/app/components/projectList.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type {ReactNode} from 'react';
2-
import {css} from '@emotion/react';
2+
import {css, type Theme} from '@emotion/react';
33
import styled from '@emotion/styled';
44

55
import {Stack} from '@sentry/scraps/layout';
@@ -88,8 +88,9 @@ const ProjectListWrapper = styled('div')`
8888
padding-right: 8px;
8989
`;
9090

91-
const AvatarStyle = (p: any) => css`
92-
border: 2px solid ${p.theme.tokens.border.primary};
91+
const AvatarStyle = (p: {theme: Theme}) => css`
92+
/* eslint-disable-next-line @sentry/scraps/use-semantic-token */
93+
border: 2px solid ${p.theme.tokens.background.primary};
9394
margin-right: -8px;
9495
cursor: default;
9596

0 commit comments

Comments
 (0)