kill console.log
parent
30637948f7
commit
696e480794
15
build.ts
15
build.ts
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue