| Crates.io | tachyons |
| lib.rs | tachyons |
| version | 0.1.1 |
| created_at | 2018-10-11 07:15:37.564949+00 |
| updated_at | 2018-10-11 07:22:25.418582+00 |
| description | Rust port of the Tachyons CSS framework |
| homepage | |
| repository | https://github.com/chooxide/tachyons |
| max_upload_size | |
| id | 89205 |
| size | 415,774 |
Rust port of the Tachyons CSS framework.
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);
}
$ cargo add tachyons
This crate uses #![deny(unsafe_code)] to ensure everything is implemented in
100% Safe Rust.
Want to join us? Check out our "Contributing" guide and take a look at some of these issues:
None.
MIT OR Apache-2.0