2024-01-27 03:30:02 -05:00
|
|
|
;;; doom-tomorrow-night-b-theme.el --- One of the dark variants of Tomorrow -*- lexical-binding: t; no-byte-compile: t; -*-
|
2023-12-16 17:51:21 -05:00
|
|
|
;;
|
|
|
|
;; Added: May 14, 2017 (4c981f2cccf3)
|
|
|
|
;; Author: Henrik Lissner <https://github.com/hlissner>
|
|
|
|
;; Maintainer:
|
|
|
|
;; Source: https://github.com/ChrisKempson/Tomorrow-Theme
|
|
|
|
;;
|
|
|
|
;;; Commentary:
|
|
|
|
;;; Code:
|
|
|
|
|
|
|
|
(require 'doom-themes)
|
|
|
|
|
|
|
|
|
|
|
|
;;
|
|
|
|
;;; Variables
|
|
|
|
|
2024-01-27 03:30:02 -05:00
|
|
|
(defgroup doom-tomorrow-night-b-theme nil
|
|
|
|
"Options for the `doom-tomorrow-night-b' theme."
|
2023-12-16 17:51:21 -05:00
|
|
|
:group 'doom-themes)
|
|
|
|
|
2024-01-27 03:30:02 -05:00
|
|
|
(defcustom doom-tomorrow-night-b-padded-modeline doom-themes-padded-modeline
|
2023-12-16 17:51:21 -05:00
|
|
|
"If non-nil, adds a 4px padding to the mode-line. Can be an integer to
|
|
|
|
determine the exact padding."
|
2024-01-27 03:30:02 -05:00
|
|
|
:group 'doom-tomorrow-night-b-theme
|
2023-12-16 17:51:21 -05:00
|
|
|
:type '(choice integer boolean))
|
|
|
|
|
|
|
|
|
|
|
|
;;
|
|
|
|
;;; Theme definition
|
|
|
|
|
2024-01-27 03:30:02 -05:00
|
|
|
(def-doom-theme doom-tomorrow-night-b
|
2023-12-16 17:51:21 -05:00
|
|
|
"A theme based off of Chris Kempson's Tomorrow Dark."
|
|
|
|
|
|
|
|
;; name gui 256 16
|
|
|
|
;((bg '("#1d1f21" nil nil ))
|
2024-01-27 03:30:02 -05:00
|
|
|
((bg '("#000000" nil nil ))
|
2023-12-16 17:51:21 -05:00
|
|
|
;(bg-alt '("#161719" nil nil ))
|
2024-01-27 03:30:02 -05:00
|
|
|
(bg-alt '("#000000" nil nil ))
|
2023-12-16 17:51:21 -05:00
|
|
|
(base0 '("#0d0d0d" "black" "black" ))
|
|
|
|
(base1 '("#1b1b1b" "#1b1b1b" ))
|
|
|
|
(base2 '("#212122" "#1e1e1e" ))
|
|
|
|
(base3 '("#292b2b" "#292929" "brightblack"))
|
|
|
|
(base4 '("#3f4040" "#3f3f3f" "brightblack"))
|
|
|
|
(base5 '("#5c5e5e" "#525252" "brightblack"))
|
|
|
|
(base6 '("#757878" "#6b6b6b" "brightblack"))
|
|
|
|
(base7 '("#969896" "#979797" "brightblack"))
|
|
|
|
(base8 '("#ffffff" "#ffffff" "white" ))
|
|
|
|
(fg '("#c5c8c6" "#c5c5c5" "white"))
|
|
|
|
(fg-alt (doom-darken fg 0.4))
|
|
|
|
|
|
|
|
(grey '("#5a5b5a" "#5a5a5a" "brightblack"))
|
|
|
|
(red '("#cc6666" "#cc6666" "red"))
|
|
|
|
(orange '("#de935f" "#dd9955" "brightred"))
|
|
|
|
(yellow '("#f0c674" "#f0c674" "yellow"))
|
|
|
|
(green '("#b5bd68" "#b5bd68" "green"))
|
|
|
|
(blue '("#81a2be" "#88aabb" "brightblue"))
|
|
|
|
(dark-blue '("#41728e" "#41728e" "blue"))
|
|
|
|
(teal blue) ; FIXME replace with real teal
|
|
|
|
(magenta '("#c9b4cf" "#c9b4cf" "magenta"))
|
|
|
|
(violet '("#b294bb" "#b294bb" "brightmagenta"))
|
|
|
|
(cyan '("#8abeb7" "#8abeb7" "cyan"))
|
|
|
|
(dark-cyan (doom-darken cyan 0.4))
|
|
|
|
|
|
|
|
;; face categories
|
|
|
|
(highlight blue)
|
|
|
|
(vertical-bar base0)
|
|
|
|
(selection `(,(car (doom-lighten bg 0.1)) ,@(cdr base4)))
|
|
|
|
(builtin blue)
|
|
|
|
(comments grey)
|
|
|
|
(doc-comments (doom-lighten grey 0.14))
|
|
|
|
(constants orange)
|
|
|
|
(functions blue)
|
|
|
|
(keywords violet)
|
|
|
|
(methods blue)
|
|
|
|
(operators fg)
|
|
|
|
(type yellow)
|
|
|
|
(strings green)
|
|
|
|
(variables red)
|
|
|
|
(numbers orange)
|
|
|
|
(region selection)
|
|
|
|
(error red)
|
|
|
|
(warning yellow)
|
|
|
|
(success green)
|
|
|
|
(vc-modified fg-alt)
|
|
|
|
(vc-added green)
|
|
|
|
(vc-deleted red)
|
|
|
|
|
|
|
|
;; custom categories
|
|
|
|
(modeline-bg `(,(doom-darken (car bg-alt) 0.3) ,@(cdr base3)))
|
|
|
|
(modeline-bg-alt `(,(car bg) ,@(cdr base1)))
|
|
|
|
(modeline-fg base8)
|
|
|
|
(modeline-fg-alt comments)
|
|
|
|
(-modeline-pad
|
2024-01-27 03:30:02 -05:00
|
|
|
(when doom-tomorrow-night-b-padded-modeline
|
|
|
|
(if (integerp doom-tomorrow-night-b-padded-modeline)
|
|
|
|
doom-tomorrow-night-b-padded-modeline
|
2023-12-16 17:51:21 -05:00
|
|
|
4))))
|
|
|
|
|
|
|
|
;; --- faces ------------------------------
|
|
|
|
(((line-number &override) :foreground base4)
|
|
|
|
((line-number-current-line &override) :foreground blue :bold bold)
|
|
|
|
(mode-line
|
|
|
|
:background modeline-bg :foreground modeline-fg
|
|
|
|
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg)))
|
|
|
|
(mode-line-inactive
|
|
|
|
:background modeline-bg-alt :foreground modeline-fg-alt
|
|
|
|
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-alt)))
|
|
|
|
|
|
|
|
;;;; rainbow-delimiters
|
|
|
|
(rainbow-delimiters-depth-1-face :foreground violet)
|
|
|
|
(rainbow-delimiters-depth-2-face :foreground blue)
|
|
|
|
(rainbow-delimiters-depth-3-face :foreground orange)
|
|
|
|
(rainbow-delimiters-depth-4-face :foreground green)
|
|
|
|
(rainbow-delimiters-depth-5-face :foreground magenta)
|
|
|
|
(rainbow-delimiters-depth-6-face :foreground yellow)
|
|
|
|
(rainbow-delimiters-depth-7-face :foreground teal)
|
|
|
|
;;;; doom-modeline
|
|
|
|
(doom-modeline-buffer-path :foreground violet :bold bold)
|
|
|
|
(doom-modeline-buffer-major-mode :inherit 'doom-modeline-buffer-path))
|
|
|
|
|
|
|
|
;; --- variables --------------------------
|
|
|
|
;; ()
|
|
|
|
)
|
|
|
|
|
2024-01-27 03:30:02 -05:00
|
|
|
;;; doom-tomorrow-night-b-theme.el ends here
|