tachyons

Crates.iotachyons
lib.rstachyons
version0.1.1
sourcesrc
created_at2018-10-11 07:15:37.564949
updated_at2018-10-11 07:22:25.418582
descriptionRust port of the Tachyons CSS framework
homepage
repositoryhttps://github.com/chooxide/tachyons
max_upload_size
id89205
size415,774
Yosh (yoshuawuyts)

documentation

https://docs.rs/tachyons

README

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

Commit count: 7

cargo fmt