| Crates.io | bevy_contrib_colors |
| lib.rs | bevy_contrib_colors |
| version | 0.2.0 |
| created_at | 2020-09-09 10:54:05.092711+00 |
| updated_at | 2020-09-21 11:03:55.366276+00 |
| description | Color library for the Bevy game engine. |
| homepage | |
| repository | https://github.com/guimcaballero/bevy_contrib_colors |
| max_upload_size | |
| id | 286615 |
| size | 92,542 |
Color library for the Bevy game engine.
It currently contains the Tailwind color palette, but feel free to open a PR to add more!
Add the project as a dependency in Cargo.toml:
bevy_contrib_colors = "0.2.0"
Just import bevy_contrib_colors::Tailwind and use like so:
use bevy::prelude::Color;
use bevy_contrib_colors::Tailwind;
let red: Color = Tailwind::RED400; // #FC8181
let blue: Color = Tailwind::BLUE600; // #3182CE