Skip to content

Commit c017b7a

Browse files
committed
ref(onboarding): Clean up animated logo mask fill and default props
Use content.accent for the mask fill to match the stroke color, drop the unnecessary React.CSSProperties cast, and remove the redundant default size prop.
1 parent 7ff4f21 commit c017b7a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

static/app/components/animatedSentryLogo.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ export function AnimatedSentryLogo({
7070
x="50"
7171
y="72"
7272
maskUnits="userSpaceOnUse"
73-
style={{maskType: 'alpha'} as React.CSSProperties}
73+
style={{maskType: 'alpha'}}
7474
>
75-
<path fill={theme.tokens.graphics.accent.vibrant} d={SENTRY_GLYPH} />
75+
<path fill={theme.tokens.content.accent} d={SENTRY_GLYPH} />
7676
</mask>
7777

7878
{/* Muted base shape */}

static/app/views/onboarding/onboarding.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ export function OnboardingWithoutContext() {
391391
)}
392392
{scmLogoProgress !== null && (
393393
<Container alignSelf="center">
394-
<AnimatedSentryLogo progress={scmLogoProgress} size={72} />
394+
<AnimatedSentryLogo progress={scmLogoProgress} />
395395
</Container>
396396
)}
397397
<AnimatePresence mode="wait" onExitComplete={updateAnimationState}>

0 commit comments

Comments
 (0)