Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for rainbow-delimeters (a.k.a rainbow-parenthesis and stuff) #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion gruber-darker-theme.el
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,19 @@
;; variant of the Gruber Dark theme for BBEdit by John Gruber. Adapted
;; for deftheme and extended by Alexey Kutepov a.k.a. rexim.


(deftheme gruber-darker
"Gruber Darker color theme for Emacs 24")

;; Monokai colors for rainbow-delimiters.
(defcustom gruber-theme-yellow "#E6DB74" "Primary colors - yellow" :type 'string :group 'monokai)
(defcustom gruber-theme-orange "#FD971F" "Primary colors - orange" :type 'string :group 'monokai)
(defcustom gruber-theme-red "#F92672" "Primary colors - red" :type 'string :group 'monokai)
(defcustom gruber-theme-magenta "#FD5FF0" "Primary colors - magenta" :type 'string :group 'monokai)
(defcustom gruber-theme-blue "#66D9EF" "Primary colors - blue" :type 'string :group 'monokai)
(defcustom gruber-theme-green "#A6E22E" "Primary colors - green" :type 'string :group 'monokai)
(defcustom gruber-theme-cyan "#A1EFE4" "Primary colors - cyan" :type 'string :group 'monokai)
(defcustom gruber-theme-violet "#AE81FF" "Primary colors - violet" :type 'string :group 'monokai)

;; Please, install rainbow-mode.
;; Colors with +x are lighter. Colors with -x are darker.
(let ((gruber-darker-fg "#e4e4ef")
Expand Down Expand Up @@ -383,6 +392,20 @@
`(term-color-cyan ((t (:foreground ,gruber-darker-quartz :background ,gruber-darker-quartz))))
`(term-color-white ((t (:foreground ,gruber-darker-fg :background ,gruber-darker-white))))

;; rainbow-delimiters
`(rainbow-delimiters-depth-1-face ((t (:foreground ,gruber-theme-violet))))
`(rainbow-delimiters-depth-2-face ((t (:foreground ,gruber-theme-blue))))
`(rainbow-delimiters-depth-3-face ((t (:foreground ,gruber-theme-green))))
`(rainbow-delimiters-depth-4-face ((t (:foreground ,gruber-theme-yellow))))
`(rainbow-delimiters-depth-5-face ((t (:foreground ,gruber-theme-orange))))
`(rainbow-delimiters-depth-6-face ((t (:foreground ,gruber-theme-red))))
`(rainbow-delimiters-depth-7-face ((t (:foreground ,gruber-theme-violet))))
`(rainbow-delimiters-depth-8-face ((t (:foreground ,gruber-theme-blue))))
`(rainbow-delimiters-depth-9-face ((t (:foreground ,gruber-theme-green))))
`(rainbow-delimiters-depth-10-face ((t (:foreground ,gruber-theme-yellow))))
`(rainbow-delimiters-depth-11-face ((t (:foreground ,gruber-theme-orange))))
`(rainbow-delimiters-depth-12-face ((t (:foreground ,gruber-theme-red))))

;;;;; company-mode
`(company-tooltip ((t (:foreground ,gruber-darker-fg :background ,gruber-darker-bg+1))))
`(company-tooltip-annotation ((t (:foreground ,gruber-darker-brown :background ,gruber-darker-bg+1))))
Expand Down