colorino 0.13.2 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +0,0 @@
1
- type ConsoleMethod = 'log' | 'info' | 'warn' | 'error' | 'trace' | 'debug';
2
- type LogLevel = ConsoleMethod & string;
3
- type Palette = Record<LogLevel, string>;
4
- type TerminalTheme = 'dark' | 'light' | 'unknown';
5
- type ThemeName = 'catppuccin-mocha' | 'catppuccin-latte' | 'dracula' | 'github-light';
6
- interface ColorinoOptions {
7
- disableWarnings?: boolean;
8
- theme?: TerminalTheme | ThemeName | 'auto';
9
- disableOscProbe?: boolean;
10
- maxDepth?: number;
11
- }
12
- interface Colorino {
13
- log(...args: unknown[]): void;
14
- info(...args: unknown[]): void;
15
- warn(...args: unknown[]): void;
16
- error(...args: unknown[]): void;
17
- debug(...args: unknown[]): void;
18
- trace(...args: unknown[]): void;
19
- colorize(text: string, hex: string): void;
20
- }
21
-
22
- declare const themePalettes: Record<ThemeName, Palette>;
23
-
24
- export { themePalettes as t };
25
- export type { ColorinoOptions as C, LogLevel as L, Palette as P, ThemeName as T, Colorino as a };
@@ -1,25 +0,0 @@
1
- type ConsoleMethod = 'log' | 'info' | 'warn' | 'error' | 'trace' | 'debug';
2
- type LogLevel = ConsoleMethod & string;
3
- type Palette = Record<LogLevel, string>;
4
- type TerminalTheme = 'dark' | 'light' | 'unknown';
5
- type ThemeName = 'catppuccin-mocha' | 'catppuccin-latte' | 'dracula' | 'github-light';
6
- interface ColorinoOptions {
7
- disableWarnings?: boolean;
8
- theme?: TerminalTheme | ThemeName | 'auto';
9
- disableOscProbe?: boolean;
10
- maxDepth?: number;
11
- }
12
- interface Colorino {
13
- log(...args: unknown[]): void;
14
- info(...args: unknown[]): void;
15
- warn(...args: unknown[]): void;
16
- error(...args: unknown[]): void;
17
- debug(...args: unknown[]): void;
18
- trace(...args: unknown[]): void;
19
- colorize(text: string, hex: string): void;
20
- }
21
-
22
- declare const themePalettes: Record<ThemeName, Palette>;
23
-
24
- export { themePalettes as t };
25
- export type { ColorinoOptions as C, LogLevel as L, Palette as P, ThemeName as T, Colorino as a };
@@ -1,25 +0,0 @@
1
- type ConsoleMethod = 'log' | 'info' | 'warn' | 'error' | 'trace' | 'debug';
2
- type LogLevel = ConsoleMethod & string;
3
- type Palette = Record<LogLevel, string>;
4
- type TerminalTheme = 'dark' | 'light' | 'unknown';
5
- type ThemeName = 'catppuccin-mocha' | 'catppuccin-latte' | 'dracula' | 'github-light';
6
- interface ColorinoOptions {
7
- disableWarnings?: boolean;
8
- theme?: TerminalTheme | ThemeName | 'auto';
9
- disableOscProbe?: boolean;
10
- maxDepth?: number;
11
- }
12
- interface Colorino {
13
- log(...args: unknown[]): void;
14
- info(...args: unknown[]): void;
15
- warn(...args: unknown[]): void;
16
- error(...args: unknown[]): void;
17
- debug(...args: unknown[]): void;
18
- trace(...args: unknown[]): void;
19
- colorize(text: string, hex: string): void;
20
- }
21
-
22
- declare const themePalettes: Record<ThemeName, Palette>;
23
-
24
- export { themePalettes as t };
25
- export type { ColorinoOptions as C, LogLevel as L, Palette as P, ThemeName as T, Colorino as a };