{"id":15705069,"url":"https://github.com/mssola/soria","last_synced_at":"2026-01-11T02:52:44.239Z","repository":{"id":141820979,"uuid":"61549991","full_name":"mssola/soria","owner":"mssola","description":"A xoria256 theme with some colors from openSUSE","archived":false,"fork":false,"pushed_at":"2024-06-03T09:03:54.000Z","size":696,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-05T17:12:12.148Z","etag":null,"topics":["dark-theme","emacs-theme","gnu-emacs","opensuse","xoria256"],"latest_commit_sha":null,"homepage":null,"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/mssola.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.org","contributing":"CONTRIBUTING.org","funding":null,"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}},"created_at":"2016-06-20T13:32:46.000Z","updated_at":"2024-06-03T09:03:57.000Z","dependencies_parsed_at":"2024-11-15T01:30:57.370Z","dependency_job_id":null,"html_url":"https://github.com/mssola/soria","commit_stats":{"total_commits":99,"total_committers":2,"mean_commits":49.5,"dds":0.0505050505050505,"last_synced_commit":"c6dbabc1b4f956e19c7e80f16e69f3d6c57b84b4"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mssola%2Fsoria","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mssola%2Fsoria/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mssola%2Fsoria/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mssola%2Fsoria/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mssola","download_url":"https://codeload.github.com/mssola/soria/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246336524,"owners_count":20761067,"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":["dark-theme","emacs-theme","gnu-emacs","opensuse","xoria256"],"created_at":"2024-10-03T20:14:42.110Z","updated_at":"2026-01-11T02:52:44.233Z","avatar_url":"https://github.com/mssola.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.gnu.org/software/emacs/\"\u003e\u003cimg alt=\"GNU Emacs supported versions\" src=\"https://img.shields.io/badge/GNU%20Emacs-25.1%2B-875f87.svg\"/\u003e\u003ca/\u003e\n  \u003ca href=\"https://melpa.org/#/soria-theme\"\u003e\u003cimg alt=\"MELPA\" src=\"https://melpa.org/packages/soria-theme-badge.svg\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://stable.melpa.org/#/soria-theme\"\u003e\u003cimg alt=\"MELPA Stable\" src=\"https://stable.melpa.org/packages/soria-theme-badge.svg\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/mssola/soria/actions?query=workflow%3ACI\" title=\"CI status for the main branch\"\u003e\u003cimg src=\"https://github.com/mssola/soria/workflows/CI/badge.svg\" alt=\"Build Status for main branch\" /\u003e\u003c/a\u003e\n  \u003ca href=\"http://www.gnu.org/licenses/gpl-3.0.txt\" rel=\"nofollow\"\u003e\u003cimg alt=\"License GPL 3\" src=\"https://img.shields.io/badge/license-GPL_3-blue.svg\" style=\"max-width:100%;\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n**Soria** is a color theme which mixes:\n\n- [xoria256](http://www.vim.org/scripts/script.php?script_id=2140): a color\n  theme by Dmitry Zotikov, originally for Vim. I did not do the initial porting\n  from Vim to GNU Emacs, I took it from\n  [suxue](https://github.com/suxue/xoria256-emacs).\n- openSUSE: I took some colors from [openSUSE's Brand Guidelines](http://opensuse.github.io/branding-guidelines/).\n\nYou can get a glimpse of this color theme on this screenshot (and you can check\nmore screenshots on this [project's\nwiki](https://github.com/mssola/soria/wiki)):\n\n![Overview screenshot](https://raw.githubusercontent.com/wiki/mssola/soria/screenshots/linux.png)\n\n## Installation\n\n### MELPA (recommended)\n\nThis theme is available from [MELPA](https://melpa.org/#/soria-theme) and [MELPA\nstable](https://stable.melpa.org/#/soria-theme). Thus, you can install this\ntheme like so:\n\n`M-x package-install RET soria-theme`\n\nTo load it automatically on GNU Emacs startup add this to your init file:\n\n```elisp\n(load-theme 'soria t)\n```\n\nYou can also use [use-package](https://github.com/jwiegley/use-package) for\nthis, with a configuration like:\n\n```elisp\n(use-package soria-theme\n  :ensure t\n  :config\n  (load-theme 'soria t)\n\n  (with-eval-after-load 'treemacs\n    (require 'soria-theme-tree)\n    (soria-theme-tree-config))\n\n  (dolist (lang-hook '(ruby-mode-hook\n                       php-mode-hook\n                       perl-mode-hook\n                       emacs-lisp-mode-hook))\n    (add-hook lang-hook 'soria-theme-purple-identifiers)))\n```\n\n### Manual\n\nSimply download the `soria-theme.el` file into your `~/.emacs.d/` and then load\nit like so:\n\n`M-x load-theme RET soria`\n\nIf you want to move this file into another directory, make sure that this\ndirectory is inside of the `custom-theme-load-path` list. You can do this by\nrunning the following lisp code:\n\n```elisp\n(add-to-list 'custom-theme-load-path \"/home/user/my/themes/directory\")\n```\n\n### openSUSE\n\nI have also created a package inside of [my personal OBS\nproject](https://build.opensuse.org/package/show/home:mssola/soria-theme). You\ncan add the repository for your openSUSE distribution and install it like so:\n\n```\n# This is the openSUSE Leap 15.3 repository. Check my home project for more openSUSE distributions.\n$ sudo zypper ar https://download.opensuse.org/repositories/home:/mssola/openSUSE_Leap_15.3/ home:mssola\n$ sudo zypper ref home:mssola\n$ sudo zypper install soria-theme\n```\n\nNote that this RPM installs the relevant file in\n`/usr/share/emacs/site-lisp/themes`. You have to make sure that this directory\nis inside of the `custom-theme-load-path` list. You can do this by running the\nfollowing lisp code:\n\n```elisp\n(add-to-list 'custom-theme-load-path \"/usr/share/emacs/site-lisp/themes\")\n```\n\nThen you can load this theme as usual:\n\n`M-x load-theme RET soria`\n\n## Customization\n\n### `treemacs` support\n\nThis color theme has support for the `treemacs` package, but in order to enable it you have to call the `soria-theme-tree-config` function. You can do this like so:\n\n```elisp\n(with-eval-after-load 'treemacs\n  (require 'soria-theme-tree)\n  (soria-theme-tree-config))\n```\n\n### soria-theme-hide-helm-header\n\nThis color theme defines the `soria` group, which in turn has only one\nconfiguration option: `soria-theme-hide-helm-header`.\n\nThe Helm package in combination with Projectile shows a header that in my humble\nopinion is quite useless and it's distracting. For this reason, this header is\nhidden by default. If you set it to false, then you'll see the header with the\nsame colors as the status line.\n\n### soria-theme-purple-identifiers\n\nThis theme also provides one interactive function that can be used as a hook:\n`soria-theme-purple-identifiers`.\n\nAs a reminder, this color theme is a port from Vim, and Vim and GNU Emacs have\nsome different takes on function identifiers. As such, the original Vim theme\ndefines identifiers as purple, but only method definitions in Ruby, Perl and PHP\n(languages that I've used with this theme, there might be more) were highlighted\nthis way, but that wasn't the case for C, C++ or Go. This is certainly a bug in\nVim, but I got used to it, and when doing this port I could notice this a lot.\nFor this reason, by default this color theme for GNU Emacs defines function\nidentifiers as white, but it provides this function so in other languages can be\ndrawn in purple.\n\nYou may turn identifiers into purple with a code like this:\n\n```elisp\n(dolist (lang-hook '(ruby-mode-hook\n                     php-mode-hook\n                     perl-mode-hook\n                     emacs-lisp-mode-hook))\n  (add-hook lang-hook 'soria-theme-purple-identifiers))\n```\n\n## Contributing\n\nDo you want to contribute with code, or to report an issue you are facing? Read\nthe [CONTRIBUTING.org](./CONTRIBUTING.org) file.\n\n## [Changelog](https://pbs.twimg.com/media/DJDYCcLXcAA_eIo?format=jpg\u0026name=small)\n\nRead the [CHANGELOG.org](./CHANGELOG.org) file.\n\n## License\n\n```\nCopyright (C) 2016-Ω Miquel Sabaté Solà \u003cmikisabate@gmail.com\u003e\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n```\n\nYou can check the `soria-theme.el` and the `soria-theme-tree.el` files for\nfurther acknowledgements.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmssola%2Fsoria","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmssola%2Fsoria","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmssola%2Fsoria/lists"}