diff --git a/VDS/Components/Line/Line.swift b/VDS/Components/Line/Line.swift index 78ffd545..c90665be 100644 --- a/VDS/Components/Line/Line.swift +++ b/VDS/Components/Line/Line.swift @@ -41,12 +41,6 @@ open class Line: View { case horizontal, vertical } - //-------------------------------------------------- - // MARK: - Configuration - //-------------------------------------------------- - /// Width of the line. - public let lineWidth: CGFloat = 1.0 - //-------------------------------------------------- // MARK: - Public Properties //-------------------------------------------------- @@ -55,9 +49,6 @@ open class Line: View { /// Allows to render the line vertically. open var orientation: Orientation = .horizontal { didSet { setNeedsUpdate() } } - - /// Line Color for current Style and Surface. - open var lineColor: UIColor { lineViewColorConfiguration.getColor(self) } /// The natural size for the receiving view, considering only properties of the view itself. open override var intrinsicContentSize: CGSize { @@ -71,6 +62,12 @@ open class Line: View { //-------------------------------------------------- // MARK: - Configuration //-------------------------------------------------- + /// Width of the line. + public let lineWidth: CGFloat = 1.0 + + /// Line Color for current Style and Surface. + open var lineColor: UIColor { lineViewColorConfiguration.getColor(self) } + /// Color configuration use for text color. This is a configuration that will provide a color based /// of local properties such as style and surface. open var lineViewColorConfiguration: AnyColorable = {