123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- ;;; tomorrow-night-bright-theme.el --- custom theme for faces
- ;;; Commentary:
- ;;
- ;;; Tomorrow Night Bright Theme
- ;;
- ;; Originally by Chris Kempson https://github.com/ChrisKempson/Tomorrow-Theme
- ;; Ported to GNU Emacs by Chris Charles
- ;; Ported to GNU Emacs 24's built-in theme system by Jim Myhrberg (@jimeh)
- ;;; Code:
- (deftheme tomorrow-night-bright
- "A Pastel Coloured Theme")
- (let ((background "#000000")
- (current-line "#2a2a2a")
- (selection "#424242")
- (foreground "#eaeaea")
- (comment "#969896")
- (cursor "#9f9f9f")
- (red "#d54e53")
- (orange "#e78c45")
- (yellow "#e7c547")
- (green "#b9ca4a")
- (aqua "#70c0b1")
- (blue "#7aa6da")
- (purple "#c397d8"))
- (custom-theme-set-faces
- 'tomorrow-night-bright
- ;; Built-in stuff (Emacs 23)
- `(default ((t (:background ,background :foreground ,foreground))))
- `(error ((t (:foreground ,red))))
- `(escape-glyph ((t (:foreground ,aqua))))
- `(fringe ((t (:background ,current-line))))
- `(highlight ((t (:background ,green :foreground ,current-line))))
- `(link ((t (:foreground ,blue))))
- `(link-visited ((t (:foreground ,purple))))
- `(minibuffer-prompt ((t (:foreground ,blue))))
- `(mode-line ((t (:background ,selection :foreground ,foreground))))
- `(mode-line-inactive ((t (:background ,current-line :foreground ,foreground))))
- `(region ((t (:background ,selection))))
- `(secondary-selection ((t (:background ,blue))))
- `(shadow ((t (:foreground ,comment))))
- `(success ((t (:foreground ,green))))
- `(trailing-whitespace ((t (:background ,red))))
- `(warning ((t (:foreground ,orange))))
- ;; Font-lock stuff
- `(font-lock-builtin-face ((t (:foreground ,aqua))))
- `(font-lock-comment-face ((t (:foreground ,comment))))
- `(font-lock-constant-face ((t (:foreground ,aqua))))
- `(font-lock-doc-string-face ((t (:foreground ,comment))))
- `(font-lock-function-name-face ((t (:foreground ,blue))))
- `(font-lock-keyword-face ((t (:foreground ,purple))))
- `(font-lock-string-face ((t (:foreground ,green))))
- `(font-lock-type-face ((t (:foreground ,yellow))))
- `(font-lock-variable-name-face ((t (:foreground ,orange))))
- `(font-lock-warning-face ((t (:foreground ,red))))
- ;; hl-line-mode
- `(hl-line ((t (:background ,current-line))))
- ;; linum-mode
- `(linum ((t (:background ,current-line :foreground ,foreground))))
- ;; org-mode
- `(org-date ((t (:foreground ,purple))))
- `(org-done ((t (:foreground ,green))))
- `(org-hide ((t (:foreground ,current-line))))
- `(org-link ((t (:foreground ,blue))))
- `(org-todo ((t (:foreground ,red))))
- ;; show-paren-mode
- `(show-paren-match ((t (:background ,blue :foreground ,current-line))))
- `(show-paren-mismatch ((t (:background ,orange :foreground ,current-line))))
- ;; whitespace-mode
- `(whitespace-empty ((t (:background ,yellow :foreground ,red))))
- `(whitespace-hspace ((t (:background ,selection :foreground ,comment))))
- `(whitespace-indentation ((t (:background ,yellow :foreground ,red))))
- `(whitespace-line ((t (:background ,current-line :foreground ,purple))))
- `(whitespace-newline ((t (:foreground ,comment))))
- `(whitespace-space ((t (:background ,current-line :foreground ,comment))))
- `(whitespace-space-after-tab ((t (:background ,yellow :foreground ,red))))
- `(whitespace-space-before-tab ((t (:background ,orange :foreground ,red))))
- `(whitespace-tab ((t (:background ,selection :foreground ,comment))))
- `(whitespace-trailing ((t (:background ,red :foreground ,yellow))))
- ;; rainbow-delimiters
- `(rainbow-delimiters-depth-1-face ((t (:foreground ,purple))))
- `(rainbow-delimiters-depth-2-face ((t (:foreground ,blue))))
- `(rainbow-delimiters-depth-3-face ((t (:foreground ,aqua))))
- `(rainbow-delimiters-depth-4-face ((t (:foreground ,green))))
- `(rainbow-delimiters-depth-5-face ((t (:foreground ,yellow))))
- `(rainbow-delimiters-depth-6-face ((t (:foreground ,orange))))
- `(rainbow-delimiters-depth-7-face ((t (:foreground ,red))))
- `(rainbow-delimiters-depth-8-face ((t (:foreground ,comment))))
- `(rainbow-delimiters-depth-9-face ((t (:foreground ,foreground))))
- ;; auctex
- `(font-latex-bold-face ((t (:foreground ,green))))
- `(font-latex-doctex-documentation-face ((t (:background ,current-line))))
- `(font-latex-italic-face ((t (:foreground ,green))))
- `(font-latex-math-face ((t (:foreground ,orange))))
- `(font-latex-sectioning-0-face ((t (:foreground ,yellow))))
- `(font-latex-sectioning-1-face ((t (:foreground ,yellow))))
- `(font-latex-sectioning-2-face ((t (:foreground ,yellow))))
- `(font-latex-sectioning-3-face ((t (:foreground ,yellow))))
- `(font-latex-sectioning-4-face ((t (:foreground ,yellow))))
- `(font-latex-sectioning-5-face ((t (:foreground ,yellow))))
- `(font-latex-sedate-face ((t (:foreground ,aqua))))
- `(font-latex-string-face ((t (:foreground ,yellow))))
- `(font-latex-verbatim-face ((t (:foreground ,orange))))
- `(font-latex-warning-face ((t (:foreground ,red)))))
- (custom-theme-set-variables
- 'tomorrow-night-bright
- `(ansi-color-names-vector
- ;; black, red, green, yellow, blue, magenta, cyan, white
- [,background ,red ,green ,yellow ,blue ,purple ,blue ,foreground])
- `(ansi-term-color-vector
- ;; black, red, green, yellow, blue, magenta, cyan, white
- [unspecified ,background ,red ,green ,yellow ,blue ,purple ,blue ,foreground])))
- (provide-theme 'tomorrow-night-bright)
- ;;; tomorrow-night-bright-theme.el ends here
|