Gnu Guix Rice (ofc with stow)
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.

156 lines
5.7 KiB

  1. ;;; gruvbox-dark-medium-theme.el --- A retro-groove colour theme for Emacs -*- lexical-binding: t -*-
  2. ;; Copyright (c) 2013 Lee Machin
  3. ;; Copyright (c) 2013-2016 Eduardo Lavaque
  4. ;; Copyright (c) 2016-2017 Jason Milkins
  5. ;; Copyright (c) 2017-2018 Martijn Terpstra
  6. ;; Author: Jason Milkins <jasonm23@gmail.com>
  7. ;; (current maintainer)
  8. ;;
  9. ;; Author-list: Lee Machin <ljmachin@gmail.com>,
  10. ;; Eduardo Lavaque <me@greduan.com>
  11. ;;
  12. ;; URL: http://github.com/greduan/emacs-theme-gruvbox
  13. ;; Version: 1.26.0
  14. ;; Package-Requires: ((autothemer "0.2"))
  15. ;;; Commentary:
  16. ;; Using autothemer since 1.00
  17. ;; A port of the Gruvbox colorscheme for Vim, built on top of the new built-in
  18. ;; theme support in Emacs 24.
  19. ;;
  20. ;; This theme contains my own modifications and it's a bit opinionated
  21. ;; sometimes, deviating from the original because of it. I try to stay
  22. ;; true to the original as much as possible, however. I only make
  23. ;; changes where I would have made the changes on the original.
  24. ;;
  25. ;; Since there is no direct equivalent in syntax highlighting from Vim to Emacs
  26. ;; some stuff may look different, especially in stuff like JS2-mode, where it
  27. ;; adds stuff that Vim doesn't have, in terms of syntax.
  28. ;;; Credits:
  29. ;; Pavel Pertsev created the original theme for Vim, on which this port
  30. ;; is based.
  31. ;; Lee Machin created the first port of the original theme, which
  32. ;; Greduan developed further adding support for several major modes.
  33. ;;
  34. ;; Jason Milkins (ocodo) has maintained the theme since 2015 and is
  35. ;; working with the community to add further mode support and align
  36. ;; the project more closely with Vim Gruvbox.
  37. ;;; Code:
  38. (eval-when-compile
  39. (require 'cl-lib))
  40. (require 'gruvbox)
  41. (gruvbox-deftheme
  42. gruvbox-dark-medium
  43. "A retro-groove colour theme (dark version, medium contrast)"
  44. ((((class color) (min-colors #xFFFFFF)) ; col 1 GUI/24bit
  45. ((class color) (min-colors #xFF))) ; col 2 Xterm/256
  46. (gruvbox-dark0_hard "#1d2021" "#1c1c1c")
  47. (gruvbox-dark0 "#282828" "#262626")
  48. (gruvbox-dark0_soft "#32302f" "#303030")
  49. (gruvbox-dark1 "#3c3836" "#3a3a3a")
  50. (gruvbox-dark2 "#504945" "#4e4e4e")
  51. (gruvbox-dark3 "#665c54" "#626262")
  52. (gruvbox-dark4 "#7c6f64" "#767676")
  53. (gruvbox-gray "#928374" "#8a8a8a")
  54. (gruvbox-light0_hard "#ffffc8" "#ffffd7")
  55. (gruvbox-light0 "#fdf4c1" "#ffffaf")
  56. (gruvbox-light1 "#ebdbb2" "#ffdfaf")
  57. (gruvbox-light2 "#d5c4a1" "#bcbcbc")
  58. (gruvbox-light3 "#bdae93" "#a8a8a8")
  59. (gruvbox-light4 "#a89984" "#949494")
  60. (gruvbox-bright_red "#fb4933" "#d75f5f")
  61. (gruvbox-bright_green "#b8bb26" "#afaf00")
  62. (gruvbox-bright_yellow "#fabd2f" "#ffaf00")
  63. (gruvbox-bright_blue "#83a598" "#87afaf")
  64. (gruvbox-bright_purple "#d3869b" "#d787af")
  65. (gruvbox-bright_aqua "#8ec07c" "#87af87")
  66. (gruvbox-bright_orange "#fe8019" "#ff8700")
  67. (gruvbox-neutral_red "#fb4933" "#d75f5f")
  68. (gruvbox-neutral_green "#b8bb26" "#afaf00")
  69. (gruvbox-neutral_yellow "#fabd2f" "#ffaf00")
  70. (gruvbox-neutral_blue "#83a598" "#87afaf")
  71. (gruvbox-neutral_purple "#d3869b" "#d787af")
  72. (gruvbox-neutral_aqua "#8ec07c" "#87af87")
  73. (gruvbox-neutral_orange "#fe8019" "#ff8700")
  74. (gruvbox-faded_red "#cc241d" "#d75f5f")
  75. (gruvbox-faded_green "#98971a" "#afaf00")
  76. (gruvbox-faded_yellow "#d79921" "#ffaf00")
  77. (gruvbox-faded_blue "#458588" "#87afaf")
  78. (gruvbox-faded_purple "#b16286" "#d787af")
  79. (gruvbox-faded_aqua "#689d6a" "#87af87")
  80. (gruvbox-faded_orange "#d65d0e" "#ff8700")
  81. (gruvbox-dark_red "#421E1E" "#5f0000")
  82. (gruvbox-dark_blue "#2B3C44" "#000087")
  83. (gruvbox-dark_aqua "#36473A" "#005f5f")
  84. (gruvbox-delimiter-one "#458588" "#008787")
  85. (gruvbox-delimiter-two "#b16286" "#d75f87")
  86. (gruvbox-delimiter-three "#8ec07c" "#87af87")
  87. (gruvbox-delimiter-four "#d65d0e" "#d75f00")
  88. (gruvbox-white "#FFFFFF" "#FFFFFF")
  89. (gruvbox-black "#000000" "#000000")
  90. (gruvbox-sienna "#DD6F48" "#d7875f")
  91. (gruvbox-lightblue4 "#66999D" "#5fafaf")
  92. (gruvbox-burlywood4 "#BBAA97" "#afaf87")
  93. (gruvbox-aquamarine4 "#83A598" "#87af87")
  94. (gruvbox-turquoise4 "#61ACBB" "#5fafaf")
  95. (gruvbox-ediff-current-diff-A "#4f2121" "#4f2121")
  96. (gruvbox-ediff-current-diff-B "#243c24" "#5f5f00")
  97. (gruvbox-ediff-current-diff-C "#4f214f" "#4f214f")
  98. (gruvbox-ediff-current-diff-Ancestor "#21214f" "#21214f")
  99. (gruvbox-ediff-fine-diff-A "#761919" "#761919")
  100. (gruvbox-ediff-fine-diff-B "#1c691c" "#1c691c")
  101. (gruvbox-ediff-fine-diff-C "#761976" "#761976")
  102. (gruvbox-ediff-fine-diff-Ancestor "#12129d" "#12129d")
  103. (gruvbox-bg gruvbox-dark0)
  104. (gruvbox-bg_inactive gruvbox-dark0_soft)
  105. )
  106. (custom-theme-set-variables 'gruvbox-dark-medium
  107. `(ansi-color-names-vector
  108. [,gruvbox-dark1
  109. ,gruvbox-bright_red
  110. ,gruvbox-bright_green
  111. ,gruvbox-bright_yellow
  112. ,gruvbox-bright_blue
  113. ,gruvbox-bright_purple
  114. ,gruvbox-bright_aqua
  115. ,gruvbox-light1])
  116. `(pdf-view-midnight-colors '(,gruvbox-light0 . ,gruvbox-bg))))
  117. ;;;###autoload
  118. (and load-file-name
  119. (boundp 'custom-theme-load-path)
  120. (add-to-list 'custom-theme-load-path
  121. (file-name-as-directory
  122. (file-name-directory load-file-name))))
  123. (provide-theme 'gruvbox-dark-medium)
  124. ;; Local Variables:
  125. ;; eval: (when (fboundp 'rainbow-mode) (rainbow-mode +1))
  126. ;; End:
  127. ;;; gruvbox-dark-medium-theme.el ends here