Usage
- Include the dependency in your mix project.
def deps do [ {:catppuccin, github: "catppuccin/elixir", tag: "v0.1.2"} ] end
- Enjoy the beautiful Catppuccin palette.
Examples
See the API reference for more examples
Get a flavor
Get a color from a flavor
Catppuccin.latte |> Catppuccin.Color.base |> Catppuccin.Color.to_hex
Get flavor emoji
Catppuccin.latte |> Catppuccin.Flavor.emoji
🙋 FAQ
- Q: "Where can I find the doc?"
A: API Reference
💝 Thanks to
Copyright © 2021-present Catppuccin Org