Set Active Theme
you can add new themes after initilizing the themy by addTheme method
const themy = require('themy');
const themes = {
coolTheme: {
// cool colors
}
awesomeTheme: {
// awesome colors
}
};
const theme = new themy(themes);
theme.setTheme('awesomeTheme');
note
when using setTheme() , you must pass a string as argument