From a5398b765817c11715ebf97e90823b16cc56939c Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Thu, 8 Oct 2026 12:32:45 +0900 Subject: [PATCH] =?UTF-8?q?feat(component):=20=EC=95=A1=EC=85=98=20?= =?UTF-8?q?=EB=AA=A8=EB=8B=AC=20=EA=B0=95=EC=A1=B0=EC=83=89=EC=9D=84=20?= =?UTF-8?q?=EC=A7=80=EC=9B=90=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SodaLive/Sources/V2/Component/Modal/SodaV2ActionModal.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SodaLive/Sources/V2/Component/Modal/SodaV2ActionModal.swift b/SodaLive/Sources/V2/Component/Modal/SodaV2ActionModal.swift index de005364..c8a8cbd5 100644 --- a/SodaLive/Sources/V2/Component/Modal/SodaV2ActionModal.swift +++ b/SodaLive/Sources/V2/Component/Modal/SodaV2ActionModal.swift @@ -11,6 +11,7 @@ struct SodaV2ActionModal: View { let button1: SodaV2ActionModalButton? let button2: SodaV2ActionModalButton? let onDimmedTap: () -> Void + var primaryTextColor: Color = .soda400 private var visibleButtons: [(label: String, action: () -> Void, isPrimary: Bool)] { var buttons = [(label: String, action: () -> Void, isPrimary: Bool)]() @@ -79,7 +80,7 @@ struct SodaV2ActionModal: View { Button(action: action) { Text(title) .appFont(size: 18, weight: .medium) - .foregroundColor(isPrimary ? Color.soda400 : Color.white) + .foregroundColor(isPrimary ? primaryTextColor : Color.white) .frame(maxWidth: .infinity) .padding(14) .background(Color.clear)