Skip to content

Commit

Permalink
style: apply dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Hogu59 authored and kmkim2689 committed Oct 23, 2024
1 parent d3ab812 commit 431c1d3
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ class RecipeMakingViewModel2
println("uploaded : ${stepImage.uploaded}")
uploadStepImage(stepImage)
recipeId?.let { id ->
saveRecipeDescription()
saveRecipeSteps(id)
}
}
Expand Down
4 changes: 2 additions & 2 deletions android/app/src/main/res/drawable/bg_radius.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/white"/> <!-- 배경색 -->
<solid android:color="@color/screen_background"/> <!-- 배경색 -->
<corners android:radius="20dp" /> <!-- 모서리 둥글기 -->
<stroke android:width="1dp" android:color="#D4D4DA"/> <!-- 테두리 색상과 두께 -->
<stroke android:width="1dp" android:color="@color/border_color"/> <!-- 테두리 색상과 두께 -->
</shape>
3 changes: 1 addition & 2 deletions android/app/src/main/res/layout/fragment_new_step_making.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/abl_step_making"
android:layout_marginBottom="12dp" />
app:layout_constraintTop_toBottomOf="@id/abl_step_making" />

</androidx.constraintlayout.widget.ConstraintLayout>
</layout>
4 changes: 3 additions & 1 deletion android/app/src/main/res/layout/item_step_making.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/et_time_amount"
app:title="@{String.valueOf(recipeStepMaking.sequence)}" />
app:title="@{String.valueOf(recipeStepMaking.sequence)}"
android:paddingBottom="12dp"
/>

</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>
Expand Down
2 changes: 2 additions & 0 deletions android/app/src/main/res/values-night/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
<color name="image_placeholder_background">#FF555555</color>
<color name="profile_placeholder_background">#FF222222</color>
<color name="next_button_color">#FFB5B5B5</color>
<color name="border_color">#FFD4D4DA</color>

<!--onboarding-->
<color name="onboarding_contract_text">#FF9E9E9E</color>
<color name="onboarding_google_button">#FF4285F4</color>
Expand Down
1 change: 1 addition & 0 deletions android/app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<color name="image_placeholder_background">#FFF7F7FB</color>
<color name="profile_placeholder_background">#FFFFFFFF</color>
<color name="next_button_color">#FF111111</color>
<color name="border_color">#FFD4D4DA</color>

<!--onboarding-->
<color name="onboarding_contract_text">#FF9E9E9E</color>
Expand Down

0 comments on commit 431c1d3

Please sign in to comment.