do-fn
common functions used by I Learn Smarter project
Last updated 3 years ago by self_refactor .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install do-fn -g
SYNC missed versions from official npm registry.

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;
}

Current Tags

  • 0.0.4                                ...           latest (3 years ago)

2 Versions

  • 0.0.4                                ...           3 years ago
  • 0.0.3                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 2
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |