console-toolkit
Version:
Toolkit to produce a fancy console output (boxes, tables, charts, colors).
16 lines (11 loc) • 646 B
JavaScript
import {populateTheme} from '../utils.js';
export const lineTheme = {};
const table11 = {t: '┌┬┐', m: '├┼┤', b: '└┴┘', v: '│││', h: '───'},
table12 = {t: '┎┰┒', m: '┠╂┨', b: '┖┸┚', v: '┃┃┃', h: '───'},
table21 = {t: '┍┯┑', m: '┝┿┥', b: '┕┷┙', v: '│││', h: '━━━'},
table22 = {t: '┏┳┓', m: '┣╋┫', b: '┗┻┛', v: '┃┃┃', h: '━━━'};
populateTheme(lineTheme, table11, 1, 1);
populateTheme(lineTheme, table12, 1, 2);
populateTheme(lineTheme, table21, 2, 1);
populateTheme(lineTheme, table22, 2, 2);
export default lineTheme;