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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ungog-0.0.2.tar.gz
(2.4 kB
view details)
File details
Details for the file ungog-0.0.2.tar.gz.
File metadata
- Download URL: ungog-0.0.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f316cfab9c0c42bfb2bd31d0b13fa1897039026940f48bb1c073f5e2c1f958f
|
|
| MD5 |
9a583312ce613571f4aa27eae5fcecbc
|
|
| BLAKE2b-256 |
33f2467ca25155d3eedf4ededb2fefe7dd316b0d9cd0198cda1b81590cf33007
|