updated to overwrite lineColorConfig
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
4c88dce9f6
commit
5d0ecec23e
@ -51,7 +51,7 @@ open class Line: View {
|
||||
//--------------------------------------------------
|
||||
// MARK: - Configuration
|
||||
//--------------------------------------------------
|
||||
private var lineViewColorConfig: AnyColorable = {
|
||||
public var lineViewColorConfig: AnyColorable = {
|
||||
let config = KeyedColorConfiguration<Line, Style>(keyPath: \.style)
|
||||
config.setSurfaceColors(VDSColor.elementsPrimaryOnlight, VDSColor.elementsPrimaryOndark, forKey: .primary)
|
||||
config.setSurfaceColors(VDSColor.elementsLowContrastOnLight, VDSColor.elementsLowContrastOnDark, forKey: .secondary)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user