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.
요약 (Summary)
시간표 색상 서버에서 제공하는 색상으로 수정
변경 사항 (Changes)
getRandomColor
->getScheduleColor
로 변경 (랜덤 방식이 아니게 됐기 때문)colors.ts
제거 ->schedule.ts
로 이동COLORS
객체 하나에 담음리뷰 요구사항
COLORS 객체를 이용해 서버에서 주는 데이터의 colors에 따라 배경색과 폰트색을 설정하는 방식으로 바꾸기 위해
getScheduleColor
함수에 파라미터를 생성했습니다.시간표 추가할때 색상도 이 변수 사용하면 됩니다.
확인 방법 (선택)