{"id":15041370,"url":"https://github.com/lassehaslev/sass-google-fonts","last_synced_at":"2025-08-09T03:17:32.284Z","repository":{"id":54659033,"uuid":"115125283","full_name":"LasseHaslev/sass-google-fonts","owner":"LasseHaslev","description":"Include google fonts in sass","archived":false,"fork":false,"pushed_at":"2021-02-05T10:40:03.000Z","size":44,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T20:17:06.283Z","etag":null,"topics":["css","fonts","google-fonts","helpers","sass","sass-mixins","syntax-sugar","web-fonts"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LasseHaslev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-22T15:02:29.000Z","updated_at":"2023-03-05T01:46:02.000Z","dependencies_parsed_at":"2022-08-13T23:10:12.631Z","dependency_job_id":null,"html_url":"https://github.com/LasseHaslev/sass-google-fonts","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2Fsass-google-fonts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2Fsass-google-fonts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2Fsass-google-fonts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2Fsass-google-fonts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LasseHaslev","download_url":"https://codeload.github.com/LasseHaslev/sass-google-fonts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248952358,"owners_count":21188427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","fonts","google-fonts","helpers","sass","sass-mixins","syntax-sugar","web-fonts"],"created_at":"2024-09-24T20:46:01.372Z","updated_at":"2025-04-14T20:17:12.822Z","avatar_url":"https://github.com/LasseHaslev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sass-google-fonts [![Build Status](https://travis-ci.org/LasseHaslev/sass-google-fonts.svg?branch=master)](https://travis-ci.org/LasseHaslev/sass-google-fonts)\n\u003e Include google fonts to your projects\n\n## Install\n\n```bash\nnpm install sass-google-fonts\n```\n\n## Usage\n\nFirst you need to import the project.\n\n```scss\n// Import the project\n@import \"node_modules/sass-google-fonts/src/GoogleFonts.scss\";\n```\n\nImport your [Google font](https://fonts.google.com/) to your project by entering the font name of the font.\n\n```scss\n// Include a google font\n@include google-font( 'Tintos' );\n\nhtml, body {\n    font-family: 'Tintos';\n}\n```\n\nYou can also specify the weight and language you want to include as follows.\n\n```scss\n// If you want to specify sizes of the font\n@include google-font( 'Tintos', '400,400i,700' );\n\n// Include languages of fonts\n@include google-font( 'Tintos', '400,400i,700', 'greek,latin-ext,vietnamese' );\n```\n\n## Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Run tests one time\nnpm run test\n\n# Run test driven development\nnpm run tdd\n```\n\nIf you add or change functionality, remember to add tests in [`test/`](https://github.com/LasseHaslev/sass-google-fonts/tree/master/test).\n\n### Publish to npm\n\n\u003e Make sure all tests are successful before publishing to NPM\n\n```bash\n# Set the version\nnpm version {type} # major/minor/patch\n\n# Publish to npm\nnpm publish\n\n# Publish to github\ngit push \u0026\u0026 git push --tags\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flassehaslev%2Fsass-google-fonts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flassehaslev%2Fsass-google-fonts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flassehaslev%2Fsass-google-fonts/lists"}