Skip to content

Commit 073ad46

Browse files
authored
chore(preprod): change diff text colors (eme-510) (#103335)
make diff text more scannable, before it was yellow for increase or decrease which was confusuing <img width="962" height="591" alt="image" src="https://github.com/user-attachments/assets/8117752b-9670-4281-a8c0-24dccf9f0242" /> ### Legal Boilerplate Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.
1 parent 877a3e4 commit 073ad46

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

static/app/views/preprod/buildComparison/main/sizeCompareItemDiffTable.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,11 +336,10 @@ const ChangeAmountCell = styled(SimpleTable.RowCell)<{changeType: DiffType}>`
336336
color: ${p => {
337337
switch (p.changeType) {
338338
case 'increased':
339-
case 'decreased':
340-
return p.theme.warningText;
341339
case 'added':
342340
return p.theme.dangerText;
343341
case 'removed':
342+
case 'decreased':
344343
return p.theme.successText;
345344
default:
346345
throw new Error(`Invalid change type: ${p.changeType}`);

0 commit comments

Comments
 (0)