{"id":13832268,"url":"https://github.com/primer/github-syntax-theme-generator","last_synced_at":"2025-07-09T16:34:49.592Z","repository":{"id":46799977,"uuid":"61481192","full_name":"primer/github-syntax-theme-generator","owner":"primer","description":"Uses a prettylights theme object to generate syntax themes for multiple platforms","archived":false,"fork":false,"pushed_at":"2021-03-22T04:37:13.000Z","size":73,"stargazers_count":158,"open_issues_count":5,"forks_count":33,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-11-03T17:43:17.381Z","etag":null,"topics":["github","syntax-theme"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/primer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-19T13:19:54.000Z","updated_at":"2024-10-14T13:45:49.000Z","dependencies_parsed_at":"2022-08-21T23:40:28.365Z","dependency_job_id":null,"html_url":"https://github.com/primer/github-syntax-theme-generator","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primer%2Fgithub-syntax-theme-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primer%2Fgithub-syntax-theme-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primer%2Fgithub-syntax-theme-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primer%2Fgithub-syntax-theme-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/primer","download_url":"https://codeload.github.com/primer/github-syntax-theme-generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225575261,"owners_count":17490731,"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":["github","syntax-theme"],"created_at":"2024-08-04T10:01:57.885Z","updated_at":"2024-11-20T14:30:40.674Z","avatar_url":"https://github.com/primer.png","language":"JavaScript","readme":"# GitHub syntax theme generators\n\n[![NPM version](https://img.shields.io/npm/v/github-syntax-theme-generator.svg)](https://www.npmjs.org/package/github-syntax-theme-generator)\n[![Build Status](https://travis-ci.org/primer/github-syntax-theme-generator.svg?branch=master)](https://travis-ci.org/primer/github-syntax-theme-generator)\n\n\u003e The GitHub syntax theme generator will generate themes for multiple platforms based on the GitHub syntax theme.\n\n## Install\n\nAll of the built themes in this package are distributed at separate repositories. It's recommended that you install one of these if you're looking for a specific theme.\n\n### CSS\n\nThe CSS syntax theme is based on a custom syntax highlighter in use by GitHub. The prefixes to the classes are `.pl-` for Prettylights.\n\n- [github-syntax-light](https://github.com/primer/github-syntax-light)\n- [github-syntax-dark](https://github.com/primer/github-syntax-dark)\n\n### [Codemirror][codemirror]\n\nThe [Codemirror][codemirror] syntax theme is generated by the [codemirror](./lib/adapters/codemirror.js) adapter.\n\n- [codemirror-github-light](https://github.com/primer/codemirror-github-light)\n- [codemirror-github-dark](https://github.com/primer/codemirror-github-dark)\n\n### [Atom][atom]\n\nThe [Atom][atom] theme is built by `apm` converted from the [TextMate][tm] theme.\n\n- [github-atom-light-syntax](https://github.com/primer/github-atom-light-syntax)\n- [github-atom-dark-syntax](https://github.com/primer/github-atom-dark-syntax)\n\n### [TextMate][tm]\n\nFor [TextMate][tm] or any other TextMate compatible editors, you can use the [github-textmate-theme](https://github.com/primer/github-textmate-theme).\n\n\n## Development\n\nClone this repository and after `npm install`. Run\n\n```\n$ npm run build\n```\n\nThis will run the script that will build all the themes. The themes are built from the `json` files in the `lib/themes` folder.\n\n## Adapters\n\nThe theme adapters are located in `./lib/adapters/` directory. Each one will complete a specific task to build that theme.\n\n## Contributing\n\nIf you would like to see the theme compiled for another platform, we welcome pull requests.\n\n## License\n\n[MIT](./LICENSE) \u0026copy; [GitHub](https://github.com/)\n\n[vscode]: https://code.visualstudio.com/\n[codemirror]: https://codemirror.net/\n[tm]: https://github.com/textmate/textmate\n[atom]: https://atom.io/\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimer%2Fgithub-syntax-theme-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprimer%2Fgithub-syntax-theme-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimer%2Fgithub-syntax-theme-generator/lists"}