Skip to content

Commit

Permalink
[CHORE/#18] 색상코드 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
chattymin committed Jan 1, 2024
1 parent f4ad7ab commit 169e8e3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class OnboardingProfileSettingActivity :
setNameCounterColor(R.color.gray_200)
}
if (viewModel.isNameAvailable.value == NameState.Blank) {
setNameCounterColor(R.color.red_400)
setNameCounterColor(R.color.red_500)
}
}

Expand Down Expand Up @@ -97,7 +97,7 @@ class OnboardingProfileSettingActivity :
private fun observeIsNameAvailable() {
viewModel.isNameAvailable.observe(this) { state ->
when (state) {
NameState.Blank -> binding.tvNameCounter.setTextColor(getColor(R.color.red_400))
NameState.Blank -> binding.tvNameCounter.setTextColor(getColor(R.color.red_500))
else -> binding.tvNameCounter.setTextColor(getColor(R.color.gray_700))
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<item android:state_focused="false">
<shape>
<stroke android:width="2dp"/>
<stroke android:color="@color/red_400"/>
<stroke android:color="@color/red_500"/>
<corners android:radius="4dp" />
</shape>
</item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
android:layout_marginStart="4dp"
android:layout_marginTop="4dp"
android:text="@string/name_blank_error"
android:textColor="@{viewModel.isNameAvailable() == NameState.Blank ? @color/red_400 : @color/gray_700}"
android:textColor="@{viewModel.isNameAvailable() == NameState.Blank ? @color/red_500 : @color/gray_700}"
android:visibility="@{viewModel.isNameAvailable() == NameState.Blank ? View.VISIBLE : View.GONE}"
app:layout_constraintStart_toStartOf="@id/et_onboarding_profile_setting_name"
app:layout_constraintTop_toBottomOf="@id/et_onboarding_profile_setting_name" />
Expand Down

0 comments on commit 169e8e3

Please sign in to comment.