{"id":13592695,"url":"https://github.com/bbatsov/zenburn-emacs","last_synced_at":"2025-05-14T14:07:54.203Z","repository":{"id":1078314,"uuid":"922251","full_name":"bbatsov/zenburn-emacs","owner":"bbatsov","description":"The Zenburn colour theme ported to Emacs","archived":false,"fork":false,"pushed_at":"2025-02-13T14:18:44.000Z","size":624,"stargazers_count":1021,"open_issues_count":41,"forks_count":267,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-04-11T20:44:20.388Z","etag":null,"topics":["emacs","emacs-lisp","emacs-theme","zenburn"],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbatsov.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"bbatsov","patreon":"bbatsov","custom":"https://www.paypal.me/bbatsov"}},"created_at":"2010-09-19T09:21:41.000Z","updated_at":"2025-03-28T13:39:56.000Z","dependencies_parsed_at":"2024-01-23T21:31:02.008Z","dependency_job_id":"9c9be4fc-eeb6-421c-aa25-355fff1ae2c0","html_url":"https://github.com/bbatsov/zenburn-emacs","commit_stats":{"total_commits":440,"total_committers":114,"mean_commits":"3.8596491228070176","dds":0.8522727272727273,"last_synced_commit":"373a07f99ee595dee83b6cee8b6841b5d1c01e38"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbatsov%2Fzenburn-emacs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbatsov%2Fzenburn-emacs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbatsov%2Fzenburn-emacs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbatsov%2Fzenburn-emacs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbatsov","download_url":"https://codeload.github.com/bbatsov/zenburn-emacs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254159194,"owners_count":22024558,"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":["emacs","emacs-lisp","emacs-theme","zenburn"],"created_at":"2024-08-01T16:01:12.172Z","updated_at":"2025-05-14T14:07:54.176Z","avatar_url":"https://github.com/bbatsov.png","language":"Emacs Lisp","funding_links":["https://github.com/sponsors/bbatsov","https://patreon.com/bbatsov","https://www.paypal.me/bbatsov","https://ko-fi.com/C0C2204SR","https://www.patreon.com/bbatsov","https://ko-fi.com/bbatsov"],"categories":["Emacs Lisp"],"sub_categories":[],"readme":"# zenburn-theme for Emacs\n\n[![License GPL 3][badge-license]](http://www.gnu.org/licenses/gpl-3.0.txt)\n[![MELPA](http://melpa.org/packages/zenburn-theme-badge.svg)](http://melpa.org/#/zenburn-theme)\n[![MELPA Stable](http://stable.melpa.org/packages/zenburn-theme-badge.svg)](http://stable.melpa.org/#/zenburn-theme)\n\n## About\n\nZenburn for Emacs is a direct port of the popular\n[Zenburn](http://kippura.org/zenburnpage/) theme for vim,\ndeveloped by [Jani Nurminen](https://github.com/jnurmine). It's my personal belief (and\nthat of its many users I presume) that it's one of the best low\ncontrast color themes out there and that it is exceptionally easy on\nthe eyes.\n\nThis theme uses the \"new\"[^1] built-in theming support available starting with\nEmacs 24.1.\n\n[^1]: It used to be new in 2010 when I created this package.\n\n![Overview screenshot](screenshots/overview.png)\n\n------------\n[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/C0C2204SR)\n[![Patreon](https://img.shields.io/badge/patreon-donate-orange.svg)](https://www.patreon.com/bbatsov)\n\nYou can support the development of Zenburn for Emacs via\n[GitHub Sponsors](https://github.com/sponsors/bbatsov),\n[ko-fi](https://ko-fi.com/bbatsov),\n[PayPal](https://www.paypal.me/bbatsov) and\n[Patreon](https://www.patreon.com/bbatsov).\n\n## Installation\n\n### Manual\n\nDownload `zenburn-theme.el` to the directory `~/.emacs.d/themes/`. Add this to your\n`.emacs` (or `init.el`):\n\n```lisp\n(add-to-list 'custom-theme-load-path \"~/.emacs.d/themes/\")\n```\n\nNow you can load the theme with the interactive function `load-theme` like this:\n\n`M-x load-theme RET zenburn`\n\n### Package.el\n\nZenburn is available in [NonGNU ELPA](https://elpa.nongnu.org/), [MELPA Stable](http://stable.melpa.org)\nand [MELPA](http://melpa.org).\n\nYou can install `zenburn` with the following command:\n\n`M-x package-install zenburn-theme`\n\nTo load it automatically on Emacs startup add this to your init file:\n\n```lisp\n(load-theme 'zenburn t)\n```\n\nIf you prefer to use `use-package` just add the following:\n\n``` emacs-lisp\n(use-package zenburn-theme\n  :config\n  (load-theme 'zenburn t))\n```\n\n### Emacs Prelude\n\nZenburn for Emacs is already bundled into\n[Emacs Prelude](https://github.com/bbatsov/prelude). If you're a\nPrelude user - you're probably already using Zenburn, since it's\nPrelude's default color theme. You can load Zenburn at any time by\n`M-x load-theme zenburn`.\n\n### Debian and Ubuntu\n\nUsers of Debian 9 or later or Ubuntu 16.10 or later may simply\n`apt-get install elpa-zenburn-theme`.\n\n## Customization\n\n### Custom faces\n\nIf want to change some faces you can do it\nwith `custom-theme-set-faces` or `use-package`. Here's an example:\n\n``` emacs-lisp\n(use-package zenburn-theme\n  :preface\n  (setq my/zenburn-colors-alist\n        '((fg . \"#DCDCCC\") (bg . \"#1C1C1C\") (cyan . \"#93E0E3\")))\n  :custom-face\n  (region ((t (:background ,(alist-get my/zenburn-colors-alist 'cyan)))))\n  :config\n  (load-theme 'zenburn t))\n```\n\nSee [this article](https://emacsredux.com/blog/2025/02/13/customizing-color-themes/) for more details.\n\n### Custom colors\n\nIf you'd like to tweak the theme by changing just a few colors, you can\ndo so by defining new values in the `zenburn-override-colors-alist`\nvariable before loading the theme.\n\nFor example, to customize just the lighter background colors, you could add\nto your init file:\n\n```elisp\n(setq zenburn-override-colors-alist\n      '((\"zenburn-bg+05\" . \"#282828\")\n        (\"zenburn-bg+1\"  . \"#2F2F2F\")\n        (\"zenburn-bg+2\"  . \"#3F3F3F\")\n        (\"zenburn-bg+3\"  . \"#4F4F4F\")))\n(load-theme 'zenburn t)\n```\n\nTo see the full list of color names you can override, consult the\n`zenburn-theme.el` source file.\n\n### Scaled headings\n\nThe theme supports scaling the font size for some headings and titles as well\nas using a variable-pitch font for those. To enable this, use the following\nsettings **before** loading `zenburn-theme`:\n\n```elisp\n;; use variable-pitch fonts for some headings and titles\n(setq zenburn-use-variable-pitch t)\n\n;; scale headings in org-mode\n(setq zenburn-scale-org-headlines t)\n\n;; scale headings in outline-mode\n(setq zenburn-scale-outline-headlines t)\n```\n\nThe screenshot above shows the default setting with no scaled or\nvariable-pitch fonts. With scaled headings and variable-pitch fonts it looks\nlike this:\n\n![Scaled screenshot](screenshots/scaled.png)\n\n## FAQ\n\n### Wrong colors in the terminal Emacs version\n\nIf your Emacs looks considerably uglier in a terminal (compared to the\nGUI version) try adding this to your `.bashrc` or `.zshrc`:\n\n```bash\nexport TERM=xterm-256color\n```\n\nSource the `.bashrc` (or `.zshrc`) file and start Emacs again.\n\n## Bugs \u0026 Improvements\n\nPlease, report any problems that you find on the project's integrated\nissue tracker. If you've added some improvements and you want them\nincluded upstream don't hesitate to send me a patch or even better - a\nGitHub pull request. [These](https://github.com/bbatsov/zenburn-emacs/contributors)\ncontributors have done so.\n\n## Donate\n\nYou can support my work on Zenburn and [all my other OSS projects](https://batsov.com/projects)\nvia the following platforms:\n\n* [GitHub Sponsors](https://github.com/sponsors/bbatsov)\n* [ko-fi](https://ko-fi.com/bbatsov)\n* [PayPal](https://www.paypal.me/bbatsov)\n* [Patreon](https://www.patreon.com/bbatsov)\n\n## Contributors\n\nHere's a [list](https://github.com/bbatsov/zenburn-emacs/contributors) of all the people who have contributed to the\ndevelopment of Zenburn for Emacs.\n\n## Changelog\n\nA fairly extensive changelog is available [here](CHANGELOG.md).\n\n## License\n\nCopyright © 2010-2024 Bozhidar Batsov and\n[contributors](https://github.com/bbatsov/zenburn-emacs/contributors).\n\nDistributed under the GNU General Public License, version 3\n\n[badge-license]: https://img.shields.io/badge/license-GPL_3-green.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbatsov%2Fzenburn-emacs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbatsov%2Fzenburn-emacs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbatsov%2Fzenburn-emacs/lists"}