                   (file-name-as-directory
                    (file-name-directory load-file-name))))
 
-(defun darktooth-modeline ()
-  "Optional modeline styling for darktooth."
-  (interactive)
-  (set-face-attribute 'mode-line nil
-                      :inherit 'mode-line-face
-                      :foreground "#BDAE93"
-                      :background "#1D2021"
-                      :height 120
-                      :inverse-video nil
-                      :box '(:line-width 6 :color "#1D2021" :style nil))
-  (set-face-attribute 'mode-line-inactive nil
-                      :inherit 'mode-line-face
-                      :foreground "#504945"
-                      :background "#32302F"
-                      :height 120
-                      :inverse-video nil
-                      :box '(:line-width 6 :color "#32302F" :style nil)))
-
 (provide-theme 'darktooth)
 
 ;; Local Variables:


(deftheme darktooth "From the darkness... it watches")

(autothemer-deftheme
                     darktooth "A color theme for Emacs, from the darkness... it watches"

                     ((((class color) (min-colors #xFFFFFF)) ((class color) (min-colors #xFF)))
                      (darktooth-dark0_hard      "#1D2021" "color-234")
                      (darktooth-dark0           "#282828" "color-235")
                      (darktooth-dark0_soft      "#32302F" "color-236")
                      (darktooth-dark1           "#3C3836" "color-237")
                      (darktooth-dark2           "#504945" "color-239")
                      (darktooth-dark3           "#665C54" "color-241")
                      (darktooth-dark4           "#7C6F64" "color-243")

                      (darktooth-medium          "#928374" "color-245") ;; or 244

                      (darktooth-light0_hard     "#FFFFC8" "color-230")
                      (darktooth-light0          "#FDF4C1" "color-229")
                      (darktooth-light0_soft     "#F4E8BA" "color-228")
                      (darktooth-light1          "#EBDBB2" "color-223")
                      (darktooth-light2          "#D5C4A1" "color-250")
                      (darktooth-light3          "#BDAE93" "color-248")
                      (darktooth-light4          "#A89984" "color-246")

                      (darktooth-bright_red      "#FB4933" "color-167")
                      (darktooth-bright_green    "#B8BB26" "color-142")
                      (darktooth-bright_yellow   "#FABD2F" "color-214")
                      (darktooth-bright_blue     "#83A598" "color-109")
                      (darktooth-bright_purple   "#D3869B" "color-175")
                      (darktooth-bright_aqua     "#8EC07C" "color-108")
                      (darktooth-bright_orange   "#FE8019" "color-208")
                      (darktooth-bright_cyan     "#3FD7E5" "color-45")

                      ;; neutral, no 256-color code, requested, nice work-around meanwhile
                      (darktooth-neutral_red     "#FB4934" "#D75F5F")

                      (darktooth-neutral_orange  "#FE8019" "#FF8700")
                      (darktooth-neutral_cyan    "#17CCD5" "#17CCD5")

                      (darktooth-faded_red       "#9D0006" "#870000")
                      (darktooth-faded_green     "#79740E" "#878700")
                      (darktooth-faded_yellow    "#B57614" "#af8700")
                      (darktooth-faded_blue      "#076678" "#005f87")
                      (darktooth-faded_purple    "#8F3F71" "#875f87")
                      (darktooth-faded_aqua      "#427B58" "#5f8787")
                      (darktooth-faded_orange    "#AF3A03" "#af5f00")
                      (darktooth-faded_cyan      "#00A7AF" "#00afaf")

                      (darktooth-muted_red       "#901A1E" "#870000")
                      (darktooth-muted_green     "#556C21" "#878700")
                      (darktooth-muted_yellow    "#A87933" "#af8700")
                      (darktooth-muted_blue      "#1B5C6B" "#005f87")
                      (darktooth-muted_purple    "#82526E" "#875f87")
                      (darktooth-muted_aqua      "#506E59" "#5f8787")
                      (darktooth-muted_orange    "#A24921" "#af5f00")
                      (darktooth-muted_cyan      "#18A7AF" "#00afaf")

                      (darktooth-dark_red        "#421E1E" "#5f0000")
                      (darktooth-dark_green      "#232B0F" "#005f00")
                      (darktooth-dark_yellow     "#4D3B27" "#5f5f00")
                      (darktooth-dark_blue       "#2B3C44" "#00005f")
                      (darktooth-dark_purple     "#4E3D45" "#5f00af")
                      (darktooth-dark_aqua       "#36473A" "#005f5f")
                      (darktooth-dark_orange     "#613620" "#af5f00")
                      (darktooth-dark_cyan       "#205161" "#005f87")

                      (darktooth-mid_red         "#3F1B1B" "#5f0000")
                      (darktooth-mid_green       "#1F321C" "#005f00")
                      (darktooth-mid_yellow      "#4C3A25" "#5f5f00")
                      (darktooth-mid_blue        "#30434C" "#00005f")
                      (darktooth-mid_purple      "#4C3B43" "#5f00af")
                      (darktooth-mid_aqua        "#394C3D" "#005f5f")
                      (darktooth-mid_orange      "#603000" "#af5f00")
                      (darktooth-mid_cyan        "#005560" "#005f87")

                      (darktooth-delimiter-one   "#5C7E81" "#5f8787")
                      (darktooth-delimiter-two   "#837486" "#875f5f")
                      (darktooth-delimiter-three "#9C6F68" "#af5f5f")
                      (darktooth-delimiter-four  "#7B665C" "#5f5f5f")

                      ;; 24 bit has tints from light0 and terminal cycles through
                      ;; the 4 darktooth-delimiter colors
                      (darktooth-identifiers-1   "#E5D5C5" "#ffdfaf")
                      (darktooth-identifiers-2   "#DFE5C5" "#dfdfaf")
                      (darktooth-identifiers-3   "#D5E5C5" "#dfe5c5")
                      (darktooth-identifiers-4   "#CAE5C5" "#ffd7af")
                      (darktooth-identifiers-5   "#C5E5CA" "#dfdf87")
                      (darktooth-identifiers-6   "#C5E5D5" "#dfdfdf")
                      (darktooth-identifiers-7   "#C5E5DF" "#afdfdf")
                      (darktooth-identifiers-8   "#C5DFE5" "#dfdfff")
                      (darktooth-identifiers-9   "#C5D5E5" "#afdfff")
                      (darktooth-identifiers-10  "#C5CAE5" "#dfafff")
                      (darktooth-identifiers-11  "#CAC5E5" "#afafff")
                      (darktooth-identifiers-12  "#D5C5E5" "#dfafaf")
                      (darktooth-identifiers-13  "#DFC5E5" "#dfc5e5")
                      (darktooth-identifiers-14  "#E5C5DF" "#ffafaf")
                      (darktooth-identifiers-15  "#E5C5D5" "#dfdfff")

                      (darktooth-white           "#FFFFFF" "white")
                      (darktooth-black           "#000000" "black")
