Skip to content

Commit cb64c1f

Browse files
committed
[BOOK-417] fix: 감정별 배경/텍스트 색상 매칭 수정
슬픔과 깨달음이 반대로 되어있었음...
1 parent 56ff9d1 commit cb64c1f

File tree

1 file changed

+4
-4
lines changed
  • core/common/src/main/kotlin/com/ninecraft/booket/core/common/extensions

1 file changed

+4
-4
lines changed

core/common/src/main/kotlin/com/ninecraft/booket/core/common/extensions/Emotion.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ fun Emotion.toTextColor(): Color {
77
return when (this) {
88
Emotion.WARM -> Color(0xFFE3931B)
99
Emotion.JOY -> Color(0xFFEE6B33)
10-
Emotion.SAD -> Color(0xFF9A55E4)
11-
Emotion.INSIGHT -> Color(0xFF2872E9)
10+
Emotion.SAD -> Color(0xFF2872E9)
11+
Emotion.INSIGHT -> Color(0xFF9A55E4)
1212
}
1313
}
1414

1515
fun Emotion.toBackgroundColor(): Color {
1616
return when (this) {
1717
Emotion.WARM -> Color(0xFFFFF5D3)
1818
Emotion.JOY -> Color(0xFFFFEBE3)
19-
Emotion.SAD -> Color(0xFFF3E8FF)
20-
Emotion.INSIGHT -> Color(0xFFE1ECFF)
19+
Emotion.SAD -> Color(0xFFE1ECFF)
20+
Emotion.INSIGHT -> Color(0xFFF3E8FF)
2121
}
2222
}

0 commit comments

Comments
 (0)