Move colors into utils file

This commit is contained in:
Rodrigo Ramírez Norambuena 2017-02-28 01:41:21 -03:00
parent e697ee72fa
commit ddff2b2982
3 changed files with 19 additions and 5 deletions

17
js/utils.js Normal file
View file

@ -0,0 +1,17 @@
/* exported Utils */
/* Magic Mirror
* Utils
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
var colors = require("colors/safe");
var Utils = {
colors: {
warn: colors.yellow
}
};
if (typeof module !== "undefined") {module.exports = Utils;}