crystal-colord
·75 words·1 min
crystal-colord #
A library for colored text in crystal
Installation #
Add the dependency to your
shard.yml
:dependencies: crystal-colord: github: jakeroggenbuck/crystal-colord
Run
shards install
Usage #
require "crystal-colord"
message = CrystalColord::Colord.new "Hey"
message.cyan(background=true)
message.black
puts message.bold
Contributing #
- Fork it ( https://github.com/jakeroggenbuck/crystal-colord/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors #
- jakeroggenbuck - creator and maintainer