asiffer / roughlify

Make your SVG rough

Home Page:https://asiffer.github.io/roughlify/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

roughlify

Make your SVG rough (❤️ rough.js).

Heroicons sample

Example with heroicons

Online app

For an online version of roughlify, visit https://asiffer.github.io/roughlify/!

Installation

yarn global add roughlify

Usage

You can either provide a SVG or HTML file (local or remote). In the HTML case, it will make all the svg rough.

roughlify --stroke "#3500d3" --fill "#3500d3" examples/truck.svg
Before After
truck.svg truck.svg

Currently roughlify follows the rough.js options through CLI flags.

About

Make your SVG rough

https://asiffer.github.io/roughlify/

License:MIT License


Languages

Language:TypeScript 93.3%Language:JavaScript 3.9%Language:CSS 2.3%Language:HTML 0.5%