Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Create a fonts CSS file with local resources from a Google fonts URL

License

Notifications You must be signed in to change notification settings

albertodonato/get-css-fonts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

get-css-fonts - Get local fonts from a CSS URL

Simple script to download a fonts CSS (typically from a Google fonts URL) and all font resources declared in it.

The resulting CSS will have font url()s updated to match the local path.

For example,

./get-css-fonts 'http://fonts.googleapis.com/css?family=Source+Code+Pro|Source+Sans+Pro:300,400'

will create a fonts.css files with font URLs pointing to a local fonts/ directory, where all font files are downloaded.

About

Create a fonts CSS file with local resources from a Google fonts URL

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages