Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 909abc5
Showing
5 changed files
with
520 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
______ __ __ | ||
/ ____/_ __/ /_ ___ _________ __ ______ / /__ | ||
/ / / / / / __ \/ _ \/ ___/ __ \/ / / / __ \/ //_/ | ||
/ /___/ /_/ / /_/ / __/ / / /_/ / /_/ / / / / ,< | ||
\____/\__, /_.___/\___/_/ / .___/\__,_/_/ /_/_/|_| | ||
/____/ /_/ | ||
|
||
|
||
![cyberpunk](https://raw.githubusercontent.com/the-frey/cyberpunk-2019/master/cyberpunk-2019.png) | ||
|
||
# Cyberpunk 2019 | ||
|
||
This theme is a spin on the Tron Legacy theme and Cyberpunk VS Code theme, now for emacs. Sam Aaron's excellent Cyberpunk theme just wasn't garish or extrovert enough for me, I'm afraid. | ||
|
||
This is heavily optimised for Clojure, Emacs Lisp and Haskell - that said, if you see an issue, feel free to throw in a PR! | ||
|
||
## Installation | ||
|
||
Download the theme file, and place it in your `~/.emacs.d/themes`, then add the following to your init file: | ||
|
||
``` | ||
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/") | ||
(load-theme `cyberpunk-2019 t) | ||
``` | ||
|
||
### Modeline | ||
|
||
If you use the modeline, you might also want these styles in your `init.el`, although default styles are provided by this theme - this is just a change I like for slightly bolder lines: | ||
|
||
``` | ||
'(mode-line ((t (:foreground "#fafafa" :background "DarkOrange" :box nil)))) | ||
'(mode-line-inactive ((t (:foreground "#fafafa" :background "#666666" :box nil))))\ | ||
``` | ||
|
||
These should go in the `custom-set-faces` block provided by `M-x customize`. | ||
|
||
### Flycheck | ||
|
||
If you use flycheck, you might want to add the following to your init file. | ||
|
||
``` | ||
(set-face-attribute 'flycheck-error nil :underline '(:color "#FF4081")) | ||
(set-face-attribute 'flycheck-warning nil :underline '(:color "#FF9C00")) | ||
(set-face-attribute 'flycheck-info nil :underline '(:color "#9C00FF")) | ||
``` | ||
|
||
### iTerm2 | ||
|
||
If you're on mac, you might want these styles for your terminal as well. There's an `.itermcolors` file in this repo you can use. The colours might look a bit weird until you load it - that's because I use `oh-my-zsh` with the `agnoster` theme, and this file is explicitly designed to work with that theme, its modeline and git feautres. YMMV with other setups. | ||
|
||
These are based on the VS Code Cyberpunk iTerm addon, but rejigged and altered to fit `oh-my-zsh` and `agnoster`. | ||
|
||
At some point I will make some standard terminal colours so this is Linux compatible. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
;;; cyberpunk-2019.el - a custom theme inspired by the Tron: Legacy theme by | ||
;; Ian Y.E. Pan and Cyberpunk VS Code theme by Max-SS et al. | ||
;; | ||
;; Copyright© 2019 Alex Lynham | ||
;; Licensed under GNU GPLv3 | ||
;; | ||
;; This 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 <https://www.gnu.org/licenses/>. | ||
;; | ||
;; Author: Alex Lynham | ||
|
||
(deftheme cyberpunk-2019 | ||
"Custom theme by Alex Lynham. Licensed under GNU GPLv3.") | ||
|
||
(custom-theme-set-faces | ||
`cyberpunk-2019 | ||
`(default ((t (:background "#372963" :foreground "#00E3FF" )))) | ||
`(cursor ((t (:background "#BEFF00")))) | ||
`(region ((t (:background "#009fff")))) | ||
`(bold ((t (:weight normal :foreground "#FF9C00")))) | ||
`(fringe ((t (:background "#4B3E72")))) | ||
`(mode-line ((t (:foreground "#FFFAFA" :background "#FF9C00")))) | ||
`(mode-line-inactive ((t (:foreground "#CBECFF" :background "#3D5666")))) | ||
`(highlight ((t (:background "#262F36")))) | ||
`(ido-first-match ((t (:foreground "#D7F0FF" :weight bold)))) | ||
`(ido-only-match ((t (:foreground "#31C0C0")))) | ||
`(ido-subdir ((t (:foreground "#5DC4FF")))) | ||
`(isearch ((t (:background "#4D4FBB" :foreground "#FFFAFA")))) | ||
`(lazy-highlight ((t (:background "#659F93" :foreground "#FFFAFA")))) | ||
`(linum ((t (:background "#4B3E72" :foreground "#CBEBFF")))) | ||
`(nlinum-relative-current-face ((t (:inherit linum :background "#4B3E72" :foreground "#BEFF00" :weight normal)))) | ||
`(font-lock-builtin-face ((t (:foreground "#00FFC1")))) | ||
`(font-lock-doc-face ((t (:foreground "#7FDEFF" :italic t)))) | ||
`(font-lock-comment-face ((t ( | ||
:foreground "#CBEBFF" | ||
:background nil | ||
:italic t)))) | ||
`(font-lock-string-face ((t (:foreground "#7FDEFF")))) | ||
`(font-lock-variable-name-face ((t (:foreground "#FF4081")))) | ||
`(font-lock-function-name-face ((t (:foreground "#00FF9C")))) | ||
`(font-lock-keyword-face ((t (:foreground "#00BEFF")))) | ||
`(font-lock-negation-char-face ((t (:foreground "#5EC4FF")))) | ||
`(font-lock-preprocessor-face ((t (:foreground "#5EC4FF")))) | ||
`(font-lock-type-face ((t (:foreground "#FF9C00")))) | ||
|
||
`(font-lock-constant-face ((t (:foreground "#66FFC4")))) | ||
`(minibuffer-prompt ((t (:foreground "#729FCF" )))) | ||
`(font-lock-warning-face ((t (:foreground "red" :bold t)))) | ||
`(dashboard-banner-logo-title-face ((t ( | ||
:inherit default | ||
:overline t | ||
:height 1.15 | ||
:family "Monaco")))) | ||
`(dashboard-heading-face ((t ( | ||
:inherit default | ||
:foreground "#CBEBFF" | ||
:height 1.1)))) | ||
|
||
`(clojure-keyword ((t (:foreground "#FFA000")))) | ||
`(clojure-special ((t (:foreground "#9C00FF")))) | ||
|
||
`(show-paren-match-face ((t (:background "#009FFF" :foreground "#FFFAFA")))) | ||
`(show-paren-mismatch-face ((t (:background "red1" :foreground "white")))) | ||
|
||
`(org-block ((t (:background "#4B3E72" :foreground "#00E3FF")))) | ||
`(org-document-title ((t (:height 2.0 :foreground "#CBEBFF" | ||
:family "Georgia")))) | ||
`(org-level-1 ((t ( | ||
:inherit outline-1 | ||
:weight bold | ||
:foreground "#7FDEFF" | ||
:height 1.3)))) | ||
`(org-level-2 ((t ( | ||
:inherit outline-2 | ||
:weight bold | ||
:foreground "#00FFC1" | ||
:height 1.1)))) | ||
`(org-level-3 ((t ( | ||
:inherit outline-3 | ||
:weight bold | ||
:foreground "#00BEFF" | ||
:height 1.1)))) | ||
`(org-table ((t (:background "#FF4081" :foreground "#729FCF")))) | ||
|
||
`(rainbow-delimiters-depth-1-face ((t (:foreground "#00FF9C")))) | ||
`(rainbow-delimiters-depth-2-face ((t (:foreground "#FF4081")))) | ||
`(rainbow-delimiters-depth-3-face ((t (:foreground "#00BEFF")))) | ||
`(rainbow-delimiters-depth-4-face ((t (:foreground "#FEF96A")))) | ||
`(rainbow-delimiters-depth-5-face ((t (:foreground "#C592FF")))) | ||
`(rainbow-delimiters-depth-6-face ((t (:foreground "#9C00FF")))) | ||
`(rainbow-delimiters-depth-7-face ((t (:foreground "#FEF96A")))) | ||
`(rainbow-delimiters-depth-8-face ((t (:foreground "#BEFF00")))) | ||
`(rainbow-delimiters-depth-9-face ((t (:foreground "#FF00BE")))) | ||
|
||
) | ||
|
||
(provide-theme 'cyberpunk-2019) | ||
|
Oops, something went wrong.