<commit_before>;;; darktooth-theme.el --- From the darkness... it watches

;; Copyright (c) 2015-2016 <NAME> (GNU/GPL Licence)

;; Authors: <NAME> <<EMAIL>>
;; URL: http://github.com/emacsfodder/emacs-theme-darktooth
;; Version: 0.3.10

;; Package-Requires: ((autothemer "0.2"))

;;; Commentary:
;;  From the darkness... it watches

;;  Since 0.3.0  : Official release integrated with autothemer
;;  Since 0.2.0  : Built using autothemer
;;  Since 0.1.60 : includes `darktooth-modeline'

;;; Code:
(require 'autothemer)

(unless (>= emacs-major-version 24)
  (error "Requires Emacs 24 or later"))

(autothemer-deftheme
 darktooth "From the darkness... it watches"

 ((((class color) (min-colors #xFFFFFF)) ;; color column 1 GUI/24bit
   ((class color) (min-colors #xFF)))    ;; color column 2 Xterm/256

  (darktooth-dark0_hard      "#1D2021" "#1c1c1c")
  (darktooth-dark0           "#282828" "#262626")
  (darktooth-dark0_soft      "#32302F" "#303030")
  (darktooth-dark1           "#3C3836" "#3a3a3a")
  (darktooth-dark2           "#504945" "#4e4e4e")
  (darktooth-dark3           "#665C54" "#626262")
  (darktooth-dark4           "#7C6F64" "#767676")

  (darktooth-medium          "#928374" "#8a8a8a") ;; or 244

  (darktooth-light0_hard     "#FFFFC8" "#ffffdf")
  (darktooth-light0          "#FDF4C1" "#ffffaf")
  (darktooth-light0_soft     "#F4E8BA" "#ffff87")
  (darktooth-light1          "#EBDBB2" "#ffdfaf")
  (darktooth-light2          "#D5C4A1" "#bcbcbc")
  (darktooth-light3          "#BDAE93" "#a8a8a8")
  (darktooth-light4          "#A89984" "#949494")

  (darktooth-bright_red      "#FB4933" "#d75f5f")
  (darktooth-bright_green    "#B8BB26" "#afaf00")
  (darktooth-bright_yellow   "#FABD2F" "#ffaf00")
  (darktooth-bright_blue     "#83A598" "#87afaf")
  (darktooth-bright_purple   "#D3869B" "#d787af")
  (darktooth-bright_aqua     "#8EC07C" "#87af87")
  (darktooth-bright_orange   "#FE8019" "#ff8700")
  (darktooth-bright_cyan     "#3FD7E5" "#00d7ff")

  ;; neutral, no 256-color code, requested, nice work-around meanwhile
  (darktooth-neutral_red     "#FB4934" "#D75F5F")
  (darktooth-neutral_green   "#B8BB26" "#73AF00")
  (darktooth-neutral_yellow  "#FABD2F" "#FFAF00")
  (darktooth-neutral_blue    "#83A598" "#87AFAF")
  (darktooth-neutral_purple  "#D3869B" "#D787AF")
  (darktooth-neutral_aqua    "#8EC07C" "#87AF87")
  (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")
  (darktooth-sienna          "#DD6F48" "sienna")
  (darktooth-darkslategray4  "#528B8B" "DarkSlateGray4")
  (darktooth-lightblue4      "#66999D" "LightBlue4")
  (darktooth-burlywood4      "#BBAA97" "burlywood4")
  (darktooth-aquamarine4     "#83A598" "aquamarine4")
  (darktooth-turquoise4      "#61ACBB" "turquoise4"))

 ((default                                   (:foreground darktooth-light0 :background darktooth-dark0))
  (cursor                                    (:background darktooth-light0))
  (link                                      (:foreground darktooth-bright_blue :underline t))
  (link-visited                              (:foreground darktooth-bright_blue :underline nil))

  (mode-line                                 (:foreground darktooth-light1 :background darktooth-dark0_hard :box nil))
  (mode-line-inactive                        (:foreground darktooth-light4 :background darktooth-dark0_hard :box nil))
  (fringe                                    (:background darktooth-dark0))
  (linum                                     (:foreground darktooth-dark2 :slant 'normal :background darktooth-dark0))
  ;; TODO: set up inheritance when native line numbers reach release
  (line-number                               (:foreground darktooth-dark2))
  (line-number-current-line                  (:foreground darktooth-light4 :background darktooth-dark1))
  (hl-line                                   (:background darktooth-dark1))
  (region                                    (:background darktooth-mid_blue :distant-foreground darktooth-light0))
  (secondary-selection                       (:background darktooth-dark_blue))
  (cua-rectangle                             (:background darktooth-mid_blue))
  (header-line                               (:foreground darktooth-turquoise4 :background darktooth-dark0 :bold nil))
  (minibuffer-prompt                         (:foreground darktooth-bright_cyan :background darktooth-dark0 :bold nil))

  ;; compilation messages (also used by several other modes)
  (compilation-info                          (:foreground darktooth-neutral_green))
  (compilation-mode-line-fail                (:foreground darktooth-neutral_red))
  (error                                     (:foreground darktooth-bright_red :bold t))
  (success                                   (:foreground darktooth-neutral_green :bold t))
  (warning                                   (:foreground darktooth-bright_yellow :bold t))

  ;; Built-in syntax
  (font-lock-builtin-face                            (:foreground darktooth-bright_orange))
  (font-lock-constant-face                           (:foreground darktooth-burlywood4))
  (font-lock-comment-face                            (:foreground darktooth-dark4 :slant 'italic))
  (font-lock-function-name-face                      (:foreground darktooth-light4))
  (font-lock-keyword-face                            (:foreground darktooth-sienna))<commit_msg>Darken the inactive modeline.<commit_after>;;; darktooth-theme.el --- From the darkness... it watches

;; Copyright (c) 2015-2016 <NAME> (GNU/GPL Licence)

;; Authors: <NAME> <<EMAIL>>
;; URL: http://github.com/emacsfodder/emacs-theme-darktooth
;; Version: 0.3.10

;; Package-Requires: ((autothemer "0.2"))

;;; Commentary:
;;  From the darkness... it watches

;;  Since 0.3.0  : Official release integrated with autothemer
;;  Since 0.2.0  : Built using autothemer
;;  Since 0.1.60 : includes `darktooth-modeline'

;;; Code:
(require 'autothemer)

(unless (>= emacs-major-version 24)
  (error "Requires Emacs 24 or later"))

(autothemer-deftheme
 darktooth "From the darkness... it watches"

 ((((class color) (min-colors #xFFFFFF)) ;; color column 1 GUI/24bit
   ((class color) (min-colors #xFF)))    ;; color column 2 Xterm/256

  (darktooth-dark0_hard      "#1D2021" "#1c1c1c")
  (darktooth-dark0           "#282828" "#262626")
  (darktooth-dark0_soft      "#32302F" "#303030")
  (darktooth-dark1           "#3C3836" "#3a3a3a")
  (darktooth-dark2           "#504945" "#4e4e4e")
  (darktooth-dark3           "#665C54" "#626262")
  (darktooth-dark4           "#7C6F64" "#767676")

  (darktooth-medium          "#928374" "#8a8a8a") ;; or 244

  (darktooth-light0_hard     "#FFFFC8" "#ffffdf")
  (darktooth-light0          "#FDF4C1" "#ffffaf")
  (darktooth-light0_soft     "#F4E8BA" "#ffff87")
  (darktooth-light1          "#EBDBB2" "#ffdfaf")
  (darktooth-light2          "#D5C4A1" "#bcbcbc")
  (darktooth-light3          "#BDAE93" "#a8a8a8")
  (darktooth-light4          "#A89984" "#949494")

  (darktooth-bright_red      "#FB4933" "#d75f5f")
  (darktooth-bright_green    "#B8BB26" "#afaf00")
  (darktooth-bright_yellow   "#FABD2F" "#ffaf00")
  (darktooth-bright_blue     "#83A598" "#87afaf")
  (darktooth-bright_purple   "#D3869B" "#d787af")
  (darktooth-bright_aqua     "#8EC07C" "#87af87")
  (darktooth-bright_orange   "#FE8019" "#ff8700")
  (darktooth-bright_cyan     "#3FD7E5" "#00d7ff")

  ;; neutral, no 256-color code, requested, nice work-around meanwhile
  (darktooth-neutral_red     "#FB4934" "#D75F5F")
  (darktooth-neutral_green   "#B8BB26" "#73AF00")
  (darktooth-neutral_yellow  "#FABD2F" "#FFAF00")
  (darktooth-neutral_blue    "#83A598" "#87AFAF")
  (darktooth-neutral_purple  "#D3869B" "#D787AF")
  (darktooth-neutral_aqua    "#8EC07C" "#87AF87")
  (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")
  (darktooth-sienna          "#DD6F48" "sienna")
  (darktooth-darkslategray4  "#528B8B" "DarkSlateGray4")
  (darktooth-lightblue4      "#66999D" "LightBlue4")
  (darktooth-burlywood4      "#BBAA97" "burlywood4")
  (darktooth-aquamarine4     "#83A598" "aquamarine4")
  (darktooth-turquoise4      "#61ACBB" "turquoise4"))

 ((default                                   (:foreground darktooth-light0 :background darktooth-dark0))
  (cursor                                    (:background darktooth-light0))
  (link                                      (:foreground darktooth-bright_blue :underline t))
  (link-visited                              (:foreground darktooth-bright_blue :underline nil))

  (mode-line                                 (:foreground darktooth-light1 :background darktooth-dark0_hard :box nil))
  (mode-line-inactive                        (:foreground darktooth-dark3 :background darktooth-dark0_hard :box nil))
  (fringe                                    (:background darktooth-dark0))
  (linum                                     (:foreground darktooth-dark2 :slant 'normal :background darktooth-dark0))
  ;; TODO: set up inheritance when native line numbers reach release
  (line-number                               (:foreground darktooth-dark2))
  (line-number-current-line                  (:foreground darktooth-light4 :background darktooth-dark1))
  (hl-line                                   (:background darktooth-dark1))
  (region                                    (:background darktooth-mid_blue :distant-foreground darktooth-light0))
  (secondary-selection                       (:background darktooth-dark_blue))
  (cua-rectangle                             (:background darktooth-mid_blue))
  (header-line                               (:foreground darktooth-turquoise4 :background darktooth-dark0 :bold nil))
  (minibuffer-prompt                         (:foreground darktooth-bright_cyan :background darktooth-dark0 :bold nil))

  ;; compilation messages (also used by several other modes)
  (compilation-info                          (:foreground darktooth-neutral_green))
  (compilation-mode-line-fail                (:foreground darktooth-neutral_red))
  (error                                     (:foreground darktooth-bright_red :bold t))
  (success                                   (:foreground darktooth-neutral_green :bold t))
  (warning                                   (:foreground darktooth-bright_yellow :bold t))

  ;; Built-in syntax
  (font-lock-builtin-face                            (:foreground darktooth-bright_orange))
  (font-lock-constant-face                           (:foreground darktooth-burlywood4))
  (font-lock-comment-face                            (:foreground darktooth-dark4 :slant 'italic))
  (font-lock-function-name-face                      (:foreground darktooth-light4))
  (font-lock-keyword-face                            (:foreground darktooth-sienna))
{'fraction_non_alphanumeric': 0.14774609015639376, 'fraction_numerical': 0.08635387917816621, 'mean_word_length': 2.7067515344396456, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 22, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '187220', 'n_tokens_mistral': 6911, 'n_tokens_neox': 6259, 'n_words': 1022}