solarized-emacs

a fork of Bozhidar Batsov's solarized-emacs
git clone https://git.trogloxene.org/solarized-emacs.git
Log | Files | Refs | README

solarized-wombat-dark-theme.el (2335B)


      1 ;;; solarized-wombat-dark-theme.el --- Solarized dark theme with the wombat palette  -*- lexical-binding: t -*-
      2 
      3 ;; Copyright (C) 2011-2025 Bozhidar Batsov
      4 
      5 ;; This program is free software; you can redistribute it and/or modify
      6 ;; it under the terms of the GNU General Public License as published by
      7 ;; the Free Software Foundation, either version 3 of the License, or
      8 ;; (at your option) any later version.
      9 
     10 ;; This program is distributed in the hope that it will be useful,
     11 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
     12 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     13 ;; GNU General Public License for more details.
     14 
     15 ;; You should have received a copy of the GNU General Public License
     16 ;; along with this program.  If not, see <http://www.gnu.org/licenses/>.
     17 
     18 ;;; Commentary:
     19 ;;
     20 ;; The dark solarized theme with the wombat palette
     21 ;;
     22 ;;; Code:
     23 
     24 (require 'solarized)
     25 (eval-when-compile
     26   (require 'solarized-palettes))
     27 
     28 (deftheme solarized-wombat-dark "The dark solarized theme with the wombat palette")
     29 
     30 (solarized-with-color-variables-with-palette 'dark 'solarized-wombat-dark
     31   '("#2a2a29" "#f6f3e8"           ; base03 (02 01 00 0 1 2) base3
     32     "#e5c06d" "#ddaa6f"           ; yellow orange
     33     "#ffb4ac" "#e5786d"           ; red    magenta
     34     "#834c98" "#a4b5e6"           ; violet blue
     35     "#7ec98f" "#8ac6f2"           ; cyan   green
     36     )
     37   '((custom-theme-set-faces
     38      theme-name
     39      `(default ((,class (:foreground ,(solarized-color-blend base03 base3 0.15 2) :background ,base03))))
     40      `(highlight ((,class (:background ,violet))))
     41      `(font-lock-builtin-face ((,class (:foreground ,magenta))))
     42      `(font-lock-constant-face ((,class (:foreground ,blue))))
     43      `(font-lock-comment-face ((,class (:foreground ,base00))))
     44      `(mode-line
     45        ((,class (:foreground ,base2 :background ,(solarized-color-blend base03 base3 0.85 2)))))
     46      `(mode-line-inactive
     47        ((,class (:foreground ,base00 :background ,(solarized-color-blend base03 "black" 0.85 2)))))
     48      `(mode-line-buffer-id ((,class (:foreground ,base3 :weight bold))))
     49      `(minibuffer-prompt ((,class (:foreground ,base1)))))))
     50 
     51 (provide-theme 'solarized-wombat-dark)
     52 
     53 (provide 'solarized-wombat-dark-theme)
     54 
     55 ;; Local Variables:
     56 ;; indent-tabs-mode: nil
     57 ;; End:
     58 
     59 ;;; solarized-wombat-dark-theme.el ends here