Skip to content

fn-r/svg-assets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

SVG Assets

AboutTech UsedOptimizationsSetupHow To

About

Quickly edit all svg assets in this repo.

svg-assets

Tech Used

PYTHON BADGE

Optimizations

Instead of user having to edit the python script. I used regular expression / regex to find existing current properties value. All user need to do is just run the script.

Setup

  1. Make sure Git is already setup and configured
    $ git config --global user.name "Your Name"
    $ git config --global user.email "yourname@example.com"
  2. Python 3.5 and above is needed to run the script. You can check Python 3 is installed and its version with the following command
    # Windows
    $ python --version
    
    # Mac / Linux
    $ python3 --version
  3. If it is not installed, you can install it with the following commands
    $ sudo apt-get update
    $ sudo apt-get install python3
  4. Fork and clone this repo

How To

  1. cd into svg-assets folder
  2. Run the script in the terminal using the following command:
    # Windows
    $ python svg-manipulator.py
    
    # Mac / Linux
    $ python3 svg-manipulator.py
  3. Enter new width
  4. Enter new height
  5. Enter new fill color

About

Quickly edit all svg assets in this repo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages