{"id":17996561,"url":"https://github.com/maxbeatty/goldentype","last_synced_at":"2025-08-03T00:08:22.811Z","repository":{"id":2241432,"uuid":"3195797","full_name":"maxbeatty/goldentype","owner":"maxbeatty","description":"compass extension for golden ratio typography","archived":false,"fork":false,"pushed_at":"2012-05-27T20:53:10.000Z","size":170,"stargazers_count":15,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-10T10:55:32.814Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/maxbeatty.png","metadata":{"files":{"readme":"README.mkdn","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":"2012-01-17T01:20:09.000Z","updated_at":"2021-12-11T20:01:02.000Z","dependencies_parsed_at":"2022-08-20T22:30:40.659Z","dependency_job_id":null,"html_url":"https://github.com/maxbeatty/goldentype","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxbeatty/goldentype","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbeatty%2Fgoldentype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbeatty%2Fgoldentype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbeatty%2Fgoldentype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbeatty%2Fgoldentype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxbeatty","download_url":"https://codeload.github.com/maxbeatty/goldentype/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbeatty%2Fgoldentype/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267410397,"owners_count":24082810,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-29T21:14:59.472Z","updated_at":"2025-08-03T00:08:22.755Z","avatar_url":"https://github.com/maxbeatty.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Compass Golden Type\n====================\n\nGolden Type applies [\"Golden Ratio Typography\"](http://www.pearsonified.com/2011/12/golden-ratio-typography.php) outlined by [@pearsonified](https://github.com/pearsonified). This Compass plugin will generate the values [his calculator does](http://www.pearsonified.com/typography/).\n\n**As of Compass [0.12.rc.2 (03/11/2012)](http://compass-style.org/CHANGELOG/), `sqrt` is included in the [Math Helpers](http://compass-style.org/reference/compass/helpers/math/#sqrt) which makes installing this plugin unecessary.**\n\nYou can now use the mixins as-is from the [core](https://github.com/maxbeatty/goldentype/blob/master/stylesheets/goldentype/core.sass) and [adjusted](https://github.com/maxbeatty/goldentype/blob/master/stylesheets/goldentype/adjusted.sass) files, but I'm leaving up the documentation for anyone who hasn't or doesn't upgrade to \u003e0.12.rc.2.\n\n##Installation\n\n###From the command line:\n\n    (sudo) gem install goldentype\n\n###Add to a project:\n\n1. add to your config.rb\n    \n    `require 'goldentype'`\n    \n2. install via command line\n    \n    `compass install goldentype`\n    \n3. import to sass/scss file\n    \n    `@import goldentype`\n\n\n##Available Defaults and Mixins\n\n###Defaults:\n\n####[_golden-typography.sass](https://github.com/maxbeatty/goldentype/blob/master/templates/project/_golden-typography.sass)\n\n    @import goldentype\n\n    $base-font-size: 16px\n    $content-width: 550px\n\n    .goldentype\n      +golden-text($base-font-size, $content-width)\n\n    .goldentype-adjusted\n      +golden-text-adjusted($base-font-size, $content-width)\n\n###Mixins:\n\n####Arguments\n\n**$font-size**: Set to 0 if unknown or if you want to calculate based on content width. If no units are given, pixels will be used by default. Defaults to `16px`..\n\n**$line-width**: Can be ommitted if unknown or if you want to calculate based on line height. If no units are given, pixels will be used by default. Defaults to `550px`.\n\n####[Golden Type using Phi](https://github.com/maxbeatty/goldentype/blob/master/stylesheets/goldentype/core.sass)\n\n    +golden-text($font-size, $line-width)\n\n####[Adjusted Golden Type](https://github.com/maxbeatty/goldentype/blob/master/stylesheets/goldentype/adjusted.sass)\n\nUses adjusted ratio as outlined in article.\n\n    +golden-text-adjusted($font-size, $line-width)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxbeatty%2Fgoldentype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxbeatty%2Fgoldentype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxbeatty%2Fgoldentype/lists"}