Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/trailmix/src/color/enum.ts>EnumColor

Repository of utilities for deno written in typescript for trailmix🌤🦕🍣😼
Latest
enum EnumColor
import { EnumColor } from "https://deno.land/x/trailmix@1.0.5/src/color/enum.ts";

Each enum represents name of function in https://deno.land/std/fmt/colors.ts mapped to the prefix ANSI number for the color/bgColor/emphasis

NOTE: Suffix isn't mapped to any functions and can be used to testing

Members

black = 30
blue = 34
brightBlack = 90
brightBlue = 94
brightCyan = 96
brightGreen = 92
brightMagenta = 95
brightRed = 91
brightWhite = 97
brightYellow = 93
clear = 0
cyan = 36
gray = 90
green = 32
magenta = 35
none
red = 31
white = 37
yellow = 33