node package manager

selfrefactor

selfrefactor

Small useful functions used by ilearnsmarter.com project

TODO

  • lint a folder

  • watch and lint folder

colors

Generate colors gradient

node colors sourceFilePath outputFilePath

source as JSON

{
    "light":{
        "min":"#D8E6E7",
        "max":"#e7f6e8"
    },
    "dark": {
        "min": "#171e25",
        "max": "#03111c"
    }
}

output as JSON

:root{
--light: #d8e6e7;
--light-second: #dae8e7;
--light-third: #ddebe7;
--light-fourth: #dfeee7;
--light-fifth: #e2f0e7;
--light-sixth: #e4f3e7;
--light-seventh: #e7f6e8;
--dark: #171e25;
--dark-second: #131b23;
--dark-third: #101922;
--dark-fourth: #0d1720;
--dark-fifth: #09151f;
--dark-sixth: #06131d;
--dark-seventh: #03111c;
}