bevy_contrib_colors 0.1.0

Color library for the Bevy game engine.
Documentation

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 = { git = "https://github.com/guimcaballero/bevy_contrib_colors", branch = "master" }

Just import bevy_contrib_colors::Tailwind and use like so:

    use bevy::render::color::Color;
    use bevy_contrib_colors::Tailwind;

    let red: Color = Tailwind::RED400; // #FC8181
    let blue: Color = Tailwind::BLUE600; // #3182CE