@poppinss/colors
Version:
A wrapper on top of kleur with ability to write test against the color functions
24 lines (23 loc) • 685 B
TypeScript
/**
* @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.js';
import { type ColorTransformations } from './types.js';
/**
* Concrete implementation of the Colors class using Kleur
*/
export declare class Kleur extends Colors {
#private;
constructor();
/**
* Perform the given transformation. The abstract Color class calls this
* method
*/
protected transform(transformation: ColorTransformations): this;
protected transform(transformation: ColorTransformations, text: string | number): string;
}