source: trip-planner-front/node_modules/nanocolors/index.d.ts@ 6c1585f

Last change on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.3 KB
Line 
1export type Color = (text: string | number) => string
2
3export interface Colors {
4 isColorSupported: boolean
5 reset: Color
6 bold: Color
7 dim: Color
8 italic: Color
9 underline: Color
10 inverse: Color
11 hidden: Color
12 strikethrough: Color
13 black: Color
14 red: Color
15 green: Color
16 yellow: Color
17 blue: Color
18 magenta: Color
19 cyan: Color
20 white: Color
21 gray: Color
22 bgBlack: Color
23 bgRed: Color
24 bgGreen: Color
25 bgYellow: Color
26 bgBlue: Color
27 bgMagenta: Color
28 bgCyan: Color
29 bgWhite: Color
30}
31
32export const isColorSupported: boolean
33export function createColors(enabled?: boolean): Colors
34export const reset: Color
35export const bold: Color
36export const dim: Color
37export const italic: Color
38export const underline: Color
39export const inverse: Color
40export const hidden: Color
41export const strikethrough: Color
42export const black: Color
43export const red: Color
44export const green: Color
45export const yellow: Color
46export const blue: Color
47export const magenta: Color
48export const cyan: Color
49export const white: Color
50export const gray: Color
51export const bgBlack: Color
52export const bgRed: Color
53export const bgGreen: Color
54export const bgYellow: Color
55export const bgBlue: Color
56export const bgMagenta: Color
57export const bgCyan: Color
58export const bgWhite: Color
Note: See TracBrowser for help on using the repository browser.