catppuccin

⭐️ Soothing pastel library for Gleam

Types

pub opaque type Color
pub opaque type Flavor

Functions

pub fn accent(color: Color) -> Bool
pub fn base(flavor: Flavor) -> Color
pub fn blue(flavor: Flavor) -> Color
pub fn color_name(color: Color) -> String
pub fn color_order(color: Color) -> Int
pub fn crust(flavor: Flavor) -> Color
pub fn dark(flavor: Flavor) -> Bool
pub fn emoji(flavor: Flavor) -> String
pub fn flamingo(flavor: Flavor) -> Color
pub fn flavor_name(flavor: Flavor) -> String
pub fn flavor_order(flavor: Flavor) -> Int
pub fn frappe() -> Flavor
pub fn green(flavor: Flavor) -> Color
pub fn latte() -> Flavor
pub fn lavender(flavor: Flavor) -> Color
pub fn macchiato() -> Flavor
pub fn mantle(flavor: Flavor) -> Color
pub fn maroon(flavor: Flavor) -> Color
pub fn mauve(flavor: Flavor) -> Color
pub fn mocha() -> Flavor
pub fn overlay0(flavor: Flavor) -> Color
pub fn overlay1(flavor: Flavor) -> Color
pub fn overlay2(flavor: Flavor) -> Color
pub fn peach(flavor: Flavor) -> Color
pub fn pink(flavor: Flavor) -> Color
pub fn red(flavor: Flavor) -> Color
pub fn rosewater(flavor: Flavor) -> Color
pub fn sapphire(flavor: Flavor) -> Color
pub fn sky(flavor: Flavor) -> Color
pub fn subtext0(flavor: Flavor) -> Color
pub fn subtext1(flavor: Flavor) -> Color
pub fn surface0(flavor: Flavor) -> Color
pub fn surface1(flavor: Flavor) -> Color
pub fn surface2(flavor: Flavor) -> Color
pub fn teal(flavor: Flavor) -> Color
pub fn text(flavor: Flavor) -> Color
pub fn to_color(color: Color) -> Colour

alias for to_colour

pub fn to_colour(color: Color) -> Colour

The color represented as a Colour type from gleam_community_colour.
For more information, refer to the gleam_community_colour.

pub fn yellow(flavor: Flavor) -> Color
Search Document