Skip to content

guimcaballero/bevy_contrib_colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Color library for the Bevy game engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages