method PrinterService.primary
PrinterService.primary(message: string): string

Return the provided message so that the foreground is colored as primary content. This is the default calor applied. The actual color will depend on the value of darkMode. Has no effect if colorEnabled is false.

Parameters

message: string

Return Type

string

Usage

import type PrinterService from ".";