An open API service indexing awesome lists of open source software.

https://github.com/catppuccin/elixir

⚗️ Soothing pastel theme for Elixir
https://github.com/catppuccin/elixir

catppuccin elixir hacktoberfest library

Last synced: 11 months ago
JSON representation

⚗️ Soothing pastel theme for Elixir

Awesome Lists containing this project

README

          


Logo


Catppuccin for Elixir





## Usage

1. Include the dependency in your mix project.
```elixir
def deps do
[
{:catppuccin, github: "catppuccin/elixir", tag: "v0.1.2"}
]
end
```
2. Enjoy the beautiful Catppuccin palette.

## Examples

See the API reference for more examples

### Get a flavor
```elixir
Catppuccin.mocha
```

### Get a color from a flavor
```elixir
Catppuccin.latte
|> Catppuccin.Color.base
|> Catppuccin.Color.to_hex
```

### Get flavor emoji
```elixir
Catppuccin.latte
|> Catppuccin.Flavor.emoji
```

## 🙋 FAQ

- Q: **_"Where can I find the doc?"_**\
A: [API Reference](https://catppuccin.github.io/elixir/api-reference.html)

## 💝 Thanks to

- [MikaelFangel](https://github.com/mikaelfangel)

 




Copyright © 2021-present Catppuccin Org