0.3.2 • Published 8 years ago
@getstation/logo-generator v0.3.2
logo-generator
Getting Started
git clone git@github.com:getstation/logo-generator.git
cd logo-generator
yarn installUsage
Options
| Option | Description |
|---|---|
-data | path to a CSV file (default is ./data.csv) |
-name | name of the exported SVG |
-url | URL of the PNG logo (support local and online files) |
-clearbit | param for the Clearbit logo API |
-color | background color of the logo (HTML compliant) |
You can either pass a logo with -url or -clearbit.
See the Clearbit logo API: https://clearbit.com/logo.
You can also pass a CSV file which contains rows of name, url and color.
Examples
node lib/cli.js -color 'purple' -clearbit 'datadog.com' -name 'logo-datadog'
node lib/cli.js -color '#1F4087' -url './logo-atlassian.png'
node lib/cli.js -dataEverything will be exported in the exports/ folder.
Todo
- Be able to pass an SVG logo directly (and minify into a single path)
- Handle complex PNG files with multiple colors and gradients/opacity