Rust port of the Tachyons CSS framework.
Switch branches/tags
Nothing to show
Clone or download
yoshuawuyts fix example
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
Latest commit 0ab2be3 Oct 11, 2018
Permalink
Failed to load latest commit information.
.github . Oct 11, 2018
examples add example Oct 11, 2018
src init tachyons vars Oct 11, 2018
tachyons-custom @ 619e9e0 . Oct 11, 2018
.gitignore . Oct 11, 2018
.gitmodules . Oct 11, 2018
.travis.yml . Oct 11, 2018
CERTIFICATE . Oct 11, 2018
CHANGELOG.md Update changelog Oct 11, 2018
Cargo.toml (cargo-release) version 0.1.1 Oct 11, 2018
LICENSE-APACHE . Oct 11, 2018
LICENSE-MIT . Oct 11, 2018
README.md fix example Oct 11, 2018
rustfmt.toml . Oct 11, 2018

README.md

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