ruby_learner 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +58 -0
- data/LICENSE.txt +21 -0
- data/README.md +65 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/new_terminal +25 -0
- data/bin/setup +8 -0
- data/docs/happy_ruby/RussOlsen_EloquentRuby_c1.pdf +0 -0
- data/docs/happy_ruby/RussOlsen_EloquentRuby_c5.pdf +0 -0
- data/docs/happy_ruby/TanoshiiRuby_v3_c23.pdf +0 -0
- data/docs/happy_ruby/TanoshiiRuby_v5_c1.pdf +0 -0
- data/docs/happy_ruby/TanoshiiRuby_v5_c2-3.pdf +0 -0
- data/docs/happy_ruby/c2.ipynb +479 -0
- data/docs/happy_ruby/c3_4.ipynb +237 -0
- data/docs/seminar/8-1.org +18 -0
- data/exe/ruby_learner +5 -0
- data/lib/ruby_learner/h.rb +14 -0
- data/lib/ruby_learner/methods.rb +131 -0
- data/lib/ruby_learner/random_h.rb +16 -0
- data/lib/ruby_learner/ruby_learner.rb +43 -0
- data/lib/ruby_learner/sequential_h.rb +15 -0
- data/lib/ruby_learner/typing_practice.rb +21 -0
- data/lib/ruby_learner/version.rb +3 -0
- data/questions/random_check/.rspec +1 -0
- data/questions/random_check/random_h.rb +16 -0
- data/questions/random_check/section_1/.rspec +1 -0
- data/questions/random_check/section_1/lib/answer.rb +15 -0
- data/questions/random_check/section_1/lib/sentence.org +9 -0
- data/questions/random_check/section_1/lib/workplace.rb +5 -0
- data/questions/random_check/section_1/spec/spec_helper.rb +100 -0
- data/questions/random_check/section_1/spec/workplace_spec.rb +10 -0
- data/questions/random_check/section_2/.rspec +1 -0
- data/questions/random_check/section_2/lib/answer.rb +17 -0
- data/questions/random_check/section_2/lib/sentence.org +12 -0
- data/questions/random_check/section_2/lib/workplace.rb +5 -0
- data/questions/random_check/section_2/spec/.rspec +1 -0
- data/questions/random_check/section_2/spec/spec_helper.rb +100 -0
- data/questions/random_check/section_2/spec/workplace_spec.rb +11 -0
- data/questions/sequential_check/section_1/part_1/lib/answer.rb +9 -0
- data/questions/sequential_check/section_1/part_1/lib/sentence.org +9 -0
- data/questions/sequential_check/section_1/part_1/lib/workplace.rb +5 -0
- data/questions/sequential_check/section_1/part_1/spec/spec_helper.rb +100 -0
- data/questions/sequential_check/section_1/part_1/spec/workplace_spec.rb +10 -0
- data/questions/sequential_check/section_1/part_2/lib/answer.rb +16 -0
- data/questions/sequential_check/section_1/part_2/lib/sentence.org +12 -0
- data/questions/sequential_check/section_1/part_2/lib/workplace.rb +5 -0
- data/questions/sequential_check/section_1/part_2/spec/.rspec +1 -0
- data/questions/sequential_check/section_1/part_2/spec/spec_helper.rb +100 -0
- data/questions/sequential_check/section_1/part_2/spec/workplace_spec.rb +11 -0
- data/ruby_learner.gemspec +41 -0
- data/takahashi/docs/README.org +139 -0
- data/takahashi/docs/drill.html +875 -0
- data/takahashi/docs/drill.html~ +877 -0
- data/takahashi/docs/drill.org +446 -0
- data/takahashi/docs/ruby_for_beginner.html +2642 -0
- data/takahashi/docs/ruby_for_beginner.org +1430 -0
- data/takahashi/sample_prog/answer/10_1.rb +5 -0
- data/takahashi/sample_prog/answer/11_1.rb +5 -0
- data/takahashi/sample_prog/answer/11_2.rb +4 -0
- data/takahashi/sample_prog/answer/1_1.rb +1 -0
- data/takahashi/sample_prog/answer/1_2.rb +1 -0
- data/takahashi/sample_prog/answer/1_3.rb +1 -0
- data/takahashi/sample_prog/answer/2_1.rb +5 -0
- data/takahashi/sample_prog/answer/2_2.rb +12 -0
- data/takahashi/sample_prog/answer/3_1.rb +10 -0
- data/takahashi/sample_prog/answer/4_1.rb +7 -0
- data/takahashi/sample_prog/answer/5_1.rb +6 -0
- data/takahashi/sample_prog/answer/5_2.rb +3 -0
- data/takahashi/sample_prog/answer/6_1.rb +3 -0
- data/takahashi/sample_prog/answer/6_2.rb +5 -0
- data/takahashi/sample_prog/answer/6_3.rb +5 -0
- data/takahashi/sample_prog/answer/6_4.rb +7 -0
- data/takahashi/sample_prog/answer/7_1.rb +3 -0
- data/takahashi/sample_prog/answer/7_2.rb +8 -0
- data/takahashi/sample_prog/answer/9_1.rb +3 -0
- data/takahashi/sample_prog/answer/9_2.rb +5 -0
- data/takahashi/sample_prog/answer/9_3.rb +10 -0
- data/takahashi/sample_prog/answer/hello.rb +3 -0
- data/workshop/.rspec +1 -0
- data/workshop/emacs.d/ac-comphist.dat +50 -0
- data/workshop/emacs.d/cp5022x.el +156 -0
- data/workshop/emacs.d/elpa/archives/gnu/archive-contents +1240 -0
- data/workshop/emacs.d/elpa/archives/melpa/archive-contents +2 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/auto-complete-autoloads.el +65 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/auto-complete-config.el +551 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/auto-complete-config.elc +0 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/auto-complete-pkg.el +6 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/auto-complete.el +2164 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/auto-complete.elc +0 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/ada-mode +72 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/c++-mode +99 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/c-mode +55 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/caml-mode +231 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/clojure-mode +580 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/clojurescript-mode +475 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/coq-mode +278 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/css-mode +874 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/erlang-mode +216 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/ess-julia-mode +37 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/go-mode +25 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/haskell-mode +679 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/java-mode +53 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/js-mode +148 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/julia-mode +37 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/lua-mode +21 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/nim-mode +70 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/objc-mode +161 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/octave-mode +46 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/php-mode +6144 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/python-mode +379 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/qml-mode +183 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/ruby-mode +181 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/scala-mode +1347 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/scheme-mode +216 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/sclang-mode +1481 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/sh-mode +182 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/swift-mode +87 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/tcl-mode +172 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/ts-mode +797 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/tuareg-mode +231 -0
- data/workshop/emacs.d/elpa/auto-complete-20170124.1845/dict/verilog-mode +313 -0
- data/workshop/emacs.d/elpa/better-defaults-20170613.2104/better-defaults-autoloads.el +16 -0
- data/workshop/emacs.d/elpa/better-defaults-20170613.2104/better-defaults-pkg.el +2 -0
- data/workshop/emacs.d/elpa/better-defaults-20170613.2104/better-defaults.el +90 -0
- data/workshop/emacs.d/elpa/better-defaults-20170613.2104/better-defaults.elc +0 -0
- data/workshop/emacs.d/elpa/haml-mode-20170923.2153/haml-mode-autoloads.el +26 -0
- data/workshop/emacs.d/elpa/haml-mode-20170923.2153/haml-mode-pkg.el +2 -0
- data/workshop/emacs.d/elpa/haml-mode-20170923.2153/haml-mode.el +877 -0
- data/workshop/emacs.d/elpa/haml-mode-20170923.2153/haml-mode.elc +0 -0
- data/workshop/emacs.d/elpa/haml-mode-readme.txt +8 -0
- data/workshop/emacs.d/elpa/material-theme-20171123.1040/material-light-theme.el +918 -0
- data/workshop/emacs.d/elpa/material-theme-20171123.1040/material-light-theme.elc +0 -0
- data/workshop/emacs.d/elpa/material-theme-20171123.1040/material-theme-autoloads.el +32 -0
- data/workshop/emacs.d/elpa/material-theme-20171123.1040/material-theme-pkg.el +8 -0
- data/workshop/emacs.d/elpa/material-theme-20171123.1040/material-theme.el +912 -0
- data/workshop/emacs.d/elpa/material-theme-20171123.1040/material-theme.elc +0 -0
- data/workshop/emacs.d/elpa/ox-bibtex-chinese-readme.txt +21 -0
- data/workshop/emacs.d/elpa/popup-20160709.729/popup-autoloads.el +15 -0
- data/workshop/emacs.d/elpa/popup-20160709.729/popup-pkg.el +2 -0
- data/workshop/emacs.d/elpa/popup-20160709.729/popup.el +1432 -0
- data/workshop/emacs.d/elpa/popup-20160709.729/popup.elc +0 -0
- data/workshop/emacs.d/elpa/yaml-mode-20180212.1556/yaml-mode-autoloads.el +33 -0
- data/workshop/emacs.d/elpa/yaml-mode-20180212.1556/yaml-mode-pkg.el +2 -0
- data/workshop/emacs.d/elpa/yaml-mode-20180212.1556/yaml-mode.el +470 -0
- data/workshop/emacs.d/elpa/yaml-mode-20180212.1556/yaml-mode.elc +0 -0
- data/workshop/emacs.d/elpa/yaml-mode-readme.txt +25 -0
- data/workshop/emacs.d/haml-mode-master/.gitignore +1 -0
- data/workshop/emacs.d/haml-mode-master/.mailmap +2 -0
- data/workshop/emacs.d/haml-mode-master/MIT-LICENSE +20 -0
- data/workshop/emacs.d/haml-mode-master/README.md +47 -0
- data/workshop/emacs.d/haml-mode-master/haml-mode.el +887 -0
- data/workshop/emacs.d/iceberg_theme.el +202 -0
- data/workshop/emacs.d/init-open-recentf.el +133 -0
- data/workshop/emacs.d/init.el +229 -0
- data/workshop/emacs.d/inits/line-num.el +264 -0
- data/workshop/emacs.d/install-elisp.el +366 -0
- data/workshop/emacs.d/markdown-mode/markdown-mode.el +5978 -0
- data/workshop/emacs.d/notes +12 -0
- data/workshop/emacs.d/processing-mode/processing-mode.el +275 -0
- data/workshop/emacs.d/recentf +31 -0
- data/workshop/emacs.d/ruby-mode/inf-ruby.el +416 -0
- data/workshop/emacs.d/ruby-mode/rdoc-mode.el +130 -0
- data/workshop/emacs.d/ruby-mode/ruby-electric.el +205 -0
- data/workshop/emacs.d/ruby-mode/ruby-mode.el +1496 -0
- data/workshop/emacs.d/ruby-mode/ruby-style.el +78 -0
- data/workshop/emacs.d/ruby-mode/rubydb2x.el +104 -0
- data/workshop/emacs.d/ruby-mode/rubydb3x.el +115 -0
- data/workshop/emacs.d/ruby_learner_init.el +244 -0
- data/workshop/emacs.d/themes/dracula-theme.el +431 -0
- data/workshop/emacs.d/themes/iceberg-theme.el +205 -0
- data/workshop/emacs.d/themes/my-misterioso-theme.el +109 -0
- data/workshop/emacs.d/themes/my-wombat-theme.el +121 -0
- data/workshop/emacs.d/wiki-mode/wiki.el +976 -0
- data/workshop/emacs_help.org +34 -0
- data/workshop/lib/answer.rb +1 -0
- data/workshop/lib/sentence.org +1 -0
- data/workshop/lib/workplace.rb +1 -0
- data/workshop/restore/empty.rb +0 -0
- data/workshop/spec/spec_helper.rb +100 -0
- data/workshop/spec/workplace_spec.rb +1 -0
- data/workshop/training_data.txt +3 -0
- metadata +343 -0
@@ -0,0 +1,109 @@
|
|
1
|
+
;;; misterioso-theme.el --- Custom face theme for Emacs
|
2
|
+
|
3
|
+
;; Copyright (C) 2011-2017 Free Software Foundation, Inc.
|
4
|
+
|
5
|
+
;; Author: Sebastian Hermida
|
6
|
+
|
7
|
+
;; This file is part of GNU Emacs.
|
8
|
+
|
9
|
+
;; GNU Emacs is free software: you can redistribute it and/or modify
|
10
|
+
;; it under the terms of the GNU General Public License as published by
|
11
|
+
;; the Free Software Foundation, either version 3 of the License, or
|
12
|
+
;; (at your option) any later version.
|
13
|
+
|
14
|
+
;; GNU Emacs is distributed in the hope that it will be useful,
|
15
|
+
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
16
|
+
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
17
|
+
;; GNU General Public License for more details.
|
18
|
+
|
19
|
+
;; You should have received a copy of the GNU General Public License
|
20
|
+
;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
21
|
+
|
22
|
+
;;; Code:
|
23
|
+
|
24
|
+
(deftheme my-misterioso
|
25
|
+
"Predominantly blue/cyan faces on a dark cyan background.")
|
26
|
+
|
27
|
+
(let ((class '((class color) (min-colors 89))))
|
28
|
+
|
29
|
+
(custom-theme-set-faces
|
30
|
+
'my-misterioso
|
31
|
+
;; Ensure sufficient contrast on 256-color xterms.
|
32
|
+
;'(default ((((type nil)) (:background ,"#282a36" :foreground ,"#f8f8f2"))
|
33
|
+
; (,class (:background ,"#282a36" :foreground ,"#f8f8f2"))))
|
34
|
+
;;'(default ((t (:background "#181a26" :foreground "WhiteSmoke"))))
|
35
|
+
`(cursor ((,class (:background "#415160"))))
|
36
|
+
;; Highlighting faces
|
37
|
+
`(fringe ((,class (:background "#2e3748"))))
|
38
|
+
`(highlight ((,class (:background "#338f86" :foreground "#e1e1e0"))))
|
39
|
+
`(region ((,class (:background "#2d4948" :foreground "#e1e1e0"))))
|
40
|
+
`(isearch ((,class (:background "#fcffad" :foreground "#000000"))))
|
41
|
+
`(lazy-highlight ((,class (:background "#338f86"))))
|
42
|
+
`(trailing-whitespace ((,class (:background "#ff4242"))))
|
43
|
+
;; Mode line faces
|
44
|
+
`(mode-line ((,class (:background "#212931" :foreground "#eeeeec"))))
|
45
|
+
`(mode-line-inactive
|
46
|
+
((,class (:background "#878787" :foreground "#eeeeec"))))
|
47
|
+
`(header-line ((,class (:background "#e5e5e5" :foreground "#333333"))))
|
48
|
+
;; Escape and prompt faces
|
49
|
+
`(minibuffer-prompt ((,class (:foreground "#729fcf" :weight bold))))
|
50
|
+
;; Font lock faces
|
51
|
+
`(font-lock-builtin-face ((,class (:foreground "#23d7d7"))))
|
52
|
+
`(font-lock-comment-face ((,class (:foreground "#74af68"))))
|
53
|
+
`(font-lock-constant-face ((,class (:foreground "#008b8b"))))
|
54
|
+
`(font-lock-function-name-face
|
55
|
+
((,class (:foreground "#00ede1" :weight bold))))
|
56
|
+
`(font-lock-keyword-face ((,class (:foreground "#ffad29" :weight bold))))
|
57
|
+
`(font-lock-string-face ((,class (:foreground "#e67128"))))
|
58
|
+
`(font-lock-type-face ((,class (:foreground "#34cae2"))))
|
59
|
+
`(font-lock-variable-name-face ((,class (:foreground "#dbdb95"))))
|
60
|
+
`(font-lock-warning-face ((,class (:foreground "#ff4242" :weight bold))))
|
61
|
+
;; Buttons and links
|
62
|
+
`(button ((,class (:underline t))))
|
63
|
+
`(link ((,class (:foreground "#59e9ff" :underline t))))
|
64
|
+
`(link-visited ((,class (:foreground "#ed74cd" :underline t))))
|
65
|
+
;; Gnus faces
|
66
|
+
`(gnus-group-news-1 ((,class (:foreground "#ff4242" :weight bold))))
|
67
|
+
`(gnus-group-news-1-low ((,class (:foreground "#ff4242"))))
|
68
|
+
`(gnus-group-news-2 ((,class (:foreground "#00ede1" :weight bold))))
|
69
|
+
`(gnus-group-news-2-low ((,class (:foreground "#00ede1"))))
|
70
|
+
`(gnus-group-news-3 ((,class (:foreground "#23d7d7" :weight bold))))
|
71
|
+
`(gnus-group-news-3-low ((,class (:foreground "#23d7d7"))))
|
72
|
+
`(gnus-group-news-4 ((,class (:foreground "#74af68" :weight bold))))
|
73
|
+
`(gnus-group-news-4-low ((,class (:foreground "#74af68"))))
|
74
|
+
`(gnus-group-news-5 ((,class (:foreground "#dbdb95" :weight bold))))
|
75
|
+
`(gnus-group-news-5-low ((,class (:foreground "#dbdb95"))))
|
76
|
+
`(gnus-group-news-low ((,class (:foreground "#008b8b"))))
|
77
|
+
`(gnus-group-mail-1 ((,class (:foreground "#ff4242" :weight bold))))
|
78
|
+
`(gnus-group-mail-1-low ((,class (:foreground "#ff4242"))))
|
79
|
+
`(gnus-group-mail-2 ((,class (:foreground "#00ede1" :weight bold))))
|
80
|
+
`(gnus-group-mail-2-low ((,class (:foreground "#00ede1"))))
|
81
|
+
`(gnus-group-mail-3 ((,class (:foreground "#23d7d7" :weight bold))))
|
82
|
+
`(gnus-group-mail-3-low ((,class (:foreground "#23d7d7"))))
|
83
|
+
`(gnus-group-mail-low ((,class (:foreground "#008b8b"))))
|
84
|
+
`(gnus-header-content ((,class (:weight normal :foreground "#ffad29"))))
|
85
|
+
`(gnus-header-from ((,class (:foreground "#e67128" :weight bold))))
|
86
|
+
`(gnus-header-subject ((,class (:foreground "#dbdb95"))))
|
87
|
+
`(gnus-header-name ((,class (:foreground "#00ede1"))))
|
88
|
+
`(gnus-header-newsgroups ((,class (:foreground "#e67128"))))
|
89
|
+
;; Message faces
|
90
|
+
`(message-header-name ((,class (:foreground "#ffad29" :weight bold))))
|
91
|
+
`(message-header-cc ((,class (:foreground "#e67128"))))
|
92
|
+
`(message-header-other ((,class (:foreground "#e67128"))))
|
93
|
+
`(message-header-subject ((,class (:foreground "#dbdb95"))))
|
94
|
+
`(message-header-to ((,class (:foreground "#00ede1"))))
|
95
|
+
`(message-cited-text ((,class (:foreground "#74af68"))))
|
96
|
+
`(message-separator ((,class (:foreground "#23d7d7"))))))
|
97
|
+
|
98
|
+
(custom-theme-set-variables
|
99
|
+
'my-misterioso
|
100
|
+
'(ansi-color-names-vector ["#2d3743" "#ff4242" "#74af68" "#dbdb95"
|
101
|
+
"#34cae2" "#008b8b" "#00ede1" "#e1e1e0"]))
|
102
|
+
|
103
|
+
(provide-theme 'my-misterioso)
|
104
|
+
|
105
|
+
;; Local Variables:
|
106
|
+
;; no-byte-compile: t
|
107
|
+
;; End:
|
108
|
+
|
109
|
+
;;; my-misterioso-theme.el ends here
|
@@ -0,0 +1,121 @@
|
|
1
|
+
;;; wombat-theme.el --- Custom face theme for Emacs
|
2
|
+
|
3
|
+
;; Copyright (C) 2011-2017 Free Software Foundation, Inc.
|
4
|
+
|
5
|
+
;; Author: Kristoffer Grönlund <krig@koru.se>
|
6
|
+
|
7
|
+
;; This file is part of GNU Emacs.
|
8
|
+
|
9
|
+
;; GNU Emacs is free software: you can redistribute it and/or modify
|
10
|
+
;; it under the terms of the GNU General Public License as published by
|
11
|
+
;; the Free Software Foundation, either version 3 of the License, or
|
12
|
+
;; (at your option) any later version.
|
13
|
+
|
14
|
+
;; GNU Emacs is distributed in the hope that it will be useful,
|
15
|
+
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
16
|
+
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
17
|
+
;; GNU General Public License for more details.
|
18
|
+
|
19
|
+
;; You should have received a copy of the GNU General Public License
|
20
|
+
;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
21
|
+
|
22
|
+
;;; Code:
|
23
|
+
|
24
|
+
(deftheme my-wombat
|
25
|
+
"Medium-contrast faces with a dark gray background.
|
26
|
+
Adapted, with permission, from a Vim color scheme by Lars H. Nielsen.
|
27
|
+
Basic, Font Lock, Isearch, Gnus, Message, and Ansi-Color faces
|
28
|
+
are included.")
|
29
|
+
|
30
|
+
(let ((class '((class color) (min-colors 89))))
|
31
|
+
(custom-theme-set-faces
|
32
|
+
'my-wombat
|
33
|
+
;; `(default ((,class (:background "#242424" :foreground "#f6f3e8"))))
|
34
|
+
`(cursor ((,class (:background "#656565"))))
|
35
|
+
;; Highlighting faces
|
36
|
+
`(fringe ((,class (:background "#303030"))))
|
37
|
+
`(highlight ((,class (:background "#454545" :foreground "#ffffff"
|
38
|
+
:underline t))))
|
39
|
+
`(region ((,class (:background "#444444" :foreground "#f6f3e8"))))
|
40
|
+
`(secondary-selection ((,class (:background "#333366" :foreground "#f6f3e8"))))
|
41
|
+
`(isearch ((,class (:background "#343434" :foreground "#857b6f"))))
|
42
|
+
`(lazy-highlight ((,class (:background "#384048" :foreground "#a0a8b0"))))
|
43
|
+
;; Mode line faces
|
44
|
+
`(mode-line ((,class (:background "#444444" :foreground "#f6f3e8"))))
|
45
|
+
`(mode-line-inactive ((,class (:background "#444444" :foreground "#857b6f"))))
|
46
|
+
;; Escape and prompt faces
|
47
|
+
`(minibuffer-prompt ((,class (:foreground "#e5786d"))))
|
48
|
+
`(escape-glyph ((,class (:foreground "#ddaa6f" :weight bold))))
|
49
|
+
;; Font lock faces
|
50
|
+
;;`(font-lock-builtin-face ((,class (:foreground "#e5786d"))))
|
51
|
+
;;`(font-lock-comment-face ((,class (:foreground "#99968b"))))
|
52
|
+
;;`(font-lock-constant-face ((,class (:foreground "#e5786d"))))
|
53
|
+
;;`(font-lock-function-name-face ((,class (:foreground "#cae682"))))
|
54
|
+
;;`(font-lock-keyword-face ((,class (:foreground "#4c82a9" :weight bold))))
|
55
|
+
;;`(font-lock-string-face ((,class (:foreground "#95e454"))))
|
56
|
+
;;`(font-lock-type-face ((,class (:foreground "#92a65e" :weight bold))))
|
57
|
+
;;`(font-lock-variable-name-face ((,class (:foreground "#cae682"))))
|
58
|
+
;;`(font-lock-warning-face ((,class (:foreground "#ccaa8f"))))
|
59
|
+
`(font-lock-builtin-face ((t (:foreground ,"#C7C9D1" :weight bold))))
|
60
|
+
`(font-lock-comment-face ((t (:foreground ,"#3D415D"))))
|
61
|
+
`(font-lock-comment-delimiter-face ((t :foreground ,"#3D415D")))
|
62
|
+
`(font-lock-constant-face ((t (:foreground ,"#A093C7"))))
|
63
|
+
`(font-lock-doc-face ((t (:foreground ,"#6B7089"))))
|
64
|
+
`(font-lock-doc-string-face ((t (:foreground ,"#6B7089"))))
|
65
|
+
`(font-lock-function-name-face ((t (:foreground ,"#E2A478"))))
|
66
|
+
`(font-lock-keyword-face ((t (:foreground ,"#84A0C6"))))
|
67
|
+
`(font-lock-preprocessor-face ((t (:foreground ,"#B4BE82"))))
|
68
|
+
`(font-lock-string-face ((t (:foreground ,"#ffffc4"))))
|
69
|
+
`(font-lock-type-face ((t (:foreground ,"#89B8C2"))))
|
70
|
+
`(font-lock-variable-name-face ((t (:foreground ,"#B7C685"))))
|
71
|
+
`(font-lock-warning-face ((t (:foreground , "#E27878"))))
|
72
|
+
;; Button and link faces
|
73
|
+
`(link ((,class (:foreground "#8ac6f2" :underline t))))
|
74
|
+
`(link-visited ((,class (:foreground "#e5786d" :underline t))))
|
75
|
+
`(button ((,class (:background "#333333" :foreground "#f6f3e8"))))
|
76
|
+
`(header-line ((,class (:background "#303030" :foreground "#e7f6da"))))
|
77
|
+
;; Gnus faces
|
78
|
+
`(gnus-group-news-1 ((,class (:weight bold :foreground "#95e454"))))
|
79
|
+
`(gnus-group-news-1-low ((,class (:foreground "#95e454"))))
|
80
|
+
`(gnus-group-news-2 ((,class (:weight bold :foreground "#cae682"))))
|
81
|
+
`(gnus-group-news-2-low ((,class (:foreground "#cae682"))))
|
82
|
+
`(gnus-group-news-3 ((,class (:weight bold :foreground "#ccaa8f"))))
|
83
|
+
`(gnus-group-news-3-low ((,class (:foreground "#ccaa8f"))))
|
84
|
+
`(gnus-group-news-4 ((,class (:weight bold :foreground "#99968b"))))
|
85
|
+
`(gnus-group-news-4-low ((,class (:foreground "#99968b"))))
|
86
|
+
`(gnus-group-news-5 ((,class (:weight bold :foreground "#cae682"))))
|
87
|
+
`(gnus-group-news-5-low ((,class (:foreground "#cae682"))))
|
88
|
+
`(gnus-group-news-low ((,class (:foreground "#99968b"))))
|
89
|
+
`(gnus-group-mail-1 ((,class (:weight bold :foreground "#95e454"))))
|
90
|
+
`(gnus-group-mail-1-low ((,class (:foreground "#95e454"))))
|
91
|
+
`(gnus-group-mail-2 ((,class (:weight bold :foreground "#cae682"))))
|
92
|
+
`(gnus-group-mail-2-low ((,class (:foreground "#cae682"))))
|
93
|
+
`(gnus-group-mail-3 ((,class (:weight bold :foreground "#ccaa8f"))))
|
94
|
+
`(gnus-group-mail-3-low ((,class (:foreground "#ccaa8f"))))
|
95
|
+
`(gnus-group-mail-low ((,class (:foreground "#99968b"))))
|
96
|
+
`(gnus-header-content ((,class (:foreground "#8ac6f2"))))
|
97
|
+
`(gnus-header-from ((,class (:weight bold :foreground "#95e454"))))
|
98
|
+
`(gnus-header-subject ((,class (:foreground "#cae682"))))
|
99
|
+
`(gnus-header-name ((,class (:foreground "#8ac6f2"))))
|
100
|
+
`(gnus-header-newsgroups ((,class (:foreground "#cae682"))))
|
101
|
+
;; Message faces
|
102
|
+
`(message-header-name ((,class (:foreground "#8ac6f2" :weight bold))))
|
103
|
+
`(message-header-cc ((,class (:foreground "#95e454"))))
|
104
|
+
`(message-header-other ((,class (:foreground "#95e454"))))
|
105
|
+
`(message-header-subject ((,class (:foreground "#cae682"))))
|
106
|
+
`(message-header-to ((,class (:foreground "#cae682"))))
|
107
|
+
`(message-cited-text ((,class (:foreground "#99968b"))))
|
108
|
+
`(message-separator ((,class (:foreground "#e5786d" :weight bold))))))
|
109
|
+
|
110
|
+
(custom-theme-set-variables
|
111
|
+
'my-wombat
|
112
|
+
'(ansi-color-names-vector ["#242424" "#e5786d" "#95e454" "#cae682"
|
113
|
+
"#8ac6f2" "#333366" "#ccaa8f" "#f6f3e8"]))
|
114
|
+
|
115
|
+
(provide-theme 'my-wombat)
|
116
|
+
|
117
|
+
;; Local Variables:
|
118
|
+
;; no-byte-compile: t
|
119
|
+
;; End:
|
120
|
+
|
121
|
+
;;; wombat-theme.el ends here
|