Skip to content

refactor: LectureColor 개편#511

Open
JuTaK97 wants to merge 9 commits intodevelopfrom
refactor/lecture-color-model
Open

refactor: LectureColor 개편#511
JuTaK97 wants to merge 9 commits intodevelopfrom
refactor/lecture-color-model

Conversation

@JuTaK97
Copy link
Collaborator

@JuTaK97 JuTaK97 commented Feb 16, 2026

목적

도메인 모델(LectureColor, TableTheme)에서 androidx.compose.ui.graphics.Color 및 android.graphics.Color 의존 제거.
색깔 값을 ARGB Int로 통일.

변경사항

새 타입

  • ThemeColor(foreground: Int, background: Int) — "테마 내의 색깔"

LectureColor 개편

  • Custom: foreground/background를 Color → Int로 변경
  • BuiltIn: foreground/background 제거, colorIndex만 보유

TableTheme 개편

  • 팔레트 속성 타입: List → List

DTO

  • ColorDto/ColorSetDto: android.graphics.Color.parseColor() → 순수 Kotlin parseHexColor() 사용
  • LectureDto/TimetableLectureDto: Compose Color import 제거, parseHexColor() 사용

UI (최소 수정)

  • ThemeColor/LectureColor의 Int 값을 Color()로 래핑하는 수준
  • ColorBox: foreground: Color, background: Color 시그니처로 변경
  • ColorItem: 동일하게 foreground: Color, background: Color로 변경

next step

진짜 TimeTable 리팩토링 드간다

@JuTaK97 JuTaK97 requested a review from a team as a code owner February 16, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant