UNPKG

@poppinss/colors

Version:

A wrapper on top of kleur with ability to write test against the color functions

23 lines (22 loc) 677 B
/** * @poppinss/colors * * (c) Poppinss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import { Colors } from './base.ts'; import { type ColorTransformations } from './types.ts'; /** * Concrete implementation of the Colors class that returns * the value as it is. */ export declare class Silent extends Colors { /** * Perform the given transformation. The abstract Color class calls this * method */ protected transform(transformation: ColorTransformations): this; protected transform(transformation: ColorTransformations, text: string | number): string; }