node-styl-theme
v0.0.2
Published
theming tool for with node-styl and node-styl-rgb
Downloads
7
Maintainers
Readme
node-styl-theme
theming tool for therminal with node-styl and node-styl-rgb.
Exemple
const Theme= require('node-styl-theme');
let theme=Theme.c16m.get({
$alias1:[255,0,0],
exemple1:{
front:'alias1',
back:[0,0,255]
}
});
let theme16=Theme.c16.get({
$alias1:'green',
exemple1:{
front:'alias1',
back:'red',
style:['bold']
}
});
console.log("___ "+theme.exemple1('world'));
console.log("___ "+theme16.exemple1('world'));
let themejson=Theme.c16m.load('./test-theme.json');
console.log("___ "+themejson.exemple1('world'));
with test-theme.json as
{
"$alias1":[255,0,0],
"exemple1":{
"front":"alias1",
"back":[0,0,255]
}
}