Skip to content

Rust port of the Tachyons CSS framework.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

chooxide/tachyons

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

About

Rust port of the Tachyons CSS framework.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Code of conduct

Stars

Watchers

Forks

Packages

No packages published