From 5529b5baac9d1947a679cd31e9647fccb61a2cfc Mon Sep 17 00:00:00 2001 From: Vladimir Kaltyrin Date: Thu, 26 Dec 2024 19:43:03 +0300 Subject: [PATCH] chore: fixed progress bar color --- .../Components/SDDSProgressBar/SDDSProgressBarPreview.swift | 2 +- .../SDDSProgressBar/SDDSProgressView+ColorVariations.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SDDSComponents/SDDSComponentsPreview/Components/SDDSProgressBar/SDDSProgressBarPreview.swift b/SDDSComponents/SDDSComponentsPreview/Components/SDDSProgressBar/SDDSProgressBarPreview.swift index 0fc00adc..60bbf9b5 100644 --- a/SDDSComponents/SDDSComponentsPreview/Components/SDDSProgressBar/SDDSProgressBarPreview.swift +++ b/SDDSComponents/SDDSComponentsPreview/Components/SDDSProgressBar/SDDSProgressBarPreview.swift @@ -9,7 +9,7 @@ struct SDDSProgressBarPreview: PreviewProvider { SDDSProgressView( progress: .constant(0.5), isEnabled: true, - appearance: SDDSProgressView.accent.appearance + appearance: SDDSProgressView.default.appearance ) .previewLayout(PreviewLayout.sizeThatFits) .previewDisplayName("Default") diff --git a/Themes/SDDSservTheme/SDDSProgressBar/SDDSProgressView+ColorVariations.swift b/Themes/SDDSservTheme/SDDSProgressBar/SDDSProgressView+ColorVariations.swift index edcb0532..ebda2d4b 100644 --- a/Themes/SDDSservTheme/SDDSProgressBar/SDDSProgressView+ColorVariations.swift +++ b/Themes/SDDSservTheme/SDDSProgressBar/SDDSProgressView+ColorVariations.swift @@ -59,7 +59,7 @@ public extension SDDSProgressView { appearance: .init( size: SDDSProgressViewSize(), - tintFillStyle: .color(ColorToken.surfaceDefaultSolidPrimary), + tintFillStyle: .color(ColorToken.surfaceDefaultSolidDefault), trackColor: ColorToken.surfaceDefaultTransparentSecondary ) )