kill console.log

This commit is contained in:
Zynh0722 2023-12-27 15:36:30 -08:00
parent 30637948f7
commit 696e480794

View file

@ -10,21 +10,6 @@ function isUpperCase(str: string) {
return str !== str.toLowerCase() && str === str.toUpperCase(); return str !== str.toLowerCase() && str === str.toUpperCase();
} }
console.log(`
${Object.keys(rp.roleColors)
.map(
(color) =>
`$${color
.split("")
.map((c) => (isUpperCase(c) ? "-" + c.toLowerCase() : c))
.join("")}: #${
/* @ts-ignore I hate typescript */
rp.roleColors[color]["main"].hex
};`,
)
.join("\n")}
`);
const builder = (flavor: Flavor, accent: string) => ` const builder = (flavor: Flavor, accent: string) => `
${Object.keys(rp.roleColors) ${Object.keys(rp.roleColors)
.map( .map(