Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/assets/icon/apple.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assets/icon/polygon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/components/auth/AppleButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ export const AppleButton = ({ onClick, disabled }: AppleButtonProps) => {
<Press
type="button"
disabled={disabled}
className="inline-flex h-[3.125rem] w-full items-center justify-center gap-2 rounded-2xl bg-[#040505] font-semibold text-white shadow-sm disabled:opacity-60"
className="inline-flex h-[3.125rem] w-full items-center justify-center gap-1 rounded-2xl bg-[#FFF] font-semibold shadow-sm disabled:opacity-60"
onClick={onClick}
>
<AppleIcon className="h-5.5 w-5.5" aria-hidden="true" />
<span className="font-normal">Apple로 계속하기</span>
<AppleIcon className="h-4.5 w-4.5" aria-hidden="true" />
<span className="font-semibold text-[#000]">Apple로 계속하기</span>
</Press>
);
};
8 changes: 3 additions & 5 deletions src/components/auth/KakaoButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ export const KakaoButton = ({ onClick }: KakaoButtonProps) => {
return (
<Press
type="button"
className="inline-flex h-[3.125rem] w-full items-center justify-center gap-2 rounded-2xl bg-[#FEE500] font-semibold text-neutral-900 shadow-sm"
className="inline-flex h-[3.125rem] w-full items-center justify-center gap-1 rounded-2xl bg-[#FEE500] font-semibold text-neutral-900 shadow-sm"
onClick={onClick}
>
<KakaoIcon className="h-5.5 w-5.5" />
<span className="leading-[126%] tracking-[-0.01875rem]">
카카오로 계속하기
</span>
<KakaoIcon className="h-4 w-4" />
<span className="font-semibold">카카오로 계속하기</span>
</Press>
);
};
4 changes: 2 additions & 2 deletions src/components/auth/RecentLoginDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ interface RecentLoginDialogProps {
export function RecentLoginDialog({ className = "" }: RecentLoginDialogProps) {
return (
<div className={`flex flex-col items-center self-center ${className}`}>
<div className="bg-neutral-0 rounded-lg px-2 py-1.25 text-xs font-semibold text-orange-500">
<div className="rounded-lg bg-neutral-100 px-2 py-1.25 text-xs font-semibold text-orange-500">

@MlNTYS MlNTYS Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Major] 말풍선 몸통 배경만 neutral-100으로 바뀌고 꼬리(PolygonIcon)는 이전 색 그대로라 두 톤으로 갈라집니다.

src/assets/icon/polygon.svg의 path fill이 #FBFBFB로 하드코딩되어 있는데, 이 값은 변경 전 배경이던 neutral-0(--color-neutral-0: #fbfbfb)과 정확히 일치하는 값입니다. 새 배경 neutral-100은 #f0f0f0이라 몸통보다 꼬리가 밝게 남습니다. 꼬리는 -mt-0.5(2px)만 겹치므로 10×8.3px 삼각형 중 6~7px가 몸통 아래로 노출되고, 어두운 페이지 배경 위라 경계가 드러납니다.

한 가지 함정이 있습니다. CLAUDE.md에는 "SVGO가 fill/stroke를 currentColor로 변환 → text-*로 색상 제어"라고 적혀 있지만, 실제 설정은 그렇게 동작하지 않습니다. vite.config.ts의 svgoConfig는 preset-default(removeViewBox: false) + removeDimensions + prefixIds뿐이고, convertColors의 currentColor 옵션도 svgr의 icon/replaceAttrValues도 설정되어 있지 않습니다. 프로젝트 설정 그대로 SVGO를 돌리면 fill="#FBFBFB"가 그대로 남는 것을 확인했습니다. 따라서 PolygonIcon에 text-neutral-100만 붙여서는 색이 바뀌지 않습니다.

수정 방향은 두 가지입니다.

  • polygon.svg의 fill을 currentColor로 바꾼 뒤 PolygonIcon에 text-neutral-100을 주기 (문서에 적힌 컨벤션에 맞추는 방향)
  • 또는 polygon.svg의 fill 값을 #F0F0F0으로 직접 맞추기

Generated by Claude Code

최근에 로그인 했어요
</div>
<PolygonIcon className="-mt-0.5 h-2.5 w-2.5" />
<PolygonIcon className="-mt-0.5 h-2.5 w-2.5 text-neutral-100" />
</div>
);
}
4 changes: 2 additions & 2 deletions src/pages/auth/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export function LoginPage() {
key={ui.footerKey}
className={`mx-auto max-w-sm ${ui.footerAnim}`}
>
<div className="flex flex-col gap-3">
<div className="flex flex-col gap-4">
{recentLoginProvider === "APPLE" && !isAndroidApp() && (
<RecentLoginDialog />
)}
Expand All @@ -288,7 +288,7 @@ export function LoginPage() {
/>
)}
{recentLoginProvider === "KAKAO" && !isAndroidApp() && (
<RecentLoginDialog className="absolute bottom-0 left-1/2 -translate-x-1/2 translate-y-1/4" />
<RecentLoginDialog className="absolute bottom-0 left-1/2 -translate-x-1/2 translate-y-1/2" />
)}
</div>
{recentLoginProvider === "KAKAO" && isAndroidApp() && (
Expand Down
Loading