Repository navigation
[REFACTOR] 로그인 페이지 소셜 버튼·최근 로그인 말풍선 디자인 수정 (#369) #370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,7 +7,7 @@ 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"> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Major] 말풍선 몸통 배경만
한 가지 함정이 있습니다. 수정 방향은 두 가지입니다.
Generated by Claude Code |
||
| 최근에 로그인 했어요 | ||
| </div> | ||
| <PolygonIcon className="-mt-0.5 h-2.5 w-2.5" /> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Minor] 배경이 흰색으로 바뀌었는데
text-white가 그대로 남아 있습니다.지금 당장 보이는 증상은 없습니다. 유일한 텍스트 노드인 아래
span이text-[#000]으로 덮고,AppleIcon은apple.svg의 path fill이black으로 하드코딩되어 있어 상속을 받지 않습니다(Press는children외에 텍스트 노드를 렌더하지 않고,transitions.css의.t-press에도color선언은 없습니다). 즉text-white는bg-[#040505]시절의 잔재로 현재 아무 효과가 없습니다.다만
bg-[#FFF]+text-white조합이 남아 있어서, 이후span의text-[#000]을 지우거나 색 지정 없는 텍스트 자식을 하나 더 추가하면 그 즉시 흰 배경에 흰 글씨가 됩니다. 아래처럼text-white를 빼거나,KakaoButton처럼 부모에 텍스트 색을 두고span에서는 색을 빼는 편이 안전합니다.Generated by Claude Code