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';
|
||||
|
||||
const url = 'https://donate.biesbjerg.com';
|
||||
const text = `
|
||||
If this tool saves you time, please consider making a
|
||||
donation towards the continued maintainence and development:
|
||||
const link = terminalLink(url, url);
|
||||
const message = `
|
||||
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,
|
||||
margin: 0,
|
||||
borderColor: 'yellow',
|
||||
backgroundColor: 'black',
|
||||
dimBorder: true
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user