Personal emacs config
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
2.2 KiB

  1. ;;; smart-mode-line-atom-one-dark-theme.el --- Atom-one-dark theme for smart-mode-line
  2. ;; Copyright (C) 2018-2021 Davide Restivo
  3. ;; Author: Davide Restivo <davide.restivo@yahoo.it>
  4. ;; Maintainer: Davide Restivo <davide.restivo@yahoo.it>
  5. ;; Version: 0.2
  6. ;; Package-Version: 20201229.1711
  7. ;; Package-Commit: 0c360f390cbeea59dceb99e8c499e0db7c323510
  8. ;; URL: https://github.com/daviderestivo/smart-mode-line-atom-one-dark-theme
  9. ;; Package-Requires: ((emacs "24.3") (smart-mode-line "2.10"))
  10. ;; Keywords: mode-line themes faces
  11. ;;; Commentary:
  12. ;;
  13. ;; Atom-one-dark theme for smart-mode-line
  14. ;;; License:
  15. ;;
  16. ;; This file is NOT part of GNU Emacs.
  17. ;;
  18. ;; This program is free software; you can redistribute it and/or
  19. ;; modify it under the terms of the GNU General Public License
  20. ;; as published by the Free Software Foundation; either version 3
  21. ;; of the License, or (at your option) any later version.
  22. ;;
  23. ;; This program is distributed in the hope that it will be useful,
  24. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  25. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  26. ;; GNU General Public License for more details.
  27. ;;
  28. ;;; Change Log:
  29. ;; 0.2 - 2018/09/15 - Add packages dependencies, version and keywords
  30. ;; 0.1 - 2018/06/30 - Created File.
  31. ;;; Code:
  32. (deftheme smart-mode-line-atom-one-dark
  33. "Atom-one-dark theme for smart-mode-line.")
  34. (custom-theme-set-faces
  35. 'smart-mode-line-atom-one-dark
  36. '(mode-line-inactive ((t :background "#282C34" :box (:line-width 3 :color "#282C34"))))
  37. '(mode-line ((t :background "#2C323C" :box (:line-width 3 :color "#2C323C"))))
  38. '(sml/global ((t :inherit font-lock-preprocessor-face)))
  39. '(sml/filename ((t :inherit mode-line-buffer-id)))
  40. '(sml/prefix ((t :inherit (font-lock-variable-name-face sml/global))))
  41. '(sml/read-only ((t :inherit (font-lock-type-face sml/not-modified))))
  42. '(sml/modes ((t :foreground nil :inherit sml/filename :weight normal)))
  43. ;; Helm
  44. '(helm-candidate-number ((t :background "#2C323C"))))
  45. ;;;###autoload
  46. (when load-file-name
  47. (add-to-list 'custom-theme-load-path
  48. (file-name-as-directory (file-name-directory load-file-name))))
  49. (provide-theme 'smart-mode-line-atom-one-dark)
  50. ;;; smart-mode-line-atom-one-dark-theme.el ends here.