 (let ((c '((class color) (min-colors 89)))
       (bold   t)
       (italic t)
-
-      (bg             "#262c34")
-      (bg-d           "#1f252b")
-      (bg-l           "#2b323a")
-      (fg             "#d5dae0")
-      (subtle         "#aab6c7")
-      (vsubtle        "#556172")
-      (vvsubtle       "#354152")
-      (dim-highlight  "#3f4b56")
 
       (black          "#141a22")
       (white          "#FFFFFF")

      (green          "#7bc275")
      (green-d        "#86B20E"))

  (let* ((search-bg      green)
         (search-fg      black)
         (search-rest-bg violet)
         (search-rest-fg black)
         (highlight      blue)
         (vertical-bar   black)
         (current-line   bg-d)
         (selection      blue-d)
         (builtin        magenta)
         (comments       grey-l)
         (comments-l     "#7F7F8A")
         (constants      green)
         (delimiters     violet)
         (functions      blue-l)
         (keywords       blue)
         (methods        cyan-d)
         (operators      magenta)
         (type           yellow)
         (strings        green)
         (variables      cyan)

         (linum-bg       bg-d)
         (linum-fg       "#465263")
         (linum-hl-fg    blue)
         (linum-hl-bg    bg-d)

         (modeline-fg    white)
         (modeline-fg-2  blue-l)
         (modeline-fg-3  blue)
         (modeline-bg    bg-d)
         (modeline-bg-hl bg-d)
         (modeline-fg-inactive grey-l)
         (modeline-bg-inactive grey-dd)

         (vc-modified    yellow-d)
         (vc-added       green)
         (vc-deleted     red))

                     (doom-name-to-rgb color2))))

(defun doom-darken (color alpha)
  (doom-blend color "#000000" (- 1 alpha)))

(defun doom-lighten (color alpha)
  (doom-blend color "#FFFFFF" (- 1 alpha)))


(when (display-graphic-p)
  (defface doom-default '((t (:inherit default)))
    "Face for source code windows."
    :group 'doom)

  (defface doom-minibuffer-active '((t (:inherit mode-line)))
