helpful-functions
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "helpful-functions", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/", |
@@ -20,4 +20,32 @@ /** | ||
/** | ||
* 10 good colors that work together | ||
*/ | ||
export let scheme1 = [ | ||
"#001219", | ||
"#005f73", | ||
"#0a9396", | ||
"#94d2bd", | ||
"#e9d8a6", | ||
"#ee9b00", | ||
"#ca6702", | ||
"#bb3e03", | ||
"#ae2012", | ||
"#9b2226", | ||
]; | ||
/** | ||
* This prints the string with the colors in the console | ||
* | ||
* @param array of colors | ||
* | ||
*/ | ||
export const logColors = (arrayOfColors: string[]): void => { | ||
arrayOfColors.forEach((color) => { | ||
console.log(`%c ${color}`, `color: ${color}`); | ||
}); | ||
}; | ||
// const main = () => { | ||
// }; | ||
// main(); |
10548
148