3 unstable releases
0.2.0 | Sep 21, 2020 |
---|---|
0.1.1 | Sep 9, 2020 |
0.1.0 | Sep 9, 2020 |
#6 in #contrib
21 downloads per month
23KB
115 lines
Bevy color library
Color library for the Bevy game engine.
It currently contains the Tailwind color palette, but feel free to open a PR to add more!
How to use
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
Dependencies
~244MB
~842K SLoC