Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

ungoogleify your css

Project description

ungoogleify your css

install

pip3 install ungog

usage

ungogmycss main.css
[+] got https://fonts.googleapis.com/css?family=Gruppo|Scope+One
[+] got https://fonts.gstatic.com/s/gruppo/v7/uU5IFiQZ8WKPhrRfLBLURw.ttf
[+] replacing from:   src: local('Gruppo'), url(https://fonts.gstatic.com/s/gruppo/v7/uU5IFiQZ8WKPhrRfLBLURw.ttf) format('truetype');
[+] replacing to:     src: local('Gruppo'), url('fonts/gruppo.ttf') format('truetype');
[+] got https://fonts.gstatic.com/s/scopeone/v2/_52Fm41u4u2R3EEH0A9bn6CWcynf_cDxXwCLxiixG1c.ttf
[+] replacing from:   src: local('Scope One'), local('ScopeOne-Regular'),
    url(https://fonts.gstatic.com/s/scopeone/v2/_52Fm41u4u2R3EEH0A9bn6CWcynf_cDxXwCLxiixG1c.ttf)
    format('truetype');
[+] replacing to:     src: local('Scope One'), local('ScopeOne-Regular'),
    url('fonts/scope_one.ttf') format('truetype');
[+] done

and then you should be ready to replace your original file with main.css.new. do not forget to include the new fonts/ folder into your local assets.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ungog, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size ungog-0.0.2.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page