{"id":24408641,"url":"https://github.com/jenstornell/perfect-text-format","last_synced_at":"2026-04-29T02:04:07.951Z","repository":{"id":217043556,"uuid":"178148005","full_name":"jenstornell/perfect-text-format","owner":"jenstornell","description":"This is a serious attempt to create the perfect text format for readability","archived":false,"fork":false,"pushed_at":"2019-04-04T08:54:52.000Z","size":1357,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T05:52:16.748Z","etag":null,"topics":["css","font-family","font-size","format","formatted-text","formatting","line-height","text"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/jenstornell.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-03-28T07:18:12.000Z","updated_at":"2019-04-04T08:54:54.000Z","dependencies_parsed_at":"2024-01-14T08:12:20.325Z","dependency_job_id":"c8bf1376-820d-4358-9a04-6c441a6a9b84","html_url":"https://github.com/jenstornell/perfect-text-format","commit_stats":null,"previous_names":["jenstornell/perfect-text-format"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenstornell%2Fperfect-text-format","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenstornell%2Fperfect-text-format/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenstornell%2Fperfect-text-format/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenstornell%2Fperfect-text-format/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jenstornell","download_url":"https://codeload.github.com/jenstornell/perfect-text-format/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243375485,"owners_count":20280869,"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","font-family","font-size","format","formatted-text","formatting","line-height","text"],"created_at":"2025-01-20T05:52:27.869Z","updated_at":"2025-12-29T02:28:47.535Z","avatar_url":"https://github.com/jenstornell.png","language":"HTML","funding_links":["https://www.paypal.me/DevoneraAB"],"categories":[],"sub_categories":[],"readme":"# Perfect text format\n\n*Version 1.1*\n\nThis is a serious attempt to create the perfect text format for readability.\n\n- [Demo - JSFiddle](https://jsfiddle.net/w4hftLpm/1/)\n- [Demo - JS Bin](https://jsbin.com/hoguqodebo/1/edit?output) (works on mobile)\n\n![Screenshot](screenshot.png)\n\n## In short\n\n- Neutral feeling, not branded in any way.\n- The most common content tags are supported.\n- Perfect balanced colors for eye comfort.\n- Maximum readability because of perfect font families, letter spacings and line heights.\n- Maximum scanability because of perfect spaces between elements (paddings/margins).\n- Maximum responsiveness because of fluid font sizes.\n\nIf you disagree, [add an issue](https://github.com/jenstornell/perfect-text-format/issues/new).\n\n## Usage\n\n1. Download the  [css file](https://raw.githubusercontent.com/jenstornell/perfect-text-format/master/assets/css/dist/style.min.css)\n1. Add `\u003clink rel=\"stylesheet\" href=\"assets/css/dist/style.min.css\"\u003e` to your head.\n1. Create `\u003cdiv class=\"format-text\"\u003e\u003c/div\u003e` and add some content.\n1. Done!\n\nIf it does not work as expected, your other styles are probably overwriting the styles of this file.\n\n## Tags supported\n\n```text\na b blockquote br cite code i img em h1 h2 h3 h4\nli ol p pre strong table td th ul\n```\n\n## FAQ\n\n### It there a perfect text format?\n\nIt's probably debatable, but I think it is. Take away everything that has to do with branding. What do we have left? Readability!\n\n- Is a font size of 16px more readable than 10px? **Yes!**\n- Is the color #333 more readable than #ccc? **Yes!**\n\nFine tune every little value like this and we will eventually get the perfect text format. For readability that is, not for brandning.\n\n### Why use Google fonts?\n\n- They are common and free\n- They are beautiful and are placed on a fast CDN\n- It's possible to download them and host them yourself if needed\n- I don't need to host the fonts with the repo\n\n### Why not use Bootstrap or other frameworks?\n\n[Bootstrap](https://getbootstrap.com/) and other frameworks has a lot of stuff. Most of the things is not needed. This repo only covers the things that has to do with the text content.\n\n## Libraries used\n\n- [Boom Lorem Ipsum](https://www.boom-online.co.uk/lorem-ipsum/)\n- [Colors - The New Defaults](https://clrs.cc/)\n\n## Donate\n\nDonate to [DevoneraAB](https://www.paypal.me/DevoneraAB) if you want.\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenstornell%2Fperfect-text-format","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjenstornell%2Fperfect-text-format","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenstornell%2Fperfect-text-format/lists"}