diff --git a/Sources/Ignite/Elements/NavigationBar.swift b/Sources/Ignite/Elements/NavigationBar.swift index 78e337b3..335ebbef 100644 --- a/Sources/Ignite/Elements/NavigationBar.swift +++ b/Sources/Ignite/Elements/NavigationBar.swift @@ -23,7 +23,7 @@ public struct NavigationBar: BlockHTML { /// This bar must always be rendered in dark mode. case dark } - + /// The new number of columns to use. public enum Width { /// Viewport sets column width @@ -226,5 +226,3 @@ public struct NavigationBar: BlockHTML { .class("nav-item") } } - - diff --git a/Sources/Ignite/Framework/ElementTypes/HTML.swift b/Sources/Ignite/Framework/ElementTypes/HTML.swift index 178f1115..af0f6d1a 100644 --- a/Sources/Ignite/Framework/ElementTypes/HTML.swift +++ b/Sources/Ignite/Framework/ElementTypes/HTML.swift @@ -318,7 +318,6 @@ public extension HTML { } } - /// Recursively flattens nested `InlineHTML` content into a single array, unwrapping any body properties. /// - Parameter content: The content to flatten and unwrap /// - Returns: An array of unwrapped `InlineHTML` elements diff --git a/Sources/Ignite/Modifiers/IgnorePageGutters.swift b/Sources/Ignite/Modifiers/IgnorePageGutters.swift index 074578fc..f0be748e 100644 --- a/Sources/Ignite/Modifiers/IgnorePageGutters.swift +++ b/Sources/Ignite/Modifiers/IgnorePageGutters.swift @@ -35,7 +35,6 @@ public extension HTML { } } - public extension BlockHTML { /// Determines whether this element should observe the site /// width or extend from one edge of the screen to the other. diff --git a/Sources/Ignite/Publishing/PublishingContext-Generators.swift b/Sources/Ignite/Publishing/PublishingContext-Generators.swift index a3a8fb62..34e0d379 100644 --- a/Sources/Ignite/Publishing/PublishingContext-Generators.swift +++ b/Sources/Ignite/Publishing/PublishingContext-Generators.swift @@ -233,7 +233,7 @@ extension PublishingContext { color: var(--bs-body-color); background-color: var(--bs-body-bg); } - + /* Link styles */ a { color: var(--bs-link-color); @@ -472,7 +472,7 @@ extension PublishingContext { .border-dark { border-color: var(--bs-dark) !important; } - + /* Paragraph margin */ p { margin-top: 0; @@ -542,7 +542,7 @@ extension PublishingContext { .bg-dark { background-color: var(--bs-dark) !important; } /* Button rules */ - .btn-primary { + .btn-primary { background-color: var(--bs-primary); border-color: var(--bs-primary); } diff --git a/Sources/Ignite/Publishing/PublishingContext.swift b/Sources/Ignite/Publishing/PublishingContext.swift index b3fc35d6..1ef9d789 100644 --- a/Sources/Ignite/Publishing/PublishingContext.swift +++ b/Sources/Ignite/Publishing/PublishingContext.swift @@ -294,7 +294,7 @@ public final class PublishingContext { /// - Parameter content: The content to render. func render(_ content: Content) throws { var layout = try layout(for: content) - + let values = EnvironmentValues(sourceDirectory: sourceDirectory, site: site, allContent: allContent) layout.environment = values