Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/n3mo/cyberpunk-theme.el
Cyberpunk theme for emacs built-in color theme support
https://github.com/n3mo/cyberpunk-theme.el
Last synced: 3 months ago
JSON representation
Cyberpunk theme for emacs built-in color theme support
- Host: GitHub
- URL: https://github.com/n3mo/cyberpunk-theme.el
- Owner: n3mo
- License: gpl-3.0
- Created: 2012-09-27T23:03:03.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2024-01-12T19:44:51.000Z (10 months ago)
- Last Synced: 2024-05-08T16:19:36.058Z (6 months ago)
- Language: Emacs Lisp
- Size: 521 KB
- Stars: 255
- Watchers: 11
- Forks: 48
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Cyberpunk Theme
===============Cyberpunk color theme for the emacs 24+ built-in color theme support known loosely as
deftheme
. The theme is mostly a direct port of the [overtone/emacs-live](https://github.com/overtone/emacs-live) theme of the same name (designed originally for thecolor-theme
package). Many mode-specific customizations, listed below, have also been added.![Example Screenshot](https://raw.githubusercontent.com/n3mo/cyberpunk-theme.el/master/cyberpunk-theme.png)
Installation
============Manual
------Ensure that cyberpunk-theme.el is on the custom-theme-load-path like this:
```lisp
(add-to-list 'custom-theme-load-path "~/path/to/cyberpunk-theme.el")
```You can then load the theme at any time by running the command
M-x load-theme RET cyberpunk
.Package.el
----------Cyberpunk is available in [MELPA](https://melpa.org/). This installation method assumes that you have added MELPA to your package archive list. This can be accomplished in your init file with the following command:
```lisp
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/") t)
```Alternatively, if you prefer stability you can install from the [MELPA-stable](https://stable.melpa.org/) repository by instead adding the following to your init file:
```lisp
(add-to-list 'package-archives
'("melpa-stable" . "https://stable.melpa.org/packages/") t)
```Once set up, you can install
cyberpunk
using the following command:
M-x package-install cyberpunk-themeor, by alternatively running the command
list-packages
, marking the cyberpunk-theme package with the command "i" and running the execute command "x".If you want cyberpunk-theme to be set at startup, add the following line to your .emacs init file:
```lisp
(load-theme 'cyberpunk t)
```If you've installed cyberpunk using package-install, you may need to wait to load the cyberpunk theme until startup initialization is complete. In this case, instead of
(load-theme 'cyberpunk t)
, you may need something like:```lisp
(add-hook 'after-init-hook
(lambda () (load-theme 'cyberpunk t)))
```Specific Modes
==============In addition to basic face settings, cyberpunk-theme has specially-tailored support for the following modes. Please share any suggestions for additional modes. Modes marked with \* are currently defined, but may benefit from further adjustments to blend more seamlessly with the cyberpunk experience. If you use one of these modes and have customization suggestions I would greatly appreciate any feedback on how to make a more seamless experience.
* AUCTeX/LaTeX\*
* MuMaMo\*
* autocomplete
* company-mode
* compilation-mode\*
* ediff
* enhanced ruby mode
* erc
* eshell
* flymake\*
* flyspell
* full-ack\*
* gnus
* grep
* helm\*
* hl-line-mode
* ido
* isearch
* jabber\*
* js2\*
* linum-relative
* magit
* message-mode
* mew\*
* mic-paren\*
* multiple cursors
* newsticker\*
* org-mode
* outline
* racket-mode
* term
* rainbow-delimiters
* wanderlust\*
* whitespace-mode\*
User Customizations
===================Like the theme but wish a few details could be adjusted to your own individual needs? No problem--you can adjust individual theme face attributes anywhere in your ~/.emacs.d configurations files. One way to accomplish this would be to create a hook that runs after load-theme is ran. Then, you can add hooks to change individual faces in the theme. For example, if rather than the default you wanted isearch matches to be underlined in yellow, you could place the following anywhere in your emacs configuration:
```lisp
(defvar after-load-theme-hook nil
"Hook run after a color theme is loaded using `load-theme'.")
(defadvice load-theme (after run-after-load-theme-hook activate)
"Run `after-load-theme-hook'."
(run-hooks 'after-load-theme-hook))(add-hook 'after-load-theme-hook
(lambda ()
(set-face-attribute 'lazy-highlight nil
:underline '(:color "yellow")
:foreground 'unspecified
:background 'unspecified)))
```Acknowledgments
===============This theme began as a port of the [overtone/emacs-live](https://github.com/overtone/emacs-live) theme of the same name and evolved from there. The original theme was designed for use with the color-theme package.
Bugs & Improvements
===================Please report any problems that you find, along with any suggestions or contributions to the theme.
You can support this project, or my other projects via [ChangeTip](http://n3mo.tip.me)
[![Support via ChangeTip](http://www.nicholasvanhorn.com/images/changetip.png)](http://n3mo.tip.me)
License
=======Copyright (C) 2012-2020 Nicholas M. Van Horn
Author: Nicholas M. Van Horn
Keywords: color theme, cyberpunk, emacsThis program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program. If not, see .