tachyons 0.1.1

Rust port of the Tachyons CSS framework
Documentation

tachyons

crates.io version build status downloads docs.rs docs

Rust port of the Tachyons CSS framework.

Examples

Basic

extern crate html_index;
extern crate tachyons;

pub fn main() {
  let res = html_index::Builder::new()
    .raw_body(
      r#"<body class="measure white bg-black">
      hello world
    </body>"#,
    )
    .inline_style(tachyons::TACHYONS_DEFAULT)
    .inline_style(tachyons::TACHYONS)
    .build();
  println!("{}", res);
}

Installation

$ cargo add tachyons

Safety

This crate uses #![deny(unsafe_code)] to ensure everything is implemented in 100% Safe Rust.

Contributing

Want to join us? Check out our "Contributing" guide and take a look at some of these issues:

References

None.

License

MIT OR Apache-2.0