fix donation message colors
This commit is contained in:
parent
50fd3ae9e2
commit
7eefd6c8d3
@ -3,17 +3,15 @@ import * as boxen from 'boxen';
|
|||||||
import * as terminalLink from 'terminal-link';
|
import * as terminalLink from 'terminal-link';
|
||||||
|
|
||||||
const url = 'https://donate.biesbjerg.com';
|
const url = 'https://donate.biesbjerg.com';
|
||||||
const text = `
|
const link = terminalLink(url, url);
|
||||||
If this tool saves you time, please consider making a
|
const message = `
|
||||||
donation towards the continued maintainence and development:
|
If this tool saves you or your company time, please consider making a
|
||||||
|
donation to support my work and the continued maintainence and development:
|
||||||
|
|
||||||
${yellow(terminalLink(url, url))}
|
${yellow(link)}`;
|
||||||
`;
|
|
||||||
|
|
||||||
export const donateMessage = boxen(text.trim(), {
|
export const donateMessage = boxen(message.trim(), {
|
||||||
padding: 1,
|
padding: 1,
|
||||||
margin: 0,
|
margin: 0,
|
||||||
borderColor: 'yellow',
|
|
||||||
backgroundColor: 'black',
|
|
||||||
dimBorder: true
|
dimBorder: true
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user