Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

제품 상세 화면 UI 개선 #138

Merged
merged 2 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1530"
version = "1.7">
version = "1.8">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ private struct DetailView: View {
VStack(alignment: .trailing, spacing: .zero) {
Text("(\((product.price / 2).formatted())₩ per piece)")
.font(.x2)
.foregroundStyle(.gray100)
.foregroundStyle(.gray300)
.padding(.bottom, -4)
Text("\(product.price.formatted())₩")
.font(.h2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ private struct LineGraphPanelView: View {
.font(.b1)
.foregroundStyle(.gray900)
Rectangle()
.foregroundStyle(.gray100)
.foregroundStyle(.gray300)
.frame(width: 1.0, height: Metrics.panelPoleHeight)
}
.frame(width: Metrics.panelWidth, height: Metrics.panelHeight)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ struct SearchView<ViewModel>: View where ViewModel: SearchViewModelRepresentable
ForEach(items) { item in
NavigationLink {
ProductInfoView(viewModel: ProductInfoViewModel(service: container.services.productInfoService, productID: item.id))
.toolbarRole(.editor)
} label: {
SearchListCardView(product: item)
}
Expand Down