Skip to content

Commit e40bb6b

Browse files
committed
fix: set login modal bg
1 parent bc62b78 commit e40bb6b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

cli/src/components/login-modal.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ export const LoginModal = ({
283283
width: modalWidth,
284284
height: modalHeight,
285285
maxHeight: modalHeight,
286-
backgroundColor: theme.background,
286+
backgroundColor: theme.surface,
287287
padding: 0,
288288
flexDirection: 'column',
289289
}}
@@ -316,7 +316,6 @@ export const LoginModal = ({
316316
alignItems: 'center',
317317
width: '100%',
318318
height: '100%',
319-
backgroundColor: theme.background,
320319
padding: containerPadding,
321320
gap: 0,
322321
}}
@@ -449,9 +448,7 @@ export const LoginModal = ({
449448
<text style={{ wrapMode: 'none' }}>
450449
<span
451450
fg={
452-
copyMessage.startsWith('✓')
453-
? theme.success
454-
: theme.error
451+
copyMessage.startsWith('✓') ? theme.success : theme.error
455452
}
456453
>
457454
{copyMessage}

0 commit comments

Comments
 (0)