Ink Constants - Rafostar/ink GitHub Wiki

Ink.Font

Type of font displayed in terminal. Intended for use as value for printer.font property. Multiple can be combined by placing them in an array.

Ink.Font.VARIOUS   // auto selected based on provided text
Ink.Font.REGULAR
Ink.Font.BOLD
Ink.Font.DIM
Ink.Font.ITALIC
Ink.Font.UNDERLINE
Ink.Font.BLINK     // blinking text on regular interval
Ink.Font.REVERSE   // swap background and foreground colors
Ink.Font.HIDDEN
Ink.Font.STRIKEOUT

Ink.Color

Color used for printing in terminal. Intended for use as value for printer.color or printer.background property.

Ink.Color.VARIOUS  // auto selected based on provided text
Ink.Color.DEFAULT  // use default terminal color
Ink.Color.WHITE
Ink.Color.BLACK
Ink.Color.RED
Ink.Color.GREEN
Ink.Color.YELLOW
Ink.Color.BLUE
Ink.Color.MAGENTA
Ink.Color.CYAN
Ink.Color.BROWN
Ink.Color.PINK
Ink.Color.ORANGE
Ink.Color.SALMON
Ink.Color.LIGHT_GRAY
Ink.Color.DARK_GRAY
Ink.Color.LIGHT_RED
Ink.Color.LIGHT_GREEN
Ink.Color.LIGHT_YELLOW
Ink.Color.LIGHT_BLUE
Ink.Color.LIGHT_MAGENTA
Ink.Color.LIGHT_CYAN
Ink.Color.LIGHT_BROWN
Ink.Color.LIGHT_PINK
Ink.Color.LIGHT_ORANGE
Ink.Color.LIGHT_SALMON