Conversation
- `LoginScreen` 및 `BottomSheetCalendar`에서 사용되던 하드코딩된 HEX 색상 값을 `AfternoteDesign.colors`의 그레이스케일 토큰(gray1, gray2, gray3, gray6, gray9)으로 대체 - `core:ui` 모듈의 `Black` 색상 상수를 `internal`로 변경하여 `Shadow.kt` 등 내부 파일에서 재사용 가능하도록 수정 - `BottomSheetCalendar` 내 선택된 날짜의 배경색 및 미선택 텍스트 색상을 디자인 토큰 기반으로 리팩터링 - `Shadow.kt`에서 하드코딩된 검정색을 공통 상수로 교체하고, `spread` 값 선언 방식 수정 및 미사용 임포트 제거
|
❌ Screenshot test fail — baseline 과 CI rendered PNG 차이. 📦 Artifact: https://github.com/Afternote/Afternote-FE/actions/runs/27013902035 (페이지 하단 Artifacts → 🔍 확인 위치 (artifact zip 내부):
📝 조치 가이드:
CI ↔ 로컬 환경 차이는 본 워크플로의 container 단계가 root fix 한다 (README 의 "Compose Preview Screenshot Testing (docker baseline)" 섹션 참조). |
- `LoginScreenScreenshotTest`의 초기 화면 캡처 레퍼런스 이미지(`loginScreenInitialScreenshot`) 갱신
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📌𝘐𝘴𝘴𝘶𝘦𝘴
Closes #402 — chore(core-ui): 테마 토큰 미적용 하드코드 색상 토큰화
📎𝘞𝘰𝘳𝘬 𝘋𝘦𝘴𝘤𝘳𝘪𝘱𝘵𝘪𝘰𝘯
AfternoteDesign.colors토큰으로 치환 (drag handle·날짜박스 배경·경계선·요일 라벨·선택셀 bg/text)Black토큰을private→internal로 승격 (Shadow 에서 재사용 가능하게)@Composable토큰 접근 불가 → 같은 패키지Black재사용, unusedColorimport 제거Color(0xFFF2F2F2)→gray2, 무의미해진 hex 주석 제거📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵
LoginScreen 구글 버튼 에뮬레이터 실기기 확인 — 렌더 정상, 색상 차 육안 무차별. BottomSheetCalendar 는 screenshot test 부재 + light mode 시각 거의 동일 (아래 근사 치환 참고).
💬𝘛𝘰 𝘙𝘦𝘷𝘪𝘦𝘸𝘦𝘳𝘴
#888888→gray6 가 −19로 가장 큼). 각 라인에 근사 주석을 명시했습니다. 실이득은 다크모드 토큰 대응입니다.containerColor = Color.White, 카카오 버튼Color(0xFFFEE500)(브랜드 고정색)은 이슈 범위 외라 유지했습니다../gradlew :core:ui:compileDebugKotlin :feature:onboarding:presentation:compileDebugKotlinBUILD SUCCESSFUL