fix package.json, refactor config, add bgcolor style config