From 5d0ecec23e7cc31e18646ef45b876d0429d681a0 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Fri, 14 Apr 2023 14:45:11 -0500 Subject: [PATCH] updated to overwrite lineColorConfig Signed-off-by: Matt Bruce --- VDS/Components/Line/Line.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VDS/Components/Line/Line.swift b/VDS/Components/Line/Line.swift index b08f6273..c62ca2e1 100644 --- a/VDS/Components/Line/Line.swift +++ b/VDS/Components/Line/Line.swift @@ -51,7 +51,7 @@ open class Line: View { //-------------------------------------------------- // MARK: - Configuration //-------------------------------------------------- - private var lineViewColorConfig: AnyColorable = { + public var lineViewColorConfig: AnyColorable = { let config = KeyedColorConfiguration(keyPath: \.style) config.setSurfaceColors(VDSColor.elementsPrimaryOnlight, VDSColor.elementsPrimaryOndark, forKey: .primary) config.setSurfaceColors(VDSColor.elementsLowContrastOnLight, VDSColor.elementsLowContrastOnDark, forKey: .secondary)