UNPKG

@cmtlyt/logger

Version:
20 lines (19 loc) 615 B
import type { Theme, WebConsoleAdapterCtx } from './types'; export declare function mergeStyle(theme: Theme, info: ReturnType<WebConsoleAdapterCtx['options']['customStyle']>): { theme: { primary: string; tagColor: string; titleColor: string; }; baseStyle: { borderRadiusSize: string; paddingBlock: string; paddingInline: string; lineWidth: string; fontSize: string; }; }; export declare function messageTransform(type: string, title: string, messages: any[], ctx: WebConsoleAdapterCtx): { message: string; styles: string[]; };