diff --git a/index.d.ts b/index.d.ts index baa7068..3c46d64 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,6 +1,6 @@ -// Type definitions for Colors.js 1.2 +// Type definitions for Colors.js 1.4 // Project: https://github.com/Marak/colors.js -// Definitions by: Bart van der Schoor , Staffan Eketorp +// Definitions by: Bart van der Schoor , Staffan Eketorp , Max Sirenev // Definitions: https://github.com/Marak/colors.js export interface Color { @@ -20,6 +20,22 @@ export interface Color { gray: Color; grey: Color; + brightRed: Color; + brightGreen: Color; + brightYellow: Color; + brightBlue: Color; + brightMagenta: Color; + brightCyan: Color; + brightWhite: Color; + + bgBrightRed: Color; + bgBrightGreen: Color; + bgBrightYellow: Color; + bgBrightBlue: Color; + bgBrightMagenta: Color; + bgBrightCyan: Color; + bgBrightWhite: Color; + bgBlack: Color; bgRed: Color; bgGreen: Color; @@ -66,6 +82,22 @@ export const white: Color; export const gray: Color; export const grey: Color; +export const brightRed: Color; +export const brightGreen: Color; +export const brightYellow: Color; +export const brightBlue: Color; +export const brightMagenta: Color; +export const brightCyan: Color; +export const brightWhite: Color; + +export const bgBrightRed: Color; +export const bgBrightGreen: Color; +export const bgBrightYellow: Color; +export const bgBrightBlue: Color; +export const bgBrightMagenta: Color; +export const bgBrightCyan: Color; +export const bgBrightWhite: Color; + export const bgBlack: Color; export const bgRed: Color; export const bgGreen: Color; @@ -106,6 +138,22 @@ declare global { white: string; gray: string; grey: string; + + brightRed: Color; + brightGreen: Color; + brightYellow: Color; + brightBlue: Color; + brightMagenta: Color; + brightCyan: Color; + brightWhite: Color; + + bgBrightRed: Color; + bgBrightGreen: Color; + bgBrightYellow: Color; + bgBrightBlue: Color; + bgBrightMagenta: Color; + bgBrightCyan: Color; + bgBrightWhite: Color; bgBlack: string; bgRed: string; diff --git a/safe.d.ts b/safe.d.ts index 2bafc27..0031f19 100644 --- a/safe.d.ts +++ b/safe.d.ts @@ -1,6 +1,6 @@ -// Type definitions for Colors.js 1.2 +// Type definitions for Colors.js 1.4 // Project: https://github.com/Marak/colors.js -// Definitions by: Bart van der Schoor , Staffan Eketorp +// Definitions by: Bart van der Schoor , Staffan Eketorp , Max Sirenev // Definitions: https://github.com/Marak/colors.js export const enabled: boolean; @@ -22,6 +22,22 @@ export function white(str: string): string; export function gray(str: string): string; export function grey(str: string): string; +export function brightRed(str: string): string; +export function brightGreen(str: string): string; +export function brightYellow(str: string): string; +export function brightBlue(str: string): string; +export function brightMagenta(str: string): string; +export function brightCyan(str: string): string; +export function brightWhite(str: string): string; + +export function bgBrightRed(str: string): string; +export function bgBrightGreen(str: string): string; +export function bgBrightYellow(str: string): string; +export function bgBrightBlue(str: string): string; +export function bgBrightMagenta(str: string): string; +export function bgBrightCyan(str: string): string; +export function bgBrightWhite(str: string): string; + export function bgBlack(str: string): string; export function bgRed(str: string): string; export function bgGreen(str: string): string;