Skip to content

0.1.0

Latest

Choose a tag to compare

@coenttb coenttb released this 16 Dec 13:00

CSS HTML Rendering

Type-safe CSS property rendering for HTML views in Swift.

Features

  • Complete CSS Coverage: 400+ CSS properties as Swift extensions on HTML.View
  • Dark Mode Support: Automatic media query generation for light/dark color values
  • Context-Based Styling: Uses HTML.Style.Context TaskLocal for composable styling
  • Result Builder Pattern: Clean, declarative CSS styling syntax
  • Type Safety: Compile-time validation of CSS property values

Installation

.package(url: "https://github.com/coenttb/swift-css-html-rendering", from: "0.1.0")