import glaze/basecoat/theme import lustre/attribute.{attribute} import lustre/element.{type Element} import lustre/element/html /// The latest supported version of Basecoat that is verified to work /// and all components have been mapped for. /// /// All releases are available here: https://github.com/hunvreus/basecoat/releases /// pub const version = "0.3.11" /// Register Basecoat UI CSS and JavaScript from a CDN. /// /// This includes the styles and logic for all components. /// /// ### Example /// /// ```gleam /// import glaze/basecoat /// /// html.head([], [ /// basecoat.register(basecoat.version), /// ]) /// ``` /// pub fn register(v: String) -> Element(a) { element.fragment([cdn_stylesheet(v), cdn_script(v)]) } ///