├── .bundle └── config ├── .gitignore ├── Gemfile ├── Gemfile.lock ├── LICENSE ├── README.md ├── bin └── tm2deftheme ├── data └── scopes-to-faces.yml ├── generatedThemes ├── bespin-theme.el ├── birds-of-paradise-theme.el ├── bone-a-kite-theme.el ├── ciapre-black-theme.el ├── ciapre-theme.el ├── earthsong-light-theme.el ├── mbo-theme.el ├── railscasts-theme.el ├── resesif-boned-theme.el ├── rhuk-theme.el ├── tech49-theme.el └── twilight-theme.el ├── install-generated-themes.el ├── lib ├── tm2deftheme │ └── version.rb └── tmtheme-to-deftheme.rb ├── sampleThemes ├── Bespin.tmTheme ├── Birds of Paradise.tmTheme ├── Bone-a-kite.tmTheme ├── Ciapre Black.tmTheme ├── Ciapre.tmTheme ├── README.md ├── RailsCasts.tmTheme ├── Resesif Boned.tmTheme ├── Rhuk.tmTheme ├── Tech49.tmTheme ├── Twilight.tmTheme ├── earthsong-light.tmTheme └── mbo.tmTheme ├── slides.gif ├── spec └── spec_helper.rb ├── templates └── deftheme.erb.el ├── test.sh └── tm2deftheme.gemspec /.bundle/config: -------------------------------------------------------------------------------- 1 | --- {} 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled 2 | 3 | *.gem 4 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem 'plist4r' 4 | gem 'color' 5 | gem 'slop' 6 | gem 'erubis' 7 | gem 'pry' 8 | -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: https://rubygems.org/ 3 | specs: 4 | coderay (1.1.0) 5 | color (1.7) 6 | erubis (2.7.0) 7 | haml (4.0.5) 8 | tilt 9 | libxml-ruby (2.7.0) 10 | libxml4r (0.2.6) 11 | libxml-ruby (>= 1.1.3) 12 | method_source (0.8.2) 13 | plist4r (1.2.2) 14 | haml 15 | libxml-ruby 16 | libxml4r 17 | pry (0.10.0) 18 | coderay (~> 1.1.0) 19 | method_source (~> 0.8.1) 20 | slop (~> 3.4) 21 | slop (3.5.0) 22 | tilt (2.0.1) 23 | 24 | PLATFORMS 25 | ruby 26 | 27 | DEPENDENCIES 28 | color 29 | erubis 30 | plist4r 31 | pry 32 | slop 33 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # tm2deftheme 2 | 3 | Convert TextMate/SublimeText .tmTheme to Emacs 24 deftheme .el 4 | 5 | ### Install 6 | 7 | gem install tm2deftheme 8 | 9 | ### Usage: 10 | 11 | tm2deftheme [options] [themefile.tmTheme] 12 | 13 | options: 14 | 15 | -f ouput Emacs 24 deftheme to file 16 | e.g. Birds of Paradise.tmTheme 17 | 18 | becomes: 19 | 20 | birds-of-paradise-theme.el 21 | 22 | -s when used with -f silence output 23 | -o when used with -f overwrite existing file 24 | 25 | --debug debugging output 26 | 27 | When run without options converted theme is sent to `STDOUT` 28 | 29 | ### Notes 30 | 31 | Note that Emacs syntax highlighting is managed differently to 32 | SublimeText / TextMate. Various Emacs modes provide additional 33 | highlighing support, but `tm2deftheme` (currently) only maps to core 34 | `font-lock` faces. So while things won't look like a one-to-one copy, 35 | the results are still pretty good. 36 | 37 | Linum, fringe and modeline colours are derived from the base foreground 38 | and background colors. Support for [Rainbow Delimiters](http://www.emacswiki.org/emacs/RainbowDelimiters) 39 | is provided automatically. 40 | 41 | The imported foreground colors which constrast most from the background 42 | are averaged, from this average colour, 9 tint colors are generated and 43 | assigned to the `rainbow-delimiters-depth-n-face` collection. 44 | 45 | I'll be adding additional support for `js3-mode`, git-gutter, flyspell, 46 | flymake, flycheck, isearch and more. 47 | 48 | ### Demo 49 | 50 | See for yourself, here's a handful of converted themes, shown in their 51 | original format (here rendered by the excellent 52 | [http://tmtheme-editor.herokuapp.com/](http://tmtheme-editor.herokuapp.com/)) 53 | and then shown in Emacs 24 after conversion. 54 | 55 | ![](https://raw.githubusercontent.com/emacsfodder/tmtheme-to-deftheme/master/slides.gif) 56 | 57 | ### Dependencies 58 | 59 | Ruby 1.9 or later required. 60 | 61 | Development, clone and run `bundle install` in the project folder. 62 | 63 | ### Contribution / Development 64 | 65 | If you'd like to contribute, the best place to do so is in mapping 66 | SublimeText / TextMate scopes to Emacs faces. Although any issue 67 | posting, bug fixing, feature pull-requests, etc. are welcome. 68 | 69 | Avoid using `test.sh` and `install-generated-themes.el`, they're not 70 | tuned for general use. 71 | 72 | PLEASE NOTE: `test.sh` will forceably remove all folders matching 73 | `~/.emacs.d/elpa/*-theme-140*`. 74 | -------------------------------------------------------------------------------- /bin/tm2deftheme: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require 'tmtheme-to-deftheme' 3 | require 'slop' 4 | 5 | Slop.parse do 6 | 7 | banner <<-EOF 8 | TextMate/SublimeText .tmTheme to Emacs 24 deftheme .el 9 | 10 | Usage: tm2deftheme [themefile.tmTheme] [options] 11 | EOF 12 | 13 | on :f, 'ouput Emacs 24 deftheme to file' 14 | on :s, 'when used with -f silence output' 15 | on :o, 'when used with -f overwrite existing file' 16 | on :debug, 'show debugging output' 17 | 18 | run do |opts, args| 19 | if args.first.nil? 20 | $stderr.puts opts 21 | exit 1 22 | end 23 | 24 | theme_filename = args.first 25 | 26 | unless File.exist? theme_filename 27 | $stderr.puts "#{theme_filename} : file doesn't exist" 28 | exit 1 29 | end 30 | 31 | TmthemeToDeftheme::Main.new theme_filename, opts 32 | end 33 | 34 | end 35 | -------------------------------------------------------------------------------- /data/scopes-to-faces.yml: -------------------------------------------------------------------------------- 1 | # Pairs of TMate scopes and equivalent Emacs faces 2 | 3 | - - entity 4 | - font-lock-type-face 5 | - - entity.name.class 6 | - font-lock-type-face 7 | - - class 8 | - font-lock-type-face 9 | - - comment 10 | - font-lock-comment-face 11 | - - constant 12 | - font-lock-constant-face 13 | - - constant.language 14 | - font-lock-builtin-face 15 | - - entity.name.function 16 | - font-lock-function-name-face 17 | - - meta.preprocessor.c 18 | - font-lock-preprocessor-face 19 | - - string 20 | - font-lock-string-face 21 | - - variable 22 | - font-lock-variable-name-face 23 | - - keyword 24 | - font-lock-keyword-face 25 | - - diff.header 26 | - diff-file-header 27 | - - markup.changed 28 | - diff-changed 29 | - - markup.deleted 30 | - diff-removed 31 | - - markup.inserted 32 | - diff-added 33 | - - invalid.deprecated 34 | - font-lock-warning-face 35 | - - invalid.illegal 36 | - error 37 | 38 | # js3 and js2 mode 39 | 40 | - - keyword.other.documentation.param.javadoc 41 | - js3-jsdoc-tag-face 42 | - js2-jsdoc-tag 43 | - - variable.parameter 44 | - js3-function-param-face 45 | - js2-function-param 46 | - - variable.other.external-symbol 47 | - js3-external-variable-face 48 | - js2-external-variable 49 | 50 | # GitGutter 51 | 52 | - - markup.deleted.git_gutter 53 | - git-gutter:deleted 54 | - - markup.inserted.git_gutter 55 | - git-gutter:added 56 | - - markup.changed.git_gutter 57 | - git-gutter:modified 58 | - - markup.ignored.git_gutter 59 | - git-gutter:untracked 60 | 61 | # Markdown 62 | 63 | - - punctuation.definition.italic.markdown 64 | - markdown-italic-face 65 | - - punctuation.definition.bold.markdown 66 | - markdown-bold-face 67 | - - meta.separator.markdown 68 | - markdown-header-rule-face 69 | - - entity.name.section.markdown 70 | - markdown-header-face 71 | - - markup.raw.inline.markdown 72 | - markdown-inline-code-face 73 | - - punctuation.definition.list_item.markdown 74 | - markdown-list-face 75 | - - punctuation.definition.blockquote.markdown 76 | - markdown-blockquote-face 77 | - - markup.raw.block.markdown 78 | - markdown-pre-face 79 | - - meta.link.inline.markdown 80 | - markdown-url-face 81 | - - string.other.link.title.markdown 82 | - markdown-link-title-face 83 | 84 | # Blank lines are ignored 85 | 86 | # See YAML Docs at http://yaml.org/spec/1.2/spec.html 87 | -------------------------------------------------------------------------------- /generatedThemes/bespin-theme.el: -------------------------------------------------------------------------------- 1 | ;;; bespin-theme.el --- an Emacs 24 theme based on Bespin (tmTheme) 2 | ;; 3 | ;;; Author: Auto Converted to Emacs 24 by tmtheme-to-deftheme (tm2deftheme) 4 | ;;; Version: 1404021808 5 | ;;; Original author: Michael Diolosa 6 | ;;; Url: https://github.com/emacsfodder/tmtheme-to-deftheme 7 | ;;; Package-Requires: ((emacs "24.0")) 8 | ;; 9 | ;;; Commentary: 10 | ;; This theme was automatically generated by tmtheme-to-deftheme (tm2deftheme), 11 | ;; from Bespin (tmTheme) by Michael Diolosa 12 | ;; 13 | ;;; Code: 14 | 15 | (deftheme bespin 16 | "bespin-theme - Created by tmtheme-to-deftheme - 2014-06-29 14:03:28 +0800") 17 | 18 | (custom-theme-set-variables 19 | 'bespin 20 | ) 21 | 22 | (custom-theme-set-faces 23 | 'bespin 24 | ;; basic theming. 25 | 26 | '(default ((t (:foreground "#BAAE9E" :background "#28211C" )))) 27 | '(region ((t (:background "#DDF0FF33")))) 28 | '(cursor ((t (:background "#A7A7A7")))) 29 | 30 | ;; Temporary defaults 31 | '(linum ((t (:foreground "#453d36" :background "#372f29" )))) 32 | '(fringe ((t ( :background "#372f29" )))) 33 | 34 | '(minibuffer-prompt ((t (:foreground "#1278A8" :background nil :weight bold )))) 35 | '(escape-glyph ((t (:foreground "orange" :background nil )))) 36 | '(highlight ((t (:foreground "orange" :background nil )))) 37 | '(shadow ((t (:foreground "#777777" :background nil )))) 38 | 39 | '(trailing-whitespace ((t (:foreground "#FFFFFF" :background "#C74000" )))) 40 | '(link ((t (:foreground "#00b7f0" :background nil :underline t )))) 41 | '(link-visited ((t (:foreground "#4488cc" :underline t :inherit (link) )))) 42 | '(button ((t (:foreground "#FFFFFF" :background "#444444" :underline t :inherit (link) )))) 43 | '(next-error ((t ( :inherit (region) )))) 44 | '(query-replace ((t ( :inherit (isearch) )))) 45 | '(header-line ((t (:foreground "#EEEEEE" :background "#444444" :box nil :inherit (mode-line) )))) 46 | 47 | '(mode-line-highlight ((t ( :box nil )))) 48 | '(mode-line-emphasis ((t ( :weight bold )))) 49 | '(mode-line-buffer-id ((t ( :box nil :weight bold )))) 50 | 51 | '(mode-line-inactive ((t (:foreground "#9d8c76" :background "#372f29" :box nil :weight light :inherit (mode-line) )))) 52 | '(mode-line ((t (:foreground "#baae9e" :background "#372f29" :box nil )))) 53 | 54 | '(isearch ((t (:foreground "#99ccee" :background "#444444" )))) 55 | '(isearch-fail ((t ( :background "#ffaaaa" )))) 56 | '(lazy-highlight ((t ( :background "#77bbdd" )))) 57 | '(match ((t ( :background "#3388cc" )))) 58 | 59 | '(tooltip ((t (:foreground "black" :background "LightYellow" :inherit (variable-pitch) )))) 60 | 61 | '(js3-function-param-face ((t (:foreground "#BFC3A9" )))) 62 | '(js3-external-variable-face ((t (:foreground "#F0B090" :bold t )))) 63 | 64 | '(secondary-selection ((t ( :background "#342858" )))) 65 | '(cua-rectangle ((t (:foreground "#E0E4CC" :background "#342858" )))) 66 | 67 | ;; Magit hightlight 68 | '(magit-item-highlight ((t (:foreground "white" :background "#1278A8" :inherit nil )))) 69 | 70 | ;; flyspell-mode 71 | '(flyspell-incorrect ((t (:underline "#AA0000" :background nil :inherit nil )))) 72 | '(flyspell-duplicate ((t (:underline "#009945" :background nil :inherit nil )))) 73 | 74 | ;; flymake-mode 75 | '(flymake-errline ((t (:underline "#AA0000" :background nil :inherit nil )))) 76 | '(flymake-warnline ((t (:underline "#009945" :background nil :inherit nil )))) 77 | 78 | ;;git-gutter 79 | '(git-gutter:added ((t (:foreground "#609f60" :bold t)))) 80 | '(git-gutter:modified ((t (:foreground "#3388cc" :bold t)))) 81 | '(git-gutter:deleted ((t (:foreground "#cc3333" :bold t)))) 82 | 83 | '(diff-added ((t (:background "#305030")))) 84 | '(diff-removed ((t (:background "#903010")))) 85 | '(diff-file-header ((t (:background "#362145")))) 86 | '(diff-context ((t (:foreground "#E0E4CC")))) 87 | '(diff-changed ((t (:foreground "#3388cc")))) 88 | '(diff-hunk-header ((t (:background "#242130")))) 89 | 90 | 91 | '(font-lock-comment-face ((t (:foreground "#666666" :italic t)))) 92 | '(font-lock-constant-face ((t (:foreground "#CF6A4C" )))) 93 | '(font-lock-type-face ((t (:foreground "#937121" )))) 94 | '(font-lock-keyword-face ((t (:foreground "#5EA6EA" )))) 95 | '(font-lock-string-face ((t (:foreground "#54BE0D" )))) 96 | '(font-lock-variable-name-face ((t (:foreground "#7587A6" )))) 97 | '(font-lock-warning-face ((t (:foreground "#D2A8A1" :italic t :underline t)))) 98 | '(error ((t (:foreground "#F8F8F8" :background "#4a2a47" )))) 99 | '(font-lock-preprocessor-face ((t (:foreground "#8996A8" )))) 100 | '(diff-removed ((t (:foreground "#F8F8F8" :background "#420E09" )))) 101 | '(diff-changed ((t (:foreground "#F8F8F8" :background "#4A410D" )))) 102 | '(diff-added ((t (:foreground "#F8F8F8" :background "#253B22" )))) 103 | '(font-lock-comment-delimiter-face ((t (:foreground "#666666" :italic t)))) 104 | 105 | ;; Rainbow delimiters 106 | '(rainbow-delimiters-depth-1-face ((t (:foreground "#924b36")))) 107 | '(rainbow-delimiters-depth-2-face ((t (:foreground "#a0523b")))) 108 | '(rainbow-delimiters-depth-3-face ((t (:foreground "#af5a40")))) 109 | '(rainbow-delimiters-depth-4-face ((t (:foreground "#bb6247")))) 110 | '(rainbow-delimiters-depth-5-face ((t (:foreground "#c16f56")))) 111 | '(rainbow-delimiters-depth-6-face ((t (:foreground "#c67b65")))) 112 | '(rainbow-delimiters-depth-7-face ((t (:foreground "#cb8873")))) 113 | '(rainbow-delimiters-depth-8-face ((t (:foreground "#d19482")))) 114 | '(rainbow-delimiters-depth-9-face ((t (:foreground "#d6a090")))) 115 | '(rainbow-delimiters-unmatched-face ((t (:foreground "#FF0000")))) 116 | ) ;; End face definitions 117 | 118 | ;;;###autoload 119 | (when load-file-name 120 | (add-to-list 'custom-theme-load-path 121 | (file-name-as-directory (file-name-directory load-file-name)))) 122 | 123 | (provide-theme 'bespin) 124 | 125 | ;; Local Variables: 126 | ;; eval: (when (fboundp 'rainbow-mode) (rainbow-mode +1)) 127 | ;; End: 128 | 129 | ;;; bespin-theme.el ends here 130 | -------------------------------------------------------------------------------- /generatedThemes/birds-of-paradise-theme.el: -------------------------------------------------------------------------------- 1 | ;;; birds-of-paradise-theme.el --- an Emacs 24 theme based on Birds of Paradise (tmTheme) 2 | ;; 3 | ;;; Author: Auto Converted to Emacs 24 by tmtheme-to-deftheme (tm2deftheme) 4 | ;;; Version: 1404021809 5 | ;;; Original author: Joe Bergantine 6 | ;;; Url: https://github.com/emacsfodder/tmtheme-to-deftheme 7 | ;;; Package-Requires: ((emacs "24.0")) 8 | ;; 9 | ;;; Commentary: 10 | ;; This theme was automatically generated by tmtheme-to-deftheme (tm2deftheme), 11 | ;; from Birds of Paradise (tmTheme) by Joe Bergantine 12 | ;; 13 | ;;; Code: 14 | 15 | (deftheme birds-of-paradise 16 | "birds-of-paradise-theme - Created by tmtheme-to-deftheme - 2014-06-29 14:03:29 +0800") 17 | 18 | (custom-theme-set-variables 19 | 'birds-of-paradise 20 | ) 21 | 22 | (custom-theme-set-faces 23 | 'birds-of-paradise 24 | ;; basic theming. 25 | 26 | '(default ((t (:foreground "#E6E1C4" :background "#372725" )))) 27 | '(region ((t (:background "#1E1C1C")))) 28 | '(cursor ((t (:background "#DDDDDD")))) 29 | 30 | ;; Temporary defaults 31 | '(linum ((t (:foreground "#5a4c45" :background "#483a35" )))) 32 | '(fringe ((t ( :background "#483a35" )))) 33 | 34 | '(minibuffer-prompt ((t (:foreground "#1278A8" :background nil :weight bold )))) 35 | '(escape-glyph ((t (:foreground "orange" :background nil )))) 36 | '(highlight ((t (:foreground "orange" :background nil )))) 37 | '(shadow ((t (:foreground "#777777" :background nil )))) 38 | 39 | '(trailing-whitespace ((t (:foreground "#FFFFFF" :background "#C74000" )))) 40 | '(link ((t (:foreground "#00b7f0" :background nil :underline t )))) 41 | '(link-visited ((t (:foreground "#4488cc" :underline t :inherit (link) )))) 42 | '(button ((t (:foreground "#FFFFFF" :background "#444444" :underline t :inherit (link) )))) 43 | '(next-error ((t ( :inherit (region) )))) 44 | '(query-replace ((t ( :inherit (isearch) )))) 45 | '(header-line ((t (:foreground "#EEEEEE" :background "#444444" :box nil :inherit (mode-line) )))) 46 | 47 | '(mode-line-highlight ((t ( :box nil )))) 48 | '(mode-line-emphasis ((t ( :weight bold )))) 49 | '(mode-line-buffer-id ((t ( :box nil :weight bold )))) 50 | 51 | '(mode-line-inactive ((t (:foreground "#cdc388" :background "#483a35" :box nil :weight light :inherit (mode-line) )))) 52 | '(mode-line ((t (:foreground "#e6e1c4" :background "#483a35" :box nil )))) 53 | 54 | '(isearch ((t (:foreground "#99ccee" :background "#444444" )))) 55 | '(isearch-fail ((t ( :background "#ffaaaa" )))) 56 | '(lazy-highlight ((t ( :background "#77bbdd" )))) 57 | '(match ((t ( :background "#3388cc" )))) 58 | 59 | '(tooltip ((t (:foreground "black" :background "LightYellow" :inherit (variable-pitch) )))) 60 | 61 | '(js3-function-param-face ((t (:foreground "#BFC3A9" )))) 62 | '(js3-external-variable-face ((t (:foreground "#F0B090" :bold t )))) 63 | 64 | '(secondary-selection ((t ( :background "#342858" )))) 65 | '(cua-rectangle ((t (:foreground "#E0E4CC" :background "#342858" )))) 66 | 67 | ;; Magit hightlight 68 | '(magit-item-highlight ((t (:foreground "white" :background "#1278A8" :inherit nil )))) 69 | 70 | ;; flyspell-mode 71 | '(flyspell-incorrect ((t (:underline "#AA0000" :background nil :inherit nil )))) 72 | '(flyspell-duplicate ((t (:underline "#009945" :background nil :inherit nil )))) 73 | 74 | ;; flymake-mode 75 | '(flymake-errline ((t (:underline "#AA0000" :background nil :inherit nil )))) 76 | '(flymake-warnline ((t (:underline "#009945" :background nil :inherit nil )))) 77 | 78 | ;;git-gutter 79 | '(git-gutter:added ((t (:foreground "#609f60" :bold t)))) 80 | '(git-gutter:modified ((t (:foreground "#3388cc" :bold t)))) 81 | '(git-gutter:deleted ((t (:foreground "#cc3333" :bold t)))) 82 | 83 | '(diff-added ((t (:background "#305030")))) 84 | '(diff-removed ((t (:background "#903010")))) 85 | '(diff-file-header ((t (:background "#362145")))) 86 | '(diff-context ((t (:foreground "#E0E4CC")))) 87 | '(diff-changed ((t (:foreground "#3388cc")))) 88 | '(diff-hunk-header ((t (:background "#242130")))) 89 | 90 | 91 | '(font-lock-comment-face ((t (:foreground "#6B4E32" :italic t)))) 92 | '(font-lock-constant-face ((t (:foreground "#6C99BB" )))) 93 | '(font-lock-type-face ((t (:foreground "#EFAC32" )))) 94 | '(font-lock-keyword-face ((t (:foreground "#EF5D32" )))) 95 | '(font-lock-string-face ((t (:foreground "#D9D762" :italic t)))) 96 | '(font-lock-variable-name-face ((t (:foreground "#7DAF9C" )))) 97 | '(font-lock-warning-face ((t (:foreground "#CC4232" :italic t :underline t)))) 98 | '(error ((t (:foreground "#E6E1C4" :background "#CC4232" )))) 99 | '(font-lock-preprocessor-face ((t (:foreground "#8996A8" )))) 100 | '(diff-removed ((t (:foreground "#F8F8F8" :background "#420E09" )))) 101 | '(diff-changed ((t (:foreground "#F8F8F8" :background "#4A410D" )))) 102 | '(diff-added ((t (:foreground "#F8F8F8" :background "#253B22" )))) 103 | '(js3-function-param-face ((t (:foreground "#7DAF9C" )))) 104 | '(js2-function-param ((t (:foreground "#7DAF9C" )))) 105 | '(font-lock-comment-delimiter-face ((t (:foreground "#6B4E32" :italic t)))) 106 | 107 | ;; Rainbow delimiters 108 | '(rainbow-delimiters-depth-1-face ((t (:foreground "#a84223")))) 109 | '(rainbow-delimiters-depth-2-face ((t (:foreground "#b94827")))) 110 | '(rainbow-delimiters-depth-3-face ((t (:foreground "#c94f2a")))) 111 | '(rainbow-delimiters-depth-4-face ((t (:foreground "#d45934")))) 112 | '(rainbow-delimiters-depth-5-face ((t (:foreground "#d86745")))) 113 | '(rainbow-delimiters-depth-6-face ((t (:foreground "#db7456")))) 114 | '(rainbow-delimiters-depth-7-face ((t (:foreground "#df8266")))) 115 | '(rainbow-delimiters-depth-8-face ((t (:foreground "#e29077")))) 116 | '(rainbow-delimiters-depth-9-face ((t (:foreground "#e69d88")))) 117 | '(rainbow-delimiters-unmatched-face ((t (:foreground "#FF0000")))) 118 | ) ;; End face definitions 119 | 120 | ;;;###autoload 121 | (when load-file-name 122 | (add-to-list 'custom-theme-load-path 123 | (file-name-as-directory (file-name-directory load-file-name)))) 124 | 125 | (provide-theme 'birds-of-paradise) 126 | 127 | ;; Local Variables: 128 | ;; eval: (when (fboundp 'rainbow-mode) (rainbow-mode +1)) 129 | ;; End: 130 | 131 | ;;; birds-of-paradise-theme.el ends here 132 | -------------------------------------------------------------------------------- /generatedThemes/bone-a-kite-theme.el: -------------------------------------------------------------------------------- 1 | ;;; bone-a-kite-theme.el --- an Emacs 24 theme based on Bone-a-kite (tmTheme) 2 | ;; 3 | ;;; Author: Auto Converted to Emacs 24 by tmtheme-to-deftheme (tm2deftheme) 4 | ;;; Version: 1404021809 5 | ;;; Original author: 6 | ;;; Url: https://github.com/emacsfodder/tmtheme-to-deftheme 7 | ;;; Package-Requires: ((emacs "24.0")) 8 | ;; 9 | ;;; Commentary: 10 | ;; This theme was automatically generated by tmtheme-to-deftheme (tm2deftheme), 11 | ;; from Bone-a-kite (tmTheme) by 12 | ;; 13 | ;;; Code: 14 | 15 | (deftheme bone-a-kite 16 | "bone-a-kite-theme - Created by tmtheme-to-deftheme - 2014-06-29 14:03:29 +0800") 17 | 18 | (custom-theme-set-variables 19 | 'bone-a-kite 20 | ) 21 | 22 | (custom-theme-set-faces 23 | 'bone-a-kite 24 | ;; basic theming. 25 | 26 | '(default ((t (:foreground "#F8F8F2" :background "#1c1e20" )))) 27 | '(region ((t (:background "#333333")))) 28 | '(cursor ((t (:background "#F8F8F0")))) 29 | 30 | ;; Temporary defaults 31 | '(linum ((t (:foreground "#484a4a" :background "#323435" )))) 32 | '(fringe ((t ( :background "#323435" )))) 33 | 34 | '(minibuffer-prompt ((t (:foreground "#1278A8" :background nil :weight bold )))) 35 | '(escape-glyph ((t (:foreground "orange" :background nil )))) 36 | '(highlight ((t (:foreground "orange" :background nil )))) 37 | '(shadow ((t (:foreground "#777777" :background nil )))) 38 | 39 | '(trailing-whitespace ((t (:foreground "#FFFFFF" :background "#C74000" )))) 40 | '(link ((t (:foreground "#00b7f0" :background nil :underline t )))) 41 | '(link-visited ((t (:foreground "#4488cc" :underline t :inherit (link) )))) 42 | '(button ((t (:foreground "#FFFFFF" :background "#444444" :underline t :inherit (link) )))) 43 | '(next-error ((t ( :inherit (region) )))) 44 | '(query-replace ((t ( :inherit (isearch) )))) 45 | '(header-line ((t (:foreground "#EEEEEE" :background "#444444" :box nil :inherit (mode-line) )))) 46 | 47 | '(mode-line-highlight ((t ( :box nil )))) 48 | '(mode-line-emphasis ((t ( :weight bold )))) 49 | '(mode-line-buffer-id ((t ( :box nil :weight bold )))) 50 | 51 | '(mode-line-inactive ((t (:foreground "#d6d6b2" :background "#323435" :box nil :weight light :inherit (mode-line) )))) 52 | '(mode-line ((t (:foreground "#f8f8f2" :background "#323435" :box nil )))) 53 | 54 | '(isearch ((t (:foreground "#99ccee" :background "#444444" )))) 55 | '(isearch-fail ((t ( :background "#ffaaaa" )))) 56 | '(lazy-highlight ((t ( :background "#77bbdd" )))) 57 | '(match ((t ( :background "#3388cc" )))) 58 | 59 | '(tooltip ((t (:foreground "black" :background "LightYellow" :inherit (variable-pitch) )))) 60 | 61 | '(js3-function-param-face ((t (:foreground "#BFC3A9" )))) 62 | '(js3-external-variable-face ((t (:foreground "#F0B090" :bold t )))) 63 | 64 | '(secondary-selection ((t ( :background "#342858" )))) 65 | '(cua-rectangle ((t (:foreground "#E0E4CC" :background "#342858" )))) 66 | 67 | ;; Magit hightlight 68 | '(magit-item-highlight ((t (:foreground "white" :background "#1278A8" :inherit nil )))) 69 | 70 | ;; flyspell-mode 71 | '(flyspell-incorrect ((t (:underline "#AA0000" :background nil :inherit nil )))) 72 | '(flyspell-duplicate ((t (:underline "#009945" :background nil :inherit nil )))) 73 | 74 | ;; flymake-mode 75 | '(flymake-errline ((t (:underline "#AA0000" :background nil :inherit nil )))) 76 | '(flymake-warnline ((t (:underline "#009945" :background nil :inherit nil )))) 77 | 78 | ;;git-gutter 79 | '(git-gutter:added ((t (:foreground "#609f60" :bold t)))) 80 | '(git-gutter:modified ((t (:foreground "#3388cc" :bold t)))) 81 | '(git-gutter:deleted ((t (:foreground "#cc3333" :bold t)))) 82 | 83 | '(diff-added ((t (:background "#305030")))) 84 | '(diff-removed ((t (:background "#903010")))) 85 | '(diff-file-header ((t (:background "#362145")))) 86 | '(diff-context ((t (:foreground "#E0E4CC")))) 87 | '(diff-changed ((t (:foreground "#3388cc")))) 88 | '(diff-hunk-header ((t (:background "#242130")))) 89 | 90 | 91 | '(font-lock-comment-face ((t (:foreground "#75715E" :background "#222424" )))) 92 | '(font-lock-string-face ((t (:foreground "#E6DB74" :background "#2a2b26" )))) 93 | '(font-lock-builtin-face ((t (:foreground "#AE81FF" :background "#262530" )))) 94 | '(font-lock-variable-name-face ((t (:foreground "#F88767" :background "#2c2525" )))) 95 | '(font-lock-keyword-face ((t (:foreground "#F92672" :background "#2c1f26" )))) 96 | '(font-lock-type-face ((t (:foreground "#A6E22E" :background "#262c21" :underline t)))) 97 | '(font-lock-function-name-face ((t (:foreground "#A6E22E" :background "#262c21" )))) 98 | '(js3-function-param-face ((t (:foreground "#FD971F" :background "#2c2720" :italic t)))) 99 | '(js2-function-param ((t (:foreground "#FD971F" :background "#2c2720" :italic t)))) 100 | '(font-lock-warning-face ((t (:foreground "#F8F8F0" :background "#AE81FF" )))) 101 | '(font-lock-comment-delimiter-face ((t (:foreground "#75715E" :background "#222424" )))) 102 | 103 | ;; Rainbow delimiters 104 | '(rainbow-delimiters-depth-1-face ((t (:foreground "#7a5bb3")))) 105 | '(rainbow-delimiters-depth-2-face ((t (:foreground "#896ebb")))) 106 | '(rainbow-delimiters-depth-3-face ((t (:foreground "#9880c4")))) 107 | '(rainbow-delimiters-depth-4-face ((t (:foreground "#a792cc")))) 108 | '(rainbow-delimiters-depth-5-face ((t (:foreground "#b6a5d5")))) 109 | '(rainbow-delimiters-depth-6-face ((t (:foreground "#c5b7de")))) 110 | '(rainbow-delimiters-depth-7-face ((t (:foreground "#d4cae6")))) 111 | '(rainbow-delimiters-depth-8-face ((t (:foreground "#e3dcef")))) 112 | '(rainbow-delimiters-depth-9-face ((t (:foreground "#f2eef7")))) 113 | '(rainbow-delimiters-unmatched-face ((t (:foreground "#FF0000")))) 114 | ) ;; End face definitions 115 | 116 | ;;;###autoload 117 | (when load-file-name 118 | (add-to-list 'custom-theme-load-path 119 | (file-name-as-directory (file-name-directory load-file-name)))) 120 | 121 | (provide-theme 'bone-a-kite) 122 | 123 | ;; Local Variables: 124 | ;; eval: (when (fboundp 'rainbow-mode) (rainbow-mode +1)) 125 | ;; End: 126 | 127 | ;;; bone-a-kite-theme.el ends here 128 | -------------------------------------------------------------------------------- /generatedThemes/ciapre-black-theme.el: -------------------------------------------------------------------------------- 1 | ;;; ciapre-black-theme.el --- an Emacs 24 theme based on Ciapre Black (tmTheme) 2 | ;; 3 | ;;; Author: Auto Converted to Emacs 24 by tmtheme-to-deftheme (tm2deftheme) 4 | ;;; Version: 1404021810 5 | ;;; Original author: Vinh Nguyen 6 | ;;; Url: https://github.com/emacsfodder/tmtheme-to-deftheme 7 | ;;; Package-Requires: ((emacs "24.0")) 8 | ;; 9 | ;;; Commentary: 10 | ;; This theme was automatically generated by tmtheme-to-deftheme (tm2deftheme), 11 | ;; from Ciapre Black (tmTheme) by Vinh Nguyen 12 | ;; 13 | ;;; Code: 14 | 15 | (deftheme ciapre-black 16 | "ciapre-black-theme - Created by tmtheme-to-deftheme - 2014-06-29 14:03:30 +0800") 17 | 18 | (custom-theme-set-variables 19 | 'ciapre-black 20 | ) 21 | 22 | (custom-theme-set-faces 23 | 'ciapre-black 24 | ;; basic theming. 25 | 26 | '(default ((t (:foreground "#C2B790" :background "#222" )))) 27 | '(region ((t (:background "#1B324A")))) 28 | '(cursor ((t (:background "#A89770")))) 29 | 30 | ;; Temporary defaults 31 | '(linum ((t (:foreground "#424038" :background "#32312d" )))) 32 | '(fringe ((t ( :background "#32312d" )))) 33 | 34 | '(minibuffer-prompt ((t (:foreground "#1278A8" :background nil :weight bold )))) 35 | '(escape-glyph ((t (:foreground "orange" :background nil )))) 36 | '(highlight ((t (:foreground "orange" :background nil )))) 37 | '(shadow ((t (:foreground "#777777" :background nil )))) 38 | 39 | '(trailing-whitespace ((t (:foreground "#FFFFFF" :background "#C74000" )))) 40 | '(link ((t (:foreground "#00b7f0" :background nil :underline t )))) 41 | '(link-visited ((t (:foreground "#4488cc" :underline t :inherit (link) )))) 42 | '(button ((t (:foreground "#FFFFFF" :background "#444444" :underline t :inherit (link) )))) 43 | '(next-error ((t ( :inherit (region) )))) 44 | '(query-replace ((t ( :inherit (isearch) )))) 45 | '(header-line ((t (:foreground "#EEEEEE" :background "#444444" :box nil :inherit (mode-line) )))) 46 | 47 | '(mode-line-highlight ((t ( :box nil )))) 48 | '(mode-line-emphasis ((t ( :weight bold )))) 49 | '(mode-line-buffer-id ((t ( :box nil :weight bold )))) 50 | 51 | '(mode-line-inactive ((t (:foreground "#aa9b64" :background "#32312d" :box nil :weight light :inherit (mode-line) )))) 52 | '(mode-line ((t (:foreground "#c2b790" :background "#32312d" :box nil )))) 53 | 54 | '(isearch ((t (:foreground "#99ccee" :background "#444444" )))) 55 | '(isearch-fail ((t ( :background "#ffaaaa" )))) 56 | '(lazy-highlight ((t ( :background "#77bbdd" )))) 57 | '(match ((t ( :background "#3388cc" )))) 58 | 59 | '(tooltip ((t (:foreground "black" :background "LightYellow" :inherit (variable-pitch) )))) 60 | 61 | '(js3-function-param-face ((t (:foreground "#BFC3A9" )))) 62 | '(js3-external-variable-face ((t (:foreground "#F0B090" :bold t )))) 63 | 64 | '(secondary-selection ((t ( :background "#342858" )))) 65 | '(cua-rectangle ((t (:foreground "#E0E4CC" :background "#342858" )))) 66 | 67 | ;; Magit hightlight 68 | '(magit-item-highlight ((t (:foreground "white" :background "#1278A8" :inherit nil )))) 69 | 70 | ;; flyspell-mode 71 | '(flyspell-incorrect ((t (:underline "#AA0000" :background nil :inherit nil )))) 72 | '(flyspell-duplicate ((t (:underline "#009945" :background nil :inherit nil )))) 73 | 74 | ;; flymake-mode 75 | '(flymake-errline ((t (:underline "#AA0000" :background nil :inherit nil )))) 76 | '(flymake-warnline ((t (:underline "#009945" :background nil :inherit nil )))) 77 | 78 | ;;git-gutter 79 | '(git-gutter:added ((t (:foreground "#609f60" :bold t)))) 80 | '(git-gutter:modified ((t (:foreground "#3388cc" :bold t)))) 81 | '(git-gutter:deleted ((t (:foreground "#cc3333" :bold t)))) 82 | 83 | '(diff-added ((t (:background "#305030")))) 84 | '(diff-removed ((t (:background "#903010")))) 85 | '(diff-file-header ((t (:background "#362145")))) 86 | '(diff-context ((t (:foreground "#E0E4CC")))) 87 | '(diff-changed ((t (:foreground "#3388cc")))) 88 | '(diff-hunk-header ((t (:background "#242130")))) 89 | 90 | 91 | '(font-lock-comment-face ((t (:foreground "#696969" )))) 92 | '(font-lock-keyword-face ((t (:foreground "#C24D43" )))) 93 | '(font-lock-constant-face ((t (:foreground "#C24D43" )))) 94 | '(font-lock-builtin-face ((t (:foreground "#DB592E" )))) 95 | '(font-lock-string-face ((t (:foreground "#BAB972" )))) 96 | '(font-lock-function-name-face ((t (:foreground "#DEA050" )))) 97 | '(js3-function-param-face ((t (:foreground "#6D948D" )))) 98 | '(js2-function-param ((t (:foreground "#6D948D" )))) 99 | '(font-lock-comment-delimiter-face ((t (:foreground "#696969" )))) 100 | 101 | ;; Rainbow delimiters 102 | '(rainbow-delimiters-depth-1-face ((t (:foreground "#9a3f20")))) 103 | '(rainbow-delimiters-depth-2-face ((t (:foreground "#a94524")))) 104 | '(rainbow-delimiters-depth-3-face ((t (:foreground "#b84b27")))) 105 | '(rainbow-delimiters-depth-4-face ((t (:foreground "#c8522a")))) 106 | '(rainbow-delimiters-depth-5-face ((t (:foreground "#d45a31")))) 107 | '(rainbow-delimiters-depth-6-face ((t (:foreground "#d76640")))) 108 | '(rainbow-delimiters-depth-7-face ((t (:foreground "#da7350")))) 109 | '(rainbow-delimiters-depth-8-face ((t (:foreground "#dd7f5f")))) 110 | '(rainbow-delimiters-depth-9-face ((t (:foreground "#e18b6f")))) 111 | '(rainbow-delimiters-unmatched-face ((t (:foreground "#FF0000")))) 112 | ) ;; End face definitions 113 | 114 | ;;;###autoload 115 | (when load-file-name 116 | (add-to-list 'custom-theme-load-path 117 | (file-name-as-directory (file-name-directory load-file-name)))) 118 | 119 | (provide-theme 'ciapre-black) 120 | 121 | ;; Local Variables: 122 | ;; eval: (when (fboundp 'rainbow-mode) (rainbow-mode +1)) 123 | ;; End: 124 | 125 | ;;; ciapre-black-theme.el ends here 126 | -------------------------------------------------------------------------------- /generatedThemes/ciapre-theme.el: -------------------------------------------------------------------------------- 1 | ;;; ciapre-theme.el --- an Emacs 24 theme based on Ciapre (tmTheme) 2 | ;; 3 | ;;; Author: Auto Converted to Emacs 24 by tmtheme-to-deftheme (tm2deftheme) 4 | ;;; Version: 1404021811 5 | ;;; Original author: Vinh Nguyen 6 | ;;; Url: https://github.com/emacsfodder/tmtheme-to-deftheme 7 | ;;; Package-Requires: ((emacs "24.0")) 8 | ;; 9 | ;;; Commentary: 10 | ;; This theme was automatically generated by tmtheme-to-deftheme (tm2deftheme), 11 | ;; from Ciapre (tmTheme) by Vinh Nguyen 12 | ;; 13 | ;;; Code: 14 | 15 | (deftheme ciapre 16 | "ciapre-theme - Created by tmtheme-to-deftheme - 2014-06-29 14:03:31 +0800") 17 | 18 | (custom-theme-set-variables 19 | 'ciapre 20 | ) 21 | 22 | (custom-theme-set-faces 23 | 'ciapre 24 | ;; basic theming. 25 | 26 | '(default ((t (:foreground "#C2B790" :background "#1F2433" )))) 27 | '(region ((t (:background "#1B324A")))) 28 | '(cursor ((t (:background "#A89770")))) 29 | 30 | ;; Temporary defaults 31 | '(linum ((t (:foreground "#404146" :background "#2f333c" )))) 32 | '(fringe ((t ( :background "#2f333c" )))) 33 | 34 | '(minibuffer-prompt ((t (:foreground "#1278A8" :background nil :weight bold )))) 35 | '(escape-glyph ((t (:foreground "orange" :background nil )))) 36 | '(highlight ((t (:foreground "orange" :background nil )))) 37 | '(shadow ((t (:foreground "#777777" :background nil )))) 38 | 39 | '(trailing-whitespace ((t (:foreground "#FFFFFF" :background "#C74000" )))) 40 | '(link ((t (:foreground "#00b7f0" :background nil :underline t )))) 41 | '(link-visited ((t (:foreground "#4488cc" :underline t :inherit (link) )))) 42 | '(button ((t (:foreground "#FFFFFF" :background "#444444" :underline t :inherit (link) )))) 43 | '(next-error ((t ( :inherit (region) )))) 44 | '(query-replace ((t ( :inherit (isearch) )))) 45 | '(header-line ((t (:foreground "#EEEEEE" :background "#444444" :box nil :inherit (mode-line) )))) 46 | 47 | '(mode-line-highlight ((t ( :box nil )))) 48 | '(mode-line-emphasis ((t ( :weight bold )))) 49 | '(mode-line-buffer-id ((t ( :box nil :weight bold )))) 50 | 51 | '(mode-line-inactive ((t (:foreground "#aa9b64" :background "#2f333c" :box nil :weight light :inherit (mode-line) )))) 52 | '(mode-line ((t (:foreground "#c2b790" :background "#2f333c" :box nil )))) 53 | 54 | '(isearch ((t (:foreground "#99ccee" :background "#444444" )))) 55 | '(isearch-fail ((t ( :background "#ffaaaa" )))) 56 | '(lazy-highlight ((t ( :background "#77bbdd" )))) 57 | '(match ((t ( :background "#3388cc" )))) 58 | 59 | '(tooltip ((t (:foreground "black" :background "LightYellow" :inherit (variable-pitch) )))) 60 | 61 | '(js3-function-param-face ((t (:foreground "#BFC3A9" )))) 62 | '(js3-external-variable-face ((t (:foreground "#F0B090" :bold t )))) 63 | 64 | '(secondary-selection ((t ( :background "#342858" )))) 65 | '(cua-rectangle ((t (:foreground "#E0E4CC" :background "#342858" )))) 66 | 67 | ;; Magit hightlight 68 | '(magit-item-highlight ((t (:foreground "white" :background "#1278A8" :inherit nil )))) 69 | 70 | ;; flyspell-mode 71 | '(flyspell-incorrect ((t (:underline "#AA0000" :background nil :inherit nil )))) 72 | '(flyspell-duplicate ((t (:underline "#009945" :background nil :inherit nil )))) 73 | 74 | ;; flymake-mode 75 | '(flymake-errline ((t (:underline "#AA0000" :background nil :inherit nil )))) 76 | '(flymake-warnline ((t (:underline "#009945" :background nil :inherit nil )))) 77 | 78 | ;;git-gutter 79 | '(git-gutter:added ((t (:foreground "#609f60" :bold t)))) 80 | '(git-gutter:modified ((t (:foreground "#3388cc" :bold t)))) 81 | '(git-gutter:deleted ((t (:foreground "#cc3333" :bold t)))) 82 | 83 | '(diff-added ((t (:background "#305030")))) 84 | '(diff-removed ((t (:background "#903010")))) 85 | '(diff-file-header ((t (:background "#362145")))) 86 | '(diff-context ((t (:foreground "#E0E4CC")))) 87 | '(diff-changed ((t (:foreground "#3388cc")))) 88 | '(diff-hunk-header ((t (:background "#242130")))) 89 | 90 | 91 | '(font-lock-comment-face ((t (:foreground "#696969" )))) 92 | '(font-lock-keyword-face ((t (:foreground "#C24D43" )))) 93 | '(font-lock-constant-face ((t (:foreground "#C24D43" )))) 94 | '(font-lock-builtin-face ((t (:foreground "#DB592E" )))) 95 | '(font-lock-string-face ((t (:foreground "#BAB972" )))) 96 | '(font-lock-function-name-face ((t (:foreground "#DEA050" )))) 97 | '(js3-function-param-face ((t (:foreground "#6D948D" )))) 98 | '(js2-function-param ((t (:foreground "#6D948D" )))) 99 | '(font-lock-comment-delimiter-face ((t (:foreground "#696969" )))) 100 | 101 | ;; Rainbow delimiters 102 | '(rainbow-delimiters-depth-1-face ((t (:foreground "#9a3f20")))) 103 | '(rainbow-delimiters-depth-2-face ((t (:foreground "#a94524")))) 104 | '(rainbow-delimiters-depth-3-face ((t (:foreground "#b84b27")))) 105 | '(rainbow-delimiters-depth-4-face ((t (:foreground "#c8522a")))) 106 | '(rainbow-delimiters-depth-5-face ((t (:foreground "#d45a31")))) 107 | '(rainbow-delimiters-depth-6-face ((t (:foreground "#d76640")))) 108 | '(rainbow-delimiters-depth-7-face ((t (:foreground "#da7350")))) 109 | '(rainbow-delimiters-depth-8-face ((t (:foreground "#dd7f5f")))) 110 | '(rainbow-delimiters-depth-9-face ((t (:foreground "#e18b6f")))) 111 | '(rainbow-delimiters-unmatched-face ((t (:foreground "#FF0000")))) 112 | ) ;; End face definitions 113 | 114 | ;;;###autoload 115 | (when load-file-name 116 | (add-to-list 'custom-theme-load-path 117 | (file-name-as-directory (file-name-directory load-file-name)))) 118 | 119 | (provide-theme 'ciapre) 120 | 121 | ;; Local Variables: 122 | ;; eval: (when (fboundp 'rainbow-mode) (rainbow-mode +1)) 123 | ;; End: 124 | 125 | ;;; ciapre-theme.el ends here 126 | -------------------------------------------------------------------------------- /generatedThemes/earthsong-light-theme.el: -------------------------------------------------------------------------------- 1 | ;;; earthsong-light-theme.el --- an Emacs 24 theme based on Earthsong Light (tmTheme) 2 | ;; 3 | ;;; Author: Auto Converted to Emacs 24 by tmtheme-to-deftheme (tm2deftheme) 4 | ;;; Version: 1404021815 5 | ;;; Original author: 6 | ;;; Url: https://github.com/emacsfodder/tmtheme-to-deftheme 7 | ;;; Package-Requires: ((emacs "24.0")) 8 | ;; 9 | ;;; Commentary: 10 | ;; This theme was automatically generated by tmtheme-to-deftheme (tm2deftheme), 11 | ;; from Earthsong Light (tmTheme) by 12 | ;; 13 | ;;; Code: 14 | 15 | (deftheme earthsong-light 16 | "earthsong-light-theme - Created by tmtheme-to-deftheme - 2014-06-29 14:03:35 +0800") 17 | 18 | (custom-theme-set-variables 19 | 'earthsong-light 20 | ) 21 | 22 | (custom-theme-set-faces 23 | 'earthsong-light 24 | ;; basic theming. 25 | 26 | '(default ((t (:foreground "#4d463e" :background "#ffffff" )))) 27 | '(region ((t (:background "#60A365")))) 28 | '(cursor ((t (:background "#111111")))) 29 | 30 | ;; Temporary defaults 31 | '(linum ((t (:foreground "#918577" :background "#b2b2b2" )))) 32 | '(fringe ((t ( :background "#b2b2b2" )))) 33 | 34 | '(minibuffer-prompt ((t (:foreground "#1278A8" :background nil :weight bold )))) 35 | '(escape-glyph ((t (:foreground "orange" :background nil )))) 36 | '(highlight ((t (:foreground "orange" :background nil )))) 37 | '(shadow ((t (:foreground "#777777" :background nil )))) 38 | 39 | '(trailing-whitespace ((t (:foreground "#FFFFFF" :background "#C74000" )))) 40 | '(link ((t (:foreground "#00b7f0" :background nil :underline t )))) 41 | '(link-visited ((t (:foreground "#4488cc" :underline t :inherit (link) )))) 42 | '(button ((t (:foreground "#FFFFFF" :background "#444444" :underline t :inherit (link) )))) 43 | '(next-error ((t ( :inherit (region) )))) 44 | '(query-replace ((t ( :inherit (isearch) )))) 45 | '(header-line ((t (:foreground "#EEEEEE" :background "#444444" :box nil :inherit (mode-line) )))) 46 | 47 | '(mode-line-highlight ((t ( :box nil )))) 48 | '(mode-line-emphasis ((t ( :weight bold )))) 49 | '(mode-line-buffer-id ((t ( :box nil :weight bold )))) 50 | 51 | '(mode-line-inactive ((t (:foreground "#4d463e" :background "#e6e6e6" :box nil :weight light :inherit (mode-line) )))) 52 | '(mode-line ((t (:foreground "#4d463e" :background "#cccccc" :box nil )))) 53 | 54 | '(isearch ((t (:foreground "#99ccee" :background "#444444" )))) 55 | '(isearch-fail ((t ( :background "#ffaaaa" )))) 56 | '(lazy-highlight ((t ( :background "#77bbdd" )))) 57 | '(match ((t ( :background "#3388cc" )))) 58 | 59 | '(tooltip ((t (:foreground "black" :background "LightYellow" :inherit (variable-pitch) )))) 60 | 61 | '(js3-function-param-face ((t (:foreground "#BFC3A9" )))) 62 | '(js3-external-variable-face ((t (:foreground "#F0B090" :bold t )))) 63 | 64 | '(secondary-selection ((t ( :background "#342858" )))) 65 | '(cua-rectangle ((t (:foreground "#E0E4CC" :background "#342858" )))) 66 | 67 | ;; Magit hightlight 68 | '(magit-item-highlight ((t (:foreground "white" :background "#1278A8" :inherit nil )))) 69 | 70 | ;; flyspell-mode 71 | '(flyspell-incorrect ((t (:underline "#AA0000" :background nil :inherit nil )))) 72 | '(flyspell-duplicate ((t (:underline "#009945" :background nil :inherit nil )))) 73 | 74 | ;; flymake-mode 75 | '(flymake-errline ((t (:underline "#AA0000" :background nil :inherit nil )))) 76 | '(flymake-warnline ((t (:underline "#009945" :background nil :inherit nil )))) 77 | 78 | ;;git-gutter 79 | '(git-gutter:added ((t (:foreground "#609f60" :bold t)))) 80 | '(git-gutter:modified ((t (:foreground "#3388cc" :bold t)))) 81 | '(git-gutter:deleted ((t (:foreground "#cc3333" :bold t)))) 82 | 83 | '(diff-added ((t (:background "#305030")))) 84 | '(diff-removed ((t (:background "#903010")))) 85 | '(diff-file-header ((t (:background "#362145")))) 86 | '(diff-context ((t (:foreground "#E0E4CC")))) 87 | '(diff-changed ((t (:foreground "#3388cc")))) 88 | '(diff-hunk-header ((t (:background "#242130")))) 89 | 90 | 91 | '(font-lock-comment-face ((t (:foreground "#d6cab9" )))) 92 | '(font-lock-string-face ((t (:foreground "#F8BB39" )))) 93 | '(font-lock-builtin-face ((t (:foreground "#DB784D" )))) 94 | '(font-lock-variable-name-face ((t ( )))) 95 | '(font-lock-keyword-face ((t (:foreground "#DB784D" )))) 96 | '(font-lock-type-face ((t (:foreground "#DB784D" :underline t)))) 97 | '(font-lock-function-name-face ((t (:foreground "#60A365" )))) 98 | '(js3-function-param-face ((t ( :italic t)))) 99 | '(js2-function-param ((t ( :italic t)))) 100 | '(font-lock-warning-face ((t (:foreground "#f8f8f0" :background "#00a8c6" )))) 101 | '(diff-removed ((t (:foreground "#00A8C6" )))) 102 | '(diff-added ((t (:foreground "#A6E22E" )))) 103 | '(diff-changed ((t (:foreground "#E6DB74" )))) 104 | '(markdown-header-face ((t (:foreground "#DB784D" )))) 105 | '(markdown-inline-code-face ((t (:foreground "#F8BB39" )))) 106 | '(markdown-bold-face ((t (:foreground "#DB784D" )))) 107 | '(markdown-pre-face ((t (:foreground "#00a8c6" )))) 108 | '(git-gutter:deleted ((t (:foreground "#e61f44" )))) 109 | '(git-gutter:added ((t (:foreground "#a7da1e" )))) 110 | '(git-gutter:modified ((t (:foreground "#f7b83d" )))) 111 | '(font-lock-comment-delimiter-face ((t (:foreground "#d6cab9" )))) 112 | 113 | ;; Rainbow delimiters 114 | '(rainbow-delimiters-depth-1-face ((t (:foreground "#a11630")))) 115 | '(rainbow-delimiters-depth-2-face ((t (:foreground "#b11934")))) 116 | '(rainbow-delimiters-depth-3-face ((t (:foreground "#c21b39")))) 117 | '(rainbow-delimiters-depth-4-face ((t (:foreground "#d21d3e")))) 118 | '(rainbow-delimiters-depth-5-face ((t (:foreground "#e02144")))) 119 | '(rainbow-delimiters-depth-6-face ((t (:foreground "#e23151")))) 120 | '(rainbow-delimiters-depth-7-face ((t (:foreground "#e5415f")))) 121 | '(rainbow-delimiters-depth-8-face ((t (:foreground "#e7516d")))) 122 | '(rainbow-delimiters-depth-9-face ((t (:foreground "#e9617a")))) 123 | '(rainbow-delimiters-unmatched-face ((t (:foreground "#FF0000")))) 124 | ) ;; End face definitions 125 | 126 | ;;;###autoload 127 | (when load-file-name 128 | (add-to-list 'custom-theme-load-path 129 | (file-name-as-directory (file-name-directory load-file-name)))) 130 | 131 | (provide-theme 'earthsong-light) 132 | 133 | ;; Local Variables: 134 | ;; eval: (when (fboundp 'rainbow-mode) (rainbow-mode +1)) 135 | ;; End: 136 | 137 | ;;; earthsong-light-theme.el ends here 138 | -------------------------------------------------------------------------------- /generatedThemes/mbo-theme.el: -------------------------------------------------------------------------------- 1 | ;;; mbo-theme.el --- an Emacs 24 theme based on mbo (tmTheme) 2 | ;; 3 | ;;; Author: Auto Converted to Emacs 24 by tmtheme-to-deftheme (tm2deftheme) 4 | ;;; Version: 1404021816 5 | ;;; Original author: Marko Bonaci 6 | ;;; Url: https://github.com/emacsfodder/tmtheme-to-deftheme 7 | ;;; Package-Requires: ((emacs "24.0")) 8 | ;; 9 | ;;; Commentary: 10 | ;; This theme was automatically generated by tmtheme-to-deftheme (tm2deftheme), 11 | ;; from mbo (tmTheme) by Marko Bonaci 12 | ;; 13 | ;;; Code: 14 | 15 | (deftheme mbo 16 | "mbo-theme - Created by tmtheme-to-deftheme - 2014-06-29 14:03:36 +0800") 17 | 18 | (custom-theme-set-variables 19 | 'mbo 20 | ) 21 | 22 | (custom-theme-set-faces 23 | 'mbo 24 | ;; basic theming. 25 | 26 | '(default ((t (:foreground "#ffffe9" :background "#2c2c2c" )))) 27 | '(region ((t (:background "#716C62")))) 28 | '(cursor ((t (:background "#ffffec")))) 29 | 30 | ;; Temporary defaults 31 | '(linum ((t (:foreground "#565652" :background "#41413f" )))) 32 | '(fringe ((t ( :background "#41413f" )))) 33 | 34 | '(minibuffer-prompt ((t (:foreground "#1278A8" :background nil :weight bold )))) 35 | '(escape-glyph ((t (:foreground "orange" :background nil )))) 36 | '(highlight ((t (:foreground "orange" :background nil )))) 37 | '(shadow ((t (:foreground "#777777" :background nil )))) 38 | 39 | '(trailing-whitespace ((t (:foreground "#FFFFFF" :background "#C74000" )))) 40 | '(link ((t (:foreground "#00b7f0" :background nil :underline t )))) 41 | '(link-visited ((t (:foreground "#4488cc" :underline t :inherit (link) )))) 42 | '(button ((t (:foreground "#FFFFFF" :background "#444444" :underline t :inherit (link) )))) 43 | '(next-error ((t ( :inherit (region) )))) 44 | '(query-replace ((t ( :inherit (isearch) )))) 45 | '(header-line ((t (:foreground "#EEEEEE" :background "#444444" :box nil :inherit (mode-line) )))) 46 | 47 | '(mode-line-highlight ((t ( :box nil )))) 48 | '(mode-line-emphasis ((t ( :weight bold )))) 49 | '(mode-line-buffer-id ((t ( :box nil :weight bold )))) 50 | 51 | '(mode-line-inactive ((t (:foreground "#ffff87" :background "#41413f" :box nil :weight light :inherit (mode-line) )))) 52 | '(mode-line ((t (:foreground "#ffffe9" :background "#41413f" :box nil )))) 53 | 54 | '(isearch ((t (:foreground "#99ccee" :background "#444444" )))) 55 | '(isearch-fail ((t ( :background "#ffaaaa" )))) 56 | '(lazy-highlight ((t ( :background "#77bbdd" )))) 57 | '(match ((t ( :background "#3388cc" )))) 58 | 59 | '(tooltip ((t (:foreground "black" :background "LightYellow" :inherit (variable-pitch) )))) 60 | 61 | '(js3-function-param-face ((t (:foreground "#BFC3A9" )))) 62 | '(js3-external-variable-face ((t (:foreground "#F0B090" :bold t )))) 63 | 64 | '(secondary-selection ((t ( :background "#342858" )))) 65 | '(cua-rectangle ((t (:foreground "#E0E4CC" :background "#342858" )))) 66 | 67 | ;; Magit hightlight 68 | '(magit-item-highlight ((t (:foreground "white" :background "#1278A8" :inherit nil )))) 69 | 70 | ;; flyspell-mode 71 | '(flyspell-incorrect ((t (:underline "#AA0000" :background nil :inherit nil )))) 72 | '(flyspell-duplicate ((t (:underline "#009945" :background nil :inherit nil )))) 73 | 74 | ;; flymake-mode 75 | '(flymake-errline ((t (:underline "#AA0000" :background nil :inherit nil )))) 76 | '(flymake-warnline ((t (:underline "#009945" :background nil :inherit nil )))) 77 | 78 | ;;git-gutter 79 | '(git-gutter:added ((t (:foreground "#609f60" :bold t)))) 80 | '(git-gutter:modified ((t (:foreground "#3388cc" :bold t)))) 81 | '(git-gutter:deleted ((t (:foreground "#cc3333" :bold t)))) 82 | 83 | '(diff-added ((t (:background "#305030")))) 84 | '(diff-removed ((t (:background "#903010")))) 85 | '(diff-file-header ((t (:background "#362145")))) 86 | '(diff-context ((t (:foreground "#E0E4CC")))) 87 | '(diff-changed ((t (:foreground "#3388cc")))) 88 | '(diff-hunk-header ((t (:background "#242130")))) 89 | 90 | 91 | '(font-lock-comment-face ((t (:foreground "#655e25" )))) 92 | '(font-lock-string-face ((t (:foreground "#ffcf6c" )))) 93 | '(font-lock-builtin-face ((t (:foreground "#ffcf6c" )))) 94 | '(font-lock-variable-name-face ((t ( )))) 95 | '(font-lock-keyword-face ((t (:foreground "#ffcf6c" )))) 96 | '(font-lock-type-face ((t (:foreground "#ffffe9" )))) 97 | '(font-lock-function-name-face ((t (:foreground "#00a8c6" )))) 98 | '(js3-function-param-face ((t (:foreground "#ffcf6c" )))) 99 | '(js2-function-param ((t (:foreground "#ffcf6c" )))) 100 | '(font-lock-warning-face ((t (:foreground "#ffffed" :background "#004b59" )))) 101 | '(diff-removed ((t (:foreground "#484032" )))) 102 | '(diff-added ((t (:foreground "#f6dbaa" )))) 103 | '(diff-changed ((t (:foreground "#ffffdc" )))) 104 | '(font-lock-comment-delimiter-face ((t (:foreground "#655e25" )))) 105 | 106 | ;; Rainbow delimiters 107 | '(rainbow-delimiters-depth-1-face ((t (:foreground "#01778b")))) 108 | '(rainbow-delimiters-depth-2-face ((t (:foreground "#018398")))) 109 | '(rainbow-delimiters-depth-3-face ((t (:foreground "#018fa6")))) 110 | '(rainbow-delimiters-depth-4-face ((t (:foreground "#019ab4")))) 111 | '(rainbow-delimiters-depth-5-face ((t (:foreground "#02a6c2")))) 112 | '(rainbow-delimiters-depth-6-face ((t (:foreground "#02b2d0")))) 113 | '(rainbow-delimiters-depth-7-face ((t (:foreground "#02bede")))) 114 | '(rainbow-delimiters-depth-8-face ((t (:foreground "#02caec")))) 115 | '(rainbow-delimiters-depth-9-face ((t (:foreground "#02d6fa")))) 116 | '(rainbow-delimiters-unmatched-face ((t (:foreground "#FF0000")))) 117 | ) ;; End face definitions 118 | 119 | ;;;###autoload 120 | (when load-file-name 121 | (add-to-list 'custom-theme-load-path 122 | (file-name-as-directory (file-name-directory load-file-name)))) 123 | 124 | (provide-theme 'mbo) 125 | 126 | ;; Local Variables: 127 | ;; eval: (when (fboundp 'rainbow-mode) (rainbow-mode +1)) 128 | ;; End: 129 | 130 | ;;; mbo-theme.el ends here 131 | -------------------------------------------------------------------------------- /generatedThemes/railscasts-theme.el: -------------------------------------------------------------------------------- 1 | ;;; railscasts-theme.el --- an Emacs 24 theme based on RailsCasts (tmTheme) 2 | ;; 3 | ;;; Author: Auto Converted to Emacs 24 by tmtheme-to-deftheme (tm2deftheme) 4 | ;;; Version: 1404021811 5 | ;;; Original author: 6 | ;;; Url: https://github.com/emacsfodder/tmtheme-to-deftheme 7 | ;;; Package-Requires: ((emacs "24.0")) 8 | ;; 9 | ;;; Commentary: 10 | ;; This theme was automatically generated by tmtheme-to-deftheme (tm2deftheme), 11 | ;; from RailsCasts (tmTheme) by 12 | ;; 13 | ;;; Code: 14 | 15 | (deftheme railscasts 16 | "railscasts-theme - Created by tmtheme-to-deftheme - 2014-06-29 14:03:31 +0800") 17 | 18 | (custom-theme-set-variables 19 | 'railscasts 20 | ) 21 | 22 | (custom-theme-set-faces 23 | 'railscasts 24 | ;; basic theming. 25 | 26 | '(default ((t (:foreground "#E6E1DC" :background "#2B2B2B" )))) 27 | '(region ((t (:background "#5A647EE0")))) 28 | '(cursor ((t (:background "#FFFFFF")))) 29 | 30 | ;; Temporary defaults 31 | '(linum ((t (:foreground "#504f4e" :background "#3e3d3d" )))) 32 | '(fringe ((t ( :background "#3e3d3d" )))) 33 | 34 | '(minibuffer-prompt ((t (:foreground "#1278A8" :background nil :weight bold )))) 35 | '(escape-glyph ((t (:foreground "orange" :background nil )))) 36 | '(highlight ((t (:foreground "orange" :background nil )))) 37 | '(shadow ((t (:foreground "#777777" :background nil )))) 38 | 39 | '(trailing-whitespace ((t (:foreground "#FFFFFF" :background "#C74000" )))) 40 | '(link ((t (:foreground "#00b7f0" :background nil :underline t )))) 41 | '(link-visited ((t (:foreground "#4488cc" :underline t :inherit (link) )))) 42 | '(button ((t (:foreground "#FFFFFF" :background "#444444" :underline t :inherit (link) )))) 43 | '(next-error ((t ( :inherit (region) )))) 44 | '(query-replace ((t ( :inherit (isearch) )))) 45 | '(header-line ((t (:foreground "#EEEEEE" :background "#444444" :box nil :inherit (mode-line) )))) 46 | 47 | '(mode-line-highlight ((t ( :box nil )))) 48 | '(mode-line-emphasis ((t ( :weight bold )))) 49 | '(mode-line-buffer-id ((t ( :box nil :weight bold )))) 50 | 51 | '(mode-line-inactive ((t (:foreground "#c0b4a8" :background "#3e3d3d" :box nil :weight light :inherit (mode-line) )))) 52 | '(mode-line ((t (:foreground "#e6e1dc" :background "#3e3d3d" :box nil )))) 53 | 54 | '(isearch ((t (:foreground "#99ccee" :background "#444444" )))) 55 | '(isearch-fail ((t ( :background "#ffaaaa" )))) 56 | '(lazy-highlight ((t ( :background "#77bbdd" )))) 57 | '(match ((t ( :background "#3388cc" )))) 58 | 59 | '(tooltip ((t (:foreground "black" :background "LightYellow" :inherit (variable-pitch) )))) 60 | 61 | '(js3-function-param-face ((t (:foreground "#BFC3A9" )))) 62 | '(js3-external-variable-face ((t (:foreground "#F0B090" :bold t )))) 63 | 64 | '(secondary-selection ((t ( :background "#342858" )))) 65 | '(cua-rectangle ((t (:foreground "#E0E4CC" :background "#342858" )))) 66 | 67 | ;; Magit hightlight 68 | '(magit-item-highlight ((t (:foreground "white" :background "#1278A8" :inherit nil )))) 69 | 70 | ;; flyspell-mode 71 | '(flyspell-incorrect ((t (:underline "#AA0000" :background nil :inherit nil )))) 72 | '(flyspell-duplicate ((t (:underline "#009945" :background nil :inherit nil )))) 73 | 74 | ;; flymake-mode 75 | '(flymake-errline ((t (:underline "#AA0000" :background nil :inherit nil )))) 76 | '(flymake-warnline ((t (:underline "#009945" :background nil :inherit nil )))) 77 | 78 | ;;git-gutter 79 | '(git-gutter:added ((t (:foreground "#609f60" :bold t)))) 80 | '(git-gutter:modified ((t (:foreground "#3388cc" :bold t)))) 81 | '(git-gutter:deleted ((t (:foreground "#cc3333" :bold t)))) 82 | 83 | '(diff-added ((t (:background "#305030")))) 84 | '(diff-removed ((t (:background "#903010")))) 85 | '(diff-file-header ((t (:background "#362145")))) 86 | '(diff-context ((t (:foreground "#E0E4CC")))) 87 | '(diff-changed ((t (:foreground "#3388cc")))) 88 | '(diff-hunk-header ((t (:background "#242130")))) 89 | 90 | 91 | '(font-lock-comment-face ((t (:foreground "#BC9458" :italic t)))) 92 | '(font-lock-keyword-face ((t (:foreground "#CC7833" )))) 93 | '(font-lock-function-name-face ((t (:foreground "#FFC66D" )))) 94 | '(font-lock-constant-face ((t (:foreground "#6D9CBE" )))) 95 | '(font-lock-builtin-face ((t (:foreground "#6E9CBE" )))) 96 | '(font-lock-string-face ((t (:foreground "#A5C261" )))) 97 | '(diff-added ((t (:foreground "#E6E1DC" :background "#144212" )))) 98 | '(diff-removed ((t (:foreground "#E6E1DC" :background "#660000" )))) 99 | '(font-lock-comment-delimiter-face ((t (:foreground "#BC9458" :italic t)))) 100 | 101 | ;; Rainbow delimiters 102 | '(rainbow-delimiters-depth-1-face ((t (:foreground "#8f5524")))) 103 | '(rainbow-delimiters-depth-2-face ((t (:foreground "#9e5d28")))) 104 | '(rainbow-delimiters-depth-3-face ((t (:foreground "#ac662b")))) 105 | '(rainbow-delimiters-depth-4-face ((t (:foreground "#ba6e2f")))) 106 | '(rainbow-delimiters-depth-5-face ((t (:foreground "#c97732")))) 107 | '(rainbow-delimiters-depth-6-face ((t (:foreground "#cf803e")))) 108 | '(rainbow-delimiters-depth-7-face ((t (:foreground "#d2894d")))) 109 | '(rainbow-delimiters-depth-8-face ((t (:foreground "#d6935b")))) 110 | '(rainbow-delimiters-depth-9-face ((t (:foreground "#d99c69")))) 111 | '(rainbow-delimiters-unmatched-face ((t (:foreground "#FF0000")))) 112 | ) ;; End face definitions 113 | 114 | ;;;###autoload 115 | (when load-file-name 116 | (add-to-list 'custom-theme-load-path 117 | (file-name-as-directory (file-name-directory load-file-name)))) 118 | 119 | (provide-theme 'railscasts) 120 | 121 | ;; Local Variables: 122 | ;; eval: (when (fboundp 'rainbow-mode) (rainbow-mode +1)) 123 | ;; End: 124 | 125 | ;;; railscasts-theme.el ends here 126 | -------------------------------------------------------------------------------- /generatedThemes/resesif-boned-theme.el: -------------------------------------------------------------------------------- 1 | ;;; resesif-boned-theme.el --- an Emacs 24 theme based on Resesif Boned (tmTheme) 2 | ;; 3 | ;;; Author: Auto Converted to Emacs 24 by tmtheme-to-deftheme (tm2deftheme) 4 | ;;; Version: 1404021812 5 | ;;; Original author: 6 | ;;; Url: https://github.com/emacsfodder/tmtheme-to-deftheme 7 | ;;; Package-Requires: ((emacs "24.0")) 8 | ;; 9 | ;;; Commentary: 10 | ;; This theme was automatically generated by tmtheme-to-deftheme (tm2deftheme), 11 | ;; from Resesif Boned (tmTheme) by 12 | ;; 13 | ;;; Code: 14 | 15 | (deftheme resesif-boned 16 | "resesif-boned-theme - Created by tmtheme-to-deftheme - 2014-06-29 14:03:32 +0800") 17 | 18 | (custom-theme-set-variables 19 | 'resesif-boned 20 | ) 21 | 22 | (custom-theme-set-faces 23 | 'resesif-boned 24 | ;; basic theming. 25 | 26 | '(default ((t (:foreground "#E6E1DC" :background "#17171716" )))) 27 | '(region ((t (:background "#5A647EE0")))) 28 | '(cursor ((t (:background "#FFFFFF")))) 29 | 30 | ;; Temporary defaults 31 | '(linum ((t (:foreground "#403f3e" :background "#2c2b2b" )))) 32 | '(fringe ((t ( :background "#2c2b2b" )))) 33 | 34 | '(minibuffer-prompt ((t (:foreground "#1278A8" :background nil :weight bold )))) 35 | '(escape-glyph ((t (:foreground "orange" :background nil )))) 36 | '(highlight ((t (:foreground "orange" :background nil )))) 37 | '(shadow ((t (:foreground "#777777" :background nil )))) 38 | 39 | '(trailing-whitespace ((t (:foreground "#FFFFFF" :background "#C74000" )))) 40 | '(link ((t (:foreground "#00b7f0" :background nil :underline t )))) 41 | '(link-visited ((t (:foreground "#4488cc" :underline t :inherit (link) )))) 42 | '(button ((t (:foreground "#FFFFFF" :background "#444444" :underline t :inherit (link) )))) 43 | '(next-error ((t ( :inherit (region) )))) 44 | '(query-replace ((t ( :inherit (isearch) )))) 45 | '(header-line ((t (:foreground "#EEEEEE" :background "#444444" :box nil :inherit (mode-line) )))) 46 | 47 | '(mode-line-highlight ((t ( :box nil )))) 48 | '(mode-line-emphasis ((t ( :weight bold )))) 49 | '(mode-line-buffer-id ((t ( :box nil :weight bold )))) 50 | 51 | '(mode-line-inactive ((t (:foreground "#c0b4a8" :background "#2c2b2b" :box nil :weight light :inherit (mode-line) )))) 52 | '(mode-line ((t (:foreground "#e6e1dc" :background "#2c2b2b" :box nil )))) 53 | 54 | '(isearch ((t (:foreground "#99ccee" :background "#444444" )))) 55 | '(isearch-fail ((t ( :background "#ffaaaa" )))) 56 | '(lazy-highlight ((t ( :background "#77bbdd" )))) 57 | '(match ((t ( :background "#3388cc" )))) 58 | 59 | '(tooltip ((t (:foreground "black" :background "LightYellow" :inherit (variable-pitch) )))) 60 | 61 | '(js3-function-param-face ((t (:foreground "#BFC3A9" )))) 62 | '(js3-external-variable-face ((t (:foreground "#F0B090" :bold t )))) 63 | 64 | '(secondary-selection ((t ( :background "#342858" )))) 65 | '(cua-rectangle ((t (:foreground "#E0E4CC" :background "#342858" )))) 66 | 67 | ;; Magit hightlight 68 | '(magit-item-highlight ((t (:foreground "white" :background "#1278A8" :inherit nil )))) 69 | 70 | ;; flyspell-mode 71 | '(flyspell-incorrect ((t (:underline "#AA0000" :background nil :inherit nil )))) 72 | '(flyspell-duplicate ((t (:underline "#009945" :background nil :inherit nil )))) 73 | 74 | ;; flymake-mode 75 | '(flymake-errline ((t (:underline "#AA0000" :background nil :inherit nil )))) 76 | '(flymake-warnline ((t (:underline "#009945" :background nil :inherit nil )))) 77 | 78 | ;;git-gutter 79 | '(git-gutter:added ((t (:foreground "#609f60" :bold t)))) 80 | '(git-gutter:modified ((t (:foreground "#3388cc" :bold t)))) 81 | '(git-gutter:deleted ((t (:foreground "#cc3333" :bold t)))) 82 | 83 | '(diff-added ((t (:background "#305030")))) 84 | '(diff-removed ((t (:background "#903010")))) 85 | '(diff-file-header ((t (:background "#362145")))) 86 | '(diff-context ((t (:foreground "#E0E4CC")))) 87 | '(diff-changed ((t (:foreground "#3388cc")))) 88 | '(diff-hunk-header ((t (:background "#242130")))) 89 | 90 | 91 | '(font-lock-comment-face ((t (:foreground "#414141" )))) 92 | '(font-lock-keyword-face ((t (:foreground "#B6C34D" )))) 93 | '(font-lock-constant-face ((t (:foreground "#C29B7A" :background "#26211d" )))) 94 | '(font-lock-builtin-face ((t (:foreground "#71BACC" )))) 95 | '(font-lock-string-face ((t (:foreground "#B0CC66" :background "#1e201a" )))) 96 | '(diff-added ((t (:foreground "#E6E1DC" :background "#043202" )))) 97 | '(diff-removed ((t (:foreground "#E6E1DC" :background "#550000" )))) 98 | '(font-lock-comment-delimiter-face ((t (:foreground "#414141" )))) 99 | 100 | ;; Rainbow delimiters 101 | '(rainbow-delimiters-depth-1-face ((t (:foreground "#886d56")))) 102 | '(rainbow-delimiters-depth-2-face ((t (:foreground "#96785e")))) 103 | '(rainbow-delimiters-depth-3-face ((t (:foreground "#a1836a")))) 104 | '(rainbow-delimiters-depth-4-face ((t (:foreground "#aa8f77")))) 105 | '(rainbow-delimiters-depth-5-face ((t (:foreground "#b29a85")))) 106 | '(rainbow-delimiters-depth-6-face ((t (:foreground "#bba592")))) 107 | '(rainbow-delimiters-depth-7-face ((t (:foreground "#c3b0a0")))) 108 | '(rainbow-delimiters-depth-8-face ((t (:foreground "#ccbcae")))) 109 | '(rainbow-delimiters-depth-9-face ((t (:foreground "#d5c7bb")))) 110 | '(rainbow-delimiters-unmatched-face ((t (:foreground "#FF0000")))) 111 | ) ;; End face definitions 112 | 113 | ;;;###autoload 114 | (when load-file-name 115 | (add-to-list 'custom-theme-load-path 116 | (file-name-as-directory (file-name-directory load-file-name)))) 117 | 118 | (provide-theme 'resesif-boned) 119 | 120 | ;; Local Variables: 121 | ;; eval: (when (fboundp 'rainbow-mode) (rainbow-mode +1)) 122 | ;; End: 123 | 124 | ;;; resesif-boned-theme.el ends here 125 | -------------------------------------------------------------------------------- /generatedThemes/rhuk-theme.el: -------------------------------------------------------------------------------- 1 | ;;; rhuk-theme.el --- an Emacs 24 theme based on Rhuk (tmTheme) 2 | ;; 3 | ;;; Author: Auto Converted to Emacs 24 by tmtheme-to-deftheme (tm2deftheme) 4 | ;;; Version: 1404021813 5 | ;;; Original author: 6 | ;;; Url: https://github.com/emacsfodder/tmtheme-to-deftheme 7 | ;;; Package-Requires: ((emacs "24.0")) 8 | ;; 9 | ;;; Commentary: 10 | ;; This theme was automatically generated by tmtheme-to-deftheme (tm2deftheme), 11 | ;; from Rhuk (tmTheme) by 12 | ;; 13 | ;;; Code: 14 | 15 | (deftheme rhuk 16 | "rhuk-theme - Created by tmtheme-to-deftheme - 2014-06-29 14:03:33 +0800") 17 | 18 | (custom-theme-set-variables 19 | 'rhuk 20 | ) 21 | 22 | (custom-theme-set-faces 23 | 'rhuk 24 | ;; basic theming. 25 | 26 | '(default ((t (:foreground "#e6e2da" :background "#222222" )))) 27 | '(region ((t (:background "#49483E")))) 28 | '(cursor ((t (:background "#F8F8F0")))) 29 | 30 | ;; Temporary defaults 31 | '(linum ((t (:foreground "#494847" :background "#363534" )))) 32 | '(fringe ((t ( :background "#363534" )))) 33 | 34 | '(minibuffer-prompt ((t (:foreground "#1278A8" :background nil :weight bold )))) 35 | '(escape-glyph ((t (:foreground "orange" :background nil )))) 36 | '(highlight ((t (:foreground "orange" :background nil )))) 37 | '(shadow ((t (:foreground "#777777" :background nil )))) 38 | 39 | '(trailing-whitespace ((t (:foreground "#FFFFFF" :background "#C74000" )))) 40 | '(link ((t (:foreground "#00b7f0" :background nil :underline t )))) 41 | '(link-visited ((t (:foreground "#4488cc" :underline t :inherit (link) )))) 42 | '(button ((t (:foreground "#FFFFFF" :background "#444444" :underline t :inherit (link) )))) 43 | '(next-error ((t ( :inherit (region) )))) 44 | '(query-replace ((t ( :inherit (isearch) )))) 45 | '(header-line ((t (:foreground "#EEEEEE" :background "#444444" :box nil :inherit (mode-line) )))) 46 | 47 | '(mode-line-highlight ((t ( :box nil )))) 48 | '(mode-line-emphasis ((t ( :weight bold )))) 49 | '(mode-line-buffer-id ((t ( :box nil :weight bold )))) 50 | 51 | '(mode-line-inactive ((t (:foreground "#c2b8a5" :background "#363534" :box nil :weight light :inherit (mode-line) )))) 52 | '(mode-line ((t (:foreground "#e6e2da" :background "#363534" :box nil )))) 53 | 54 | '(isearch ((t (:foreground "#99ccee" :background "#444444" )))) 55 | '(isearch-fail ((t ( :background "#ffaaaa" )))) 56 | '(lazy-highlight ((t ( :background "#77bbdd" )))) 57 | '(match ((t ( :background "#3388cc" )))) 58 | 59 | '(tooltip ((t (:foreground "black" :background "LightYellow" :inherit (variable-pitch) )))) 60 | 61 | '(js3-function-param-face ((t (:foreground "#BFC3A9" )))) 62 | '(js3-external-variable-face ((t (:foreground "#F0B090" :bold t )))) 63 | 64 | '(secondary-selection ((t ( :background "#342858" )))) 65 | '(cua-rectangle ((t (:foreground "#E0E4CC" :background "#342858" )))) 66 | 67 | ;; Magit hightlight 68 | '(magit-item-highlight ((t (:foreground "white" :background "#1278A8" :inherit nil )))) 69 | 70 | ;; flyspell-mode 71 | '(flyspell-incorrect ((t (:underline "#AA0000" :background nil :inherit nil )))) 72 | '(flyspell-duplicate ((t (:underline "#009945" :background nil :inherit nil )))) 73 | 74 | ;; flymake-mode 75 | '(flymake-errline ((t (:underline "#AA0000" :background nil :inherit nil )))) 76 | '(flymake-warnline ((t (:underline "#009945" :background nil :inherit nil )))) 77 | 78 | ;;git-gutter 79 | '(git-gutter:added ((t (:foreground "#609f60" :bold t)))) 80 | '(git-gutter:modified ((t (:foreground "#3388cc" :bold t)))) 81 | '(git-gutter:deleted ((t (:foreground "#cc3333" :bold t)))) 82 | 83 | '(diff-added ((t (:background "#305030")))) 84 | '(diff-removed ((t (:background "#903010")))) 85 | '(diff-file-header ((t (:background "#362145")))) 86 | '(diff-context ((t (:foreground "#E0E4CC")))) 87 | '(diff-changed ((t (:foreground "#3388cc")))) 88 | '(diff-hunk-header ((t (:background "#242130")))) 89 | 90 | 91 | '(font-lock-comment-face ((t (:foreground "#686760" )))) 92 | '(font-lock-string-face ((t (:foreground "#E6DB74" )))) 93 | '(font-lock-builtin-face ((t (:foreground "#fdc51a" )))) 94 | '(font-lock-variable-name-face ((t ( )))) 95 | '(font-lock-keyword-face ((t (:foreground "#ff6814" )))) 96 | '(font-lock-type-face ((t (:foreground "#e1861c" :underline t)))) 97 | '(font-lock-function-name-face ((t (:foreground "#e1861c" )))) 98 | '(js3-function-param-face ((t (:foreground "#FD971F" :italic t)))) 99 | '(js2-function-param ((t (:foreground "#FD971F" :italic t)))) 100 | '(font-lock-warning-face ((t (:foreground "#F8F8F0" :background "#fdc51a" )))) 101 | '(diff-removed ((t (:foreground "#ff6814" )))) 102 | '(diff-added ((t (:foreground "#e1861c" )))) 103 | '(diff-changed ((t (:foreground "#E6DB74" )))) 104 | '(font-lock-comment-delimiter-face ((t (:foreground "#686760" )))) 105 | 106 | ;; Rainbow delimiters 107 | '(rainbow-delimiters-depth-1-face ((t (:foreground "#b3490e")))) 108 | '(rainbow-delimiters-depth-2-face ((t (:foreground "#c5510f")))) 109 | '(rainbow-delimiters-depth-3-face ((t (:foreground "#d75811")))) 110 | '(rainbow-delimiters-depth-4-face ((t (:foreground "#e95f12")))) 111 | '(rainbow-delimiters-depth-5-face ((t (:foreground "#ee6b21")))) 112 | '(rainbow-delimiters-depth-6-face ((t (:foreground "#ef7733")))) 113 | '(rainbow-delimiters-depth-7-face ((t (:foreground "#f08345")))) 114 | '(rainbow-delimiters-depth-8-face ((t (:foreground "#f28f57")))) 115 | '(rainbow-delimiters-depth-9-face ((t (:foreground "#f39b69")))) 116 | '(rainbow-delimiters-unmatched-face ((t (:foreground "#FF0000")))) 117 | ) ;; End face definitions 118 | 119 | ;;;###autoload 120 | (when load-file-name 121 | (add-to-list 'custom-theme-load-path 122 | (file-name-as-directory (file-name-directory load-file-name)))) 123 | 124 | (provide-theme 'rhuk) 125 | 126 | ;; Local Variables: 127 | ;; eval: (when (fboundp 'rainbow-mode) (rainbow-mode +1)) 128 | ;; End: 129 | 130 | ;;; rhuk-theme.el ends here 131 | -------------------------------------------------------------------------------- /generatedThemes/tech49-theme.el: -------------------------------------------------------------------------------- 1 | ;;; tech49-theme.el --- an Emacs 24 theme based on Tech49 (tmTheme) 2 | ;; 3 | ;;; Author: Auto Converted to Emacs 24 by tmtheme-to-deftheme (tm2deftheme) 4 | ;;; Version: 1404021814 5 | ;;; Original author: 6 | ;;; Url: https://github.com/emacsfodder/tmtheme-to-deftheme 7 | ;;; Package-Requires: ((emacs "24.0")) 8 | ;; 9 | ;;; Commentary: 10 | ;; This theme was automatically generated by tmtheme-to-deftheme (tm2deftheme), 11 | ;; from Tech49 (tmTheme) by 12 | ;; 13 | ;;; Code: 14 | 15 | (deftheme tech49 16 | "tech49-theme - Created by tmtheme-to-deftheme - 2014-06-29 14:03:34 +0800") 17 | 18 | (custom-theme-set-variables 19 | 'tech49 20 | ) 21 | 22 | (custom-theme-set-faces 23 | 'tech49 24 | ;; basic theming. 25 | 26 | '(default ((t (:foreground "#accecb" :background "#000000" )))) 27 | '(region ((t (:background "#3e4e55BB")))) 28 | '(cursor ((t (:background "#a1e4f2")))) 29 | 30 | ;; Temporary defaults 31 | '(linum ((t (:foreground "#222929" :background "#111514" )))) 32 | '(fringe ((t ( :background "#111514" )))) 33 | 34 | '(minibuffer-prompt ((t (:foreground "#1278A8" :background nil :weight bold )))) 35 | '(escape-glyph ((t (:foreground "orange" :background nil )))) 36 | '(highlight ((t (:foreground "orange" :background nil )))) 37 | '(shadow ((t (:foreground "#777777" :background nil )))) 38 | 39 | '(trailing-whitespace ((t (:foreground "#FFFFFF" :background "#C74000" )))) 40 | '(link ((t (:foreground "#00b7f0" :background nil :underline t )))) 41 | '(link-visited ((t (:foreground "#4488cc" :underline t :inherit (link) )))) 42 | '(button ((t (:foreground "#FFFFFF" :background "#444444" :underline t :inherit (link) )))) 43 | '(next-error ((t ( :inherit (region) )))) 44 | '(query-replace ((t ( :inherit (isearch) )))) 45 | '(header-line ((t (:foreground "#EEEEEE" :background "#444444" :box nil :inherit (mode-line) )))) 46 | 47 | '(mode-line-highlight ((t ( :box nil )))) 48 | '(mode-line-emphasis ((t ( :weight bold )))) 49 | '(mode-line-buffer-id ((t ( :box nil :weight bold )))) 50 | 51 | '(mode-line-inactive ((t (:foreground "#7cb2ad" :background "#111514" :box nil :weight light :inherit (mode-line) )))) 52 | '(mode-line ((t (:foreground "#accecb" :background "#111514" :box nil )))) 53 | 54 | '(isearch ((t (:foreground "#99ccee" :background "#444444" )))) 55 | '(isearch-fail ((t ( :background "#ffaaaa" )))) 56 | '(lazy-highlight ((t ( :background "#77bbdd" )))) 57 | '(match ((t ( :background "#3388cc" )))) 58 | 59 | '(tooltip ((t (:foreground "black" :background "LightYellow" :inherit (variable-pitch) )))) 60 | 61 | '(js3-function-param-face ((t (:foreground "#BFC3A9" )))) 62 | '(js3-external-variable-face ((t (:foreground "#F0B090" :bold t )))) 63 | 64 | '(secondary-selection ((t ( :background "#342858" )))) 65 | '(cua-rectangle ((t (:foreground "#E0E4CC" :background "#342858" )))) 66 | 67 | ;; Magit hightlight 68 | '(magit-item-highlight ((t (:foreground "white" :background "#1278A8" :inherit nil )))) 69 | 70 | ;; flyspell-mode 71 | '(flyspell-incorrect ((t (:underline "#AA0000" :background nil :inherit nil )))) 72 | '(flyspell-duplicate ((t (:underline "#009945" :background nil :inherit nil )))) 73 | 74 | ;; flymake-mode 75 | '(flymake-errline ((t (:underline "#AA0000" :background nil :inherit nil )))) 76 | '(flymake-warnline ((t (:underline "#009945" :background nil :inherit nil )))) 77 | 78 | ;;git-gutter 79 | '(git-gutter:added ((t (:foreground "#609f60" :bold t)))) 80 | '(git-gutter:modified ((t (:foreground "#3388cc" :bold t)))) 81 | '(git-gutter:deleted ((t (:foreground "#cc3333" :bold t)))) 82 | 83 | '(diff-added ((t (:background "#305030")))) 84 | '(diff-removed ((t (:background "#903010")))) 85 | '(diff-file-header ((t (:background "#362145")))) 86 | '(diff-context ((t (:foreground "#E0E4CC")))) 87 | '(diff-changed ((t (:foreground "#3388cc")))) 88 | '(diff-hunk-header ((t (:background "#242130")))) 89 | 90 | 91 | '(font-lock-comment-face ((t (:foreground "#3f5459" )))) 92 | '(font-lock-variable-name-face ((t (:foreground "#fefedb" )))) 93 | '(font-lock-builtin-face ((t (:foreground "#ff815c" )))) 94 | '(font-lock-type-face ((t (:foreground "#d9fefd" :bold t)))) 95 | '(font-lock-string-face ((t (:foreground "#9ea485" )))) 96 | '(font-lock-function-name-face ((t (:foreground "#78cfde" :italic t)))) 97 | '(font-lock-keyword-face ((t (:foreground "#d1dbaf" )))) 98 | '(font-lock-warning-face ((t (:foreground "#8a291b" :background "#ff815a" )))) 99 | '(diff-removed ((t (:foreground "#ff815a" )))) 100 | '(diff-added ((t (:foreground "#c4fefd" )))) 101 | '(diff-changed ((t (:foreground "#fcffc7" )))) 102 | '(markdown-blockquote-face ((t (:foreground "#c5cf8d" :italic t)))) 103 | '(markdown-link-title-face ((t (:foreground "#b3bd93" :underline t)))) 104 | '(markdown-list-face ((t (:foreground "#fc674e" )))) 105 | '(font-lock-comment-delimiter-face ((t (:foreground "#3f5459" )))) 106 | 107 | ;; Rainbow delimiters 108 | '(rainbow-delimiters-depth-1-face ((t (:foreground "#b14937")))) 109 | '(rainbow-delimiters-depth-2-face ((t (:foreground "#c3503c")))) 110 | '(rainbow-delimiters-depth-3-face ((t (:foreground "#c8604e")))) 111 | '(rainbow-delimiters-depth-4-face ((t (:foreground "#ce7060")))) 112 | '(rainbow-delimiters-depth-5-face ((t (:foreground "#d38071")))) 113 | '(rainbow-delimiters-depth-6-face ((t (:foreground "#d99083")))) 114 | '(rainbow-delimiters-depth-7-face ((t (:foreground "#dea095")))) 115 | '(rainbow-delimiters-depth-8-face ((t (:foreground "#e4b0a6")))) 116 | '(rainbow-delimiters-depth-9-face ((t (:foreground "#e9c0b8")))) 117 | '(rainbow-delimiters-unmatched-face ((t (:foreground "#FF0000")))) 118 | ) ;; End face definitions 119 | 120 | ;;;###autoload 121 | (when load-file-name 122 | (add-to-list 'custom-theme-load-path 123 | (file-name-as-directory (file-name-directory load-file-name)))) 124 | 125 | (provide-theme 'tech49) 126 | 127 | ;; Local Variables: 128 | ;; eval: (when (fboundp 'rainbow-mode) (rainbow-mode +1)) 129 | ;; End: 130 | 131 | ;;; tech49-theme.el ends here 132 | -------------------------------------------------------------------------------- /generatedThemes/twilight-theme.el: -------------------------------------------------------------------------------- 1 | ;;; twilight-theme.el --- an Emacs 24 theme based on Twilight (tmTheme) 2 | ;; 3 | ;;; Author: Auto Converted to Emacs 24 by tmtheme-to-deftheme (tm2deftheme) 4 | ;;; Version: 1404021814 5 | ;;; Original author: Michael Sheets 6 | ;;; Url: https://github.com/emacsfodder/tmtheme-to-deftheme 7 | ;;; Package-Requires: ((emacs "24.0")) 8 | ;; 9 | ;;; Commentary: 10 | ;; This theme was automatically generated by tmtheme-to-deftheme (tm2deftheme), 11 | ;; from Twilight (tmTheme) by Michael Sheets 12 | ;; 13 | ;;; Code: 14 | 15 | (deftheme twilight 16 | "twilight-theme - Created by tmtheme-to-deftheme - 2014-06-29 14:03:34 +0800") 17 | 18 | (custom-theme-set-variables 19 | 'twilight 20 | ) 21 | 22 | (custom-theme-set-faces 23 | 'twilight 24 | ;; basic theming. 25 | 26 | '(default ((t (:foreground "#F8F8F8" :background "#181818" )))) 27 | '(region ((t (:background "#DDF0FF33")))) 28 | '(cursor ((t (:background "#A7A7A7")))) 29 | 30 | ;; Temporary defaults 31 | '(linum ((t (:foreground "#454545" :background "#2e2e2e" )))) 32 | '(fringe ((t ( :background "#2e2e2e" )))) 33 | 34 | '(minibuffer-prompt ((t (:foreground "#1278A8" :background nil :weight bold )))) 35 | '(escape-glyph ((t (:foreground "orange" :background nil )))) 36 | '(highlight ((t (:foreground "orange" :background nil )))) 37 | '(shadow ((t (:foreground "#777777" :background nil )))) 38 | 39 | '(trailing-whitespace ((t (:foreground "#FFFFFF" :background "#C74000" )))) 40 | '(link ((t (:foreground "#00b7f0" :background nil :underline t )))) 41 | '(link-visited ((t (:foreground "#4488cc" :underline t :inherit (link) )))) 42 | '(button ((t (:foreground "#FFFFFF" :background "#444444" :underline t :inherit (link) )))) 43 | '(next-error ((t ( :inherit (region) )))) 44 | '(query-replace ((t ( :inherit (isearch) )))) 45 | '(header-line ((t (:foreground "#EEEEEE" :background "#444444" :box nil :inherit (mode-line) )))) 46 | 47 | '(mode-line-highlight ((t ( :box nil )))) 48 | '(mode-line-emphasis ((t ( :weight bold )))) 49 | '(mode-line-buffer-id ((t ( :box nil :weight bold )))) 50 | 51 | '(mode-line-inactive ((t (:foreground "#c6c6c6" :background "#2e2e2e" :box nil :weight light :inherit (mode-line) )))) 52 | '(mode-line ((t (:foreground "#f8f8f8" :background "#2e2e2e" :box nil )))) 53 | 54 | '(isearch ((t (:foreground "#99ccee" :background "#444444" )))) 55 | '(isearch-fail ((t ( :background "#ffaaaa" )))) 56 | '(lazy-highlight ((t ( :background "#77bbdd" )))) 57 | '(match ((t ( :background "#3388cc" )))) 58 | 59 | '(tooltip ((t (:foreground "black" :background "LightYellow" :inherit (variable-pitch) )))) 60 | 61 | '(js3-function-param-face ((t (:foreground "#BFC3A9" )))) 62 | '(js3-external-variable-face ((t (:foreground "#F0B090" :bold t )))) 63 | 64 | '(secondary-selection ((t ( :background "#342858" )))) 65 | '(cua-rectangle ((t (:foreground "#E0E4CC" :background "#342858" )))) 66 | 67 | ;; Magit hightlight 68 | '(magit-item-highlight ((t (:foreground "white" :background "#1278A8" :inherit nil )))) 69 | 70 | ;; flyspell-mode 71 | '(flyspell-incorrect ((t (:underline "#AA0000" :background nil :inherit nil )))) 72 | '(flyspell-duplicate ((t (:underline "#009945" :background nil :inherit nil )))) 73 | 74 | ;; flymake-mode 75 | '(flymake-errline ((t (:underline "#AA0000" :background nil :inherit nil )))) 76 | '(flymake-warnline ((t (:underline "#009945" :background nil :inherit nil )))) 77 | 78 | ;;git-gutter 79 | '(git-gutter:added ((t (:foreground "#609f60" :bold t)))) 80 | '(git-gutter:modified ((t (:foreground "#3388cc" :bold t)))) 81 | '(git-gutter:deleted ((t (:foreground "#cc3333" :bold t)))) 82 | 83 | '(diff-added ((t (:background "#305030")))) 84 | '(diff-removed ((t (:background "#903010")))) 85 | '(diff-file-header ((t (:background "#362145")))) 86 | '(diff-context ((t (:foreground "#E0E4CC")))) 87 | '(diff-changed ((t (:foreground "#3388cc")))) 88 | '(diff-hunk-header ((t (:background "#242130")))) 89 | 90 | 91 | '(font-lock-comment-face ((t (:foreground "#5F5A60" :italic t)))) 92 | '(font-lock-constant-face ((t (:foreground "#CF6A4C" )))) 93 | '(font-lock-type-face ((t (:foreground "#9B703F" )))) 94 | '(font-lock-keyword-face ((t (:foreground "#CDA869" )))) 95 | '(font-lock-string-face ((t (:foreground "#8F9D6A" )))) 96 | '(font-lock-variable-name-face ((t (:foreground "#7587A6" )))) 97 | '(font-lock-warning-face ((t (:foreground "#D2A8A1" :italic t :underline t)))) 98 | '(error ((t (:foreground "#F8F8F8" :background "#462846" )))) 99 | '(font-lock-preprocessor-face ((t (:foreground "#8996A8" )))) 100 | '(diff-removed ((t (:foreground "#F8F8F8" :background "#420E09" )))) 101 | '(diff-changed ((t (:foreground "#F8F8F8" :background "#4A410D" )))) 102 | '(diff-added ((t (:foreground "#F8F8F8" :background "#253B22" )))) 103 | '(font-lock-comment-delimiter-face ((t (:foreground "#5F5A60" :italic t)))) 104 | 105 | ;; Rainbow delimiters 106 | '(rainbow-delimiters-depth-1-face ((t (:foreground "#6d4f2d")))) 107 | '(rainbow-delimiters-depth-2-face ((t (:foreground "#785731")))) 108 | '(rainbow-delimiters-depth-3-face ((t (:foreground "#835f35")))) 109 | '(rainbow-delimiters-depth-4-face ((t (:foreground "#8e673a")))) 110 | '(rainbow-delimiters-depth-5-face ((t (:foreground "#996f3e")))) 111 | '(rainbow-delimiters-depth-6-face ((t (:foreground "#a47743")))) 112 | '(rainbow-delimiters-depth-7-face ((t (:foreground "#af7e47")))) 113 | '(rainbow-delimiters-depth-8-face ((t (:foreground "#b7864e")))) 114 | '(rainbow-delimiters-depth-9-face ((t (:foreground "#bb8e59")))) 115 | '(rainbow-delimiters-unmatched-face ((t (:foreground "#FF0000")))) 116 | ) ;; End face definitions 117 | 118 | ;;;###autoload 119 | (when load-file-name 120 | (add-to-list 'custom-theme-load-path 121 | (file-name-as-directory (file-name-directory load-file-name)))) 122 | 123 | (provide-theme 'twilight) 124 | 125 | ;; Local Variables: 126 | ;; eval: (when (fboundp 'rainbow-mode) (rainbow-mode +1)) 127 | ;; End: 128 | 129 | ;;; twilight-theme.el ends here 130 | -------------------------------------------------------------------------------- /install-generated-themes.el: -------------------------------------------------------------------------------- 1 | ;; Dirt simple loop loading of generated themes 2 | (mapc 3 | #'(lambda (f) 4 | (message "Installing... %s" f) 5 | (package-install-file f)) 6 | (directory-files "./generatedThemes/" t ".*-theme\\.el" )) 7 | -------------------------------------------------------------------------------- /lib/tm2deftheme/version.rb: -------------------------------------------------------------------------------- 1 | module TmthemeToDeftheme 2 | VERSION = "0.2.1" 3 | end 4 | -------------------------------------------------------------------------------- /lib/tmtheme-to-deftheme.rb: -------------------------------------------------------------------------------- 1 | module TmthemeToDeftheme 2 | 3 | require 'plist4r' 4 | require 'color' 5 | require 'erubis' 6 | require 'yaml' 7 | 8 | class Main 9 | 10 | SCOPE_MAP = YAML.load_file(File.join(File.dirname(__FILE__),'..','data','scopes-to-faces.yml')) 11 | TM_SCOPES = SCOPE_MAP.map(&:first) 12 | EMACS_FACES = SCOPE_MAP.map{|a| a[1..-1]} 13 | 14 | def initialize theme_filename, options 15 | @theme_filename = theme_filename 16 | @options = options 17 | 18 | @plist = Plist4r.open @theme_filename 19 | @author = @plist["author"] 20 | @name = @plist["name"] 21 | @theme_name = "#{@plist["name"]}".downcase.tr ' _', '-' 22 | @long_theme_name = "#{@theme_name}-theme" 23 | 24 | if @options[:f] 25 | @deftheme_filename = "#{@long_theme_name}.el" 26 | unless @options[:s] 27 | $stderr.puts "Creating: #{@deftheme_filename}" 28 | end 29 | if File.exist? @deftheme_filename 30 | unless @options[:o] 31 | $stderr.puts "#{@deftheme_filename} already exists, use -o to force overwrite" 32 | exit 1 33 | end 34 | end 35 | File.open(@deftheme_filename, "w") {|f| f.puts parse} 36 | else 37 | puts parse 38 | end 39 | end 40 | 41 | def debug_out message 42 | $stderr.puts message if @options[:debug] 43 | end 44 | 45 | def map_scope scope 46 | if scope.index "," 47 | names = scope.split(",").map(&:strip) 48 | debug_out names 49 | first_match = names.map{|n| TM_SCOPES.find_index n}.compact.first 50 | else 51 | debug_out scope 52 | first_match = TM_SCOPES.find_index scope 53 | end 54 | 55 | if first_match.nil? 56 | nil 57 | else 58 | debug_out "#{first_match} :: #{scope} : #{EMACS_FACES[first_match]}" 59 | EMACS_FACES[first_match] 60 | end 61 | end 62 | 63 | def make_attr s, k 64 | debug_out "Make attrs: #{s[:face]} : #{k} : #{s} : #{s[k]}" 65 | ":#{k} \"#{s[k]}\"" if s[k] 66 | end 67 | 68 | def italic_underline_bold s 69 | if s["fontStyle"] 70 | s["fontStyle"].split(" ").map{|i| ":#{i} t" }.join " " 71 | end 72 | end 73 | 74 | def face_attrs s 75 | "#{make_attr s, "foreground"} #{make_attr s, "background"} #{italic_underline_bold s}" 76 | end 77 | 78 | def map_scope_to_emacs_face hash 79 | emacs_face = map_scope hash["scope"] 80 | return nil if emacs_face.nil? 81 | settings = hash["settings"] 82 | emacs_face = [emacs_face] unless emacs_face.class == Array 83 | mapped_scope = emacs_face.map{|face| {face: face, settings: settings, scope: hash["scope"]}} 84 | debug_out mapped_scope 85 | mapped_scope 86 | end 87 | 88 | def map_palette_key faces, key 89 | faces.map{|f| Color::RGB.from_html f[:settings][key] if f[:settings][key]}.compact 90 | end 91 | 92 | def isolate_palette faces 93 | [map_palette_key( faces, "foreground"), map_palette_key( faces, "background")] 94 | end 95 | 96 | def fix_rgba hexcolor 97 | if hexcolor.length == 9 98 | c = Color::RGB.from_html hexcolor[0,7] 99 | a = hexcolor[7,2].to_i(16).to_f 100 | p = (a / 255.0) * 100.0 101 | unless @base_bg.nil? 102 | c.mix_with(@base_bg, p).html 103 | else 104 | c.html 105 | end 106 | elsif hexcolor.length == 7 || hexcolor.length == 4 107 | hexcolor 108 | end 109 | end 110 | 111 | # Note: Foreground palette 112 | def palette_average_values sample_palette 113 | samples = sample_palette.map{|c| 114 | c = c.to_hsl 115 | {hue: c.hue, sat: c.saturation, lvl: c.brightness} 116 | } 117 | 118 | avg = {} 119 | avg[:hue] = samples.map{|s| s[:hue]}.reduce{|sum,c| sum + c} / samples.size 120 | avg[:sat] = samples.map{|s| s[:sat]}.reduce{|sum,c| sum + c} / samples.size 121 | avg[:lvl] = samples.map{|s| s[:lvl]}.reduce{|sum,c| sum + c} / samples.size 122 | 123 | { 124 | color: Color::HSL.new(avg[:hue], avg[:sat], avg[:lvl]).to_rgb, 125 | avg: avg, 126 | brightest: sample_palette.max_by(&:brightness), 127 | darkest: sample_palette.min_by(&:brightness), 128 | samples: samples 129 | } 130 | end 131 | 132 | def darktheme? 133 | !lighttheme? 134 | end 135 | 136 | def lighttheme? 137 | @base_bg.brightness > 0.45 138 | end 139 | 140 | def make_rainbow_parens 141 | samples = if lighttheme? 142 | @foreground_palette.sort_by{|c| c.brightness }.select{|c| c.brightness < 0.65 } 143 | else 144 | @foreground_palette.sort_by{|c| - c.brightness }.select{|c| c.brightness > 0.45 } 145 | end 146 | 147 | debug_out "- Palette sample -------------------------------" 148 | debug_out samples.map(&:html) 149 | debug_out "- <<<<<<<<<<<<<< -------------------------------" 150 | 151 | values = palette_average_values samples 152 | @average_foregroung_color = values[:color] 153 | @darkest_foregroung_color = values[:darkest] 154 | @brightest_foregroung_color = values[:brightest] 155 | rainbow_top = @average_foregroung_color.mix_with @darkest_foregroung_color, 30 156 | 157 | 9.times.collect do |i| 158 | rainbow_top.adjust_brightness(i * 10).html 159 | end 160 | end 161 | 162 | def parse 163 | debug_out "= Converting : #{@theme_filename} ==============================" 164 | debug_out "- tmTheme scope settings --------------------" 165 | debug_out @plist["settings"].to_yaml 166 | 167 | @base_settings = @plist["settings"].first["settings"] 168 | @base_bg_hex = fix_rgba @base_settings["background"] 169 | @base_bg = Color::RGB.from_html @base_bg_hex 170 | @base_fg_hex = fix_rgba @base_settings["foreground"] 171 | @base_fg = Color::RGB.from_html @base_fg_hex 172 | 173 | @emacs_faces = @plist["settings"].collect{|s| map_scope_to_emacs_face(s) if s["scope"] }.flatten.compact 174 | 175 | if lighttheme? 176 | debug_out "- Converting : Light Theme ----------------" 177 | else 178 | debug_out "- Converting : Dark Theme ----------------" 179 | end 180 | 181 | # Debug faces 182 | debug_out "- Mapped faces ------------------------------" 183 | 184 | # Fix any RGBA colors in the tmTheme 185 | @emacs_faces.each do |f| 186 | debug_out f.to_yaml 187 | f[:settings]["foreground"] = fix_rgba f[:settings]["foreground"] if f[:settings]["foreground"] 188 | f[:settings]["background"] = fix_rgba f[:settings]["background"] if f[:settings]["background"] 189 | debug_out f.to_yaml 190 | end 191 | 192 | @foreground_palette, @background_palette = isolate_palette @emacs_faces 193 | @rainbow_parens = make_rainbow_parens + ["#FF0000"] 194 | 195 | if @emacs_faces.select{|f| f[:face] == "font-lock-comment-face"} 196 | comment_face = @emacs_faces.select{|f| f[:face] == "font-lock-comment-face"}.first 197 | if comment_face 198 | @emacs_faces << {face: "font-lock-comment-delimiter-face", settings: comment_face[:settings]} 199 | end 200 | end 201 | 202 | render 203 | end 204 | 205 | def render 206 | Erubis::Eruby.new( 207 | File.read( 208 | File.join( 209 | File.dirname(__FILE__), 210 | '..', 211 | 'templates', 212 | 'deftheme.erb.el' 213 | ))) 214 | .result binding 215 | end 216 | 217 | end 218 | 219 | end 220 | -------------------------------------------------------------------------------- /sampleThemes/Bespin.tmTheme: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | author 10 | Michael Diolosa 11 | name 12 | Bespin 13 | settings 14 | 15 | 16 | settings 17 | 18 | background 19 | #28211C 20 | caret 21 | #A7A7A7 22 | foreground 23 | #BAAE9E 24 | invisibles 25 | #FFFFFF40 26 | lineHighlight 27 | #FFFFFF08 28 | selection 29 | #DDF0FF33 30 | 31 | 32 | 33 | name 34 | Comment 35 | scope 36 | comment 37 | settings 38 | 39 | fontStyle 40 | italic 41 | foreground 42 | #666666 43 | 44 | 45 | 46 | name 47 | Constant 48 | scope 49 | constant 50 | settings 51 | 52 | foreground 53 | #CF6A4C 54 | 55 | 56 | 57 | name 58 | Entity 59 | scope 60 | entity 61 | settings 62 | 63 | fontStyle 64 | 65 | foreground 66 | #937121 67 | 68 | 69 | 70 | name 71 | Keyword 72 | scope 73 | keyword 74 | settings 75 | 76 | fontStyle 77 | 78 | foreground 79 | #5EA6EA 80 | 81 | 82 | 83 | name 84 | Storage 85 | scope 86 | storage 87 | settings 88 | 89 | fontStyle 90 | 91 | foreground 92 | #F9EE98 93 | 94 | 95 | 96 | name 97 | String 98 | scope 99 | string 100 | settings 101 | 102 | fontStyle 103 | 104 | foreground 105 | #54BE0D 106 | 107 | 108 | 109 | name 110 | Support 111 | scope 112 | support 113 | settings 114 | 115 | fontStyle 116 | 117 | foreground 118 | #9B859D 119 | 120 | 121 | 122 | name 123 | Variable 124 | scope 125 | variable 126 | settings 127 | 128 | foreground 129 | #7587A6 130 | 131 | 132 | 133 | name 134 | Invalid – Deprecated 135 | scope 136 | invalid.deprecated 137 | settings 138 | 139 | fontStyle 140 | italic underline 141 | foreground 142 | #D2A8A1 143 | 144 | 145 | 146 | name 147 | Invalid – Illegal 148 | scope 149 | invalid.illegal 150 | settings 151 | 152 | background 153 | #562D56BF 154 | foreground 155 | #F8F8F8 156 | 157 | 158 | 159 | name 160 | ----------------------------------- 161 | settings 162 | 163 | 164 | 165 | 166 | name 167 | ♦ Embedded Source 168 | scope 169 | text source 170 | settings 171 | 172 | background 173 | #B0B3BA14 174 | 175 | 176 | 177 | name 178 | ♦ Embedded Source (Bright) 179 | scope 180 | text.html.ruby source 181 | settings 182 | 183 | background 184 | #B1B3BA21 185 | 186 | 187 | 188 | name 189 | ♦ Entity inherited-class 190 | scope 191 | entity.other.inherited-class 192 | settings 193 | 194 | fontStyle 195 | italic 196 | foreground 197 | #9B5C2E 198 | 199 | 200 | 201 | name 202 | ♦ String embedded-source 203 | scope 204 | string source 205 | settings 206 | 207 | fontStyle 208 | 209 | foreground 210 | #DAEFA3 211 | 212 | 213 | 214 | name 215 | ♦ String constant 216 | scope 217 | string constant 218 | settings 219 | 220 | foreground 221 | #DDF2A4 222 | 223 | 224 | 225 | name 226 | ♦ String.regexp 227 | scope 228 | string.regexp 229 | settings 230 | 231 | fontStyle 232 | 233 | foreground 234 | #E9C062 235 | 236 | 237 | 238 | name 239 | ♦ String.regexp.«special» 240 | scope 241 | string.regexp constant.character.escape, string.regexp source.ruby.embedded, string.regexp string.regexp.arbitrary-repitition 242 | settings 243 | 244 | foreground 245 | #CF7D34 246 | 247 | 248 | 249 | name 250 | ♦ String variable 251 | scope 252 | string variable 253 | settings 254 | 255 | foreground 256 | #8A9A95 257 | 258 | 259 | 260 | name 261 | ♦ Support.function 262 | scope 263 | support.function 264 | settings 265 | 266 | fontStyle 267 | 268 | foreground 269 | #DAD085 270 | 271 | 272 | 273 | name 274 | ♦ Support.constant 275 | scope 276 | support.constant 277 | settings 278 | 279 | fontStyle 280 | 281 | foreground 282 | #CF6A4C 283 | 284 | 285 | 286 | name 287 | c C/C++ Preprocessor Line 288 | scope 289 | meta.preprocessor.c 290 | settings 291 | 292 | foreground 293 | #8996A8 294 | 295 | 296 | 297 | name 298 | c C/C++ Preprocessor Directive 299 | scope 300 | meta.preprocessor.c keyword 301 | settings 302 | 303 | foreground 304 | #AFC4DB 305 | 306 | 307 | 308 | name 309 | ✘ Doctype/XML Processing 310 | scope 311 | meta.tag.sgml.doctype, meta.tag.sgml.doctype entity, meta.tag.sgml.doctype string, meta.tag.preprocessor.xml, meta.tag.preprocessor.xml entity, meta.tag.preprocessor.xml string 312 | settings 313 | 314 | foreground 315 | #5EA6EA 316 | 317 | 318 | 319 | name 320 | ✘ Meta.tag.«all» 321 | scope 322 | declaration.tag, declaration.tag entity, meta.tag, meta.tag entity 323 | settings 324 | 325 | foreground 326 | #AC885B 327 | 328 | 329 | 330 | name 331 | § css tag-name 332 | scope 333 | meta.selector.css entity.name.tag 334 | settings 335 | 336 | fontStyle 337 | 338 | foreground 339 | #CDA869 340 | 341 | 342 | 343 | name 344 | § css:pseudo-class 345 | scope 346 | meta.selector.css entity.other.attribute-name.tag.pseudo-class 347 | settings 348 | 349 | foreground 350 | #8F9D6A 351 | 352 | 353 | 354 | name 355 | § css#id 356 | scope 357 | meta.selector.css entity.other.attribute-name.id 358 | settings 359 | 360 | foreground 361 | #8B98AB 362 | 363 | 364 | 365 | name 366 | § css.class 367 | scope 368 | meta.selector.css entity.other.attribute-name.class 369 | settings 370 | 371 | foreground 372 | #9B703F 373 | 374 | 375 | 376 | name 377 | § css property-name: 378 | scope 379 | support.type.property-name.css 380 | settings 381 | 382 | foreground 383 | #C5AF75 384 | 385 | 386 | 387 | name 388 | § css property-value; 389 | scope 390 | meta.property-group support.constant.property-value.css, meta.property-value support.constant.property-value.css 391 | settings 392 | 393 | foreground 394 | #F9EE98 395 | 396 | 397 | 398 | name 399 | § css @at-rule 400 | scope 401 | meta.preprocessor.at-rule keyword.control.at-rule 402 | settings 403 | 404 | foreground 405 | #8693A5 406 | 407 | 408 | 409 | name 410 | § css additional-constants 411 | scope 412 | meta.property-value support.constant.named-color.css, meta.property-value constant 413 | settings 414 | 415 | foreground 416 | #CA7840 417 | 418 | 419 | 420 | name 421 | § css constructor.argument 422 | scope 423 | meta.constructor.argument.css 424 | settings 425 | 426 | foreground 427 | #8F9D6A 428 | 429 | 430 | 431 | name 432 | ⎇ diff.header 433 | scope 434 | meta.diff, meta.diff.header, meta.separator 435 | settings 436 | 437 | background 438 | #0E2231 439 | fontStyle 440 | italic 441 | foreground 442 | #F8F8F8 443 | 444 | 445 | 446 | name 447 | ⎇ diff.deleted 448 | scope 449 | markup.deleted 450 | settings 451 | 452 | background 453 | #420E09 454 | foreground 455 | #F8F8F8 456 | 457 | 458 | 459 | name 460 | ⎇ diff.changed 461 | scope 462 | markup.changed 463 | settings 464 | 465 | background 466 | #4A410D 467 | foreground 468 | #F8F8F8 469 | 470 | 471 | 472 | name 473 | ⎇ diff.inserted 474 | scope 475 | markup.inserted 476 | settings 477 | 478 | background 479 | #253B22 480 | foreground 481 | #F8F8F8 482 | 483 | 484 | 485 | name 486 | Markup: List 487 | scope 488 | markup.list 489 | settings 490 | 491 | foreground 492 | #F9EE98 493 | 494 | 495 | 496 | name 497 | Markup: Heading 498 | scope 499 | markup.heading 500 | settings 501 | 502 | foreground 503 | #CF6A4C 504 | 505 | 506 | 507 | name 508 | tag name 509 | scope 510 | entity.name.tag 511 | settings 512 | 513 | foreground 514 | #5EA6EA 515 | 516 | 517 | 518 | uuid 519 | 841E11A1-2026-47C7-BC0B-7F83133B4C9F 520 | colorSpaceName 521 | sRGB 522 | semanticClass 523 | theme.dark.bespin 524 | 525 | -------------------------------------------------------------------------------- /sampleThemes/Birds of Paradise.tmTheme: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | author 10 | Joe Bergantine 11 | name 12 | Birds of Paradise 13 | semanticClass 14 | theme.dark.birds_of_paradise 15 | settings 16 | 17 | 18 | settings 19 | 20 | background 21 | #372725 22 | caret 23 | #DDDDDD 24 | foreground 25 | #E6E1C4 26 | invisibles 27 | #42302D 28 | lineHighlight 29 | #281C1C66 30 | selection 31 | #1E1C1C 32 | 33 | 34 | 35 | name 36 | Comment 37 | scope 38 | comment 39 | settings 40 | 41 | fontStyle 42 | italic 43 | foreground 44 | #6B4E32 45 | 46 | 47 | 48 | name 49 | Python Docstring 50 | scope 51 | string.quoted.double.block.python 52 | settings 53 | 54 | fontStyle 55 | italic 56 | foreground 57 | #6B4E32 58 | 59 | 60 | 61 | name 62 | Constant 63 | scope 64 | constant 65 | settings 66 | 67 | foreground 68 | #6C99BB 69 | 70 | 71 | 72 | name 73 | Entity 74 | scope 75 | entity 76 | settings 77 | 78 | fontStyle 79 | 80 | foreground 81 | #EFAC32 82 | 83 | 84 | 85 | name 86 | Keyword 87 | scope 88 | keyword 89 | settings 90 | 91 | fontStyle 92 | 93 | foreground 94 | #EF5D32 95 | 96 | 97 | 98 | name 99 | Storage 100 | scope 101 | storage 102 | settings 103 | 104 | fontStyle 105 | 106 | foreground 107 | #EF5D32 108 | 109 | 110 | 111 | name 112 | String 113 | scope 114 | string 115 | settings 116 | 117 | fontStyle 118 | italic 119 | foreground 120 | #D9D762 121 | 122 | 123 | 124 | name 125 | Support 126 | scope 127 | support 128 | settings 129 | 130 | fontStyle 131 | 132 | foreground 133 | #E6E1C4 134 | 135 | 136 | 137 | name 138 | Variable 139 | scope 140 | variable 141 | settings 142 | 143 | foreground 144 | #7DAF9C 145 | 146 | 147 | 148 | name 149 | Invalid – Deprecated 150 | scope 151 | invalid.deprecated 152 | settings 153 | 154 | fontStyle 155 | italic underline 156 | foreground 157 | #CC4232 158 | 159 | 160 | 161 | name 162 | Invalid – Illegal 163 | scope 164 | invalid.illegal 165 | settings 166 | 167 | background 168 | #CC4232 169 | foreground 170 | #E6E1C4 171 | 172 | 173 | 174 | name 175 | ----------------------------------- 176 | settings 177 | 178 | 179 | 180 | 181 | name 182 | ♦ String constant 183 | scope 184 | string constant 185 | settings 186 | 187 | fontStyle 188 | italic 189 | foreground 190 | #D9D762 191 | 192 | 193 | 194 | name 195 | ♦ String.regexp 196 | scope 197 | string.regexp 198 | settings 199 | 200 | fontStyle 201 | 202 | foreground 203 | #8856D2 204 | 205 | 206 | 207 | name 208 | ♦ String.regexp.«special» 209 | scope 210 | string.regexp constant.character.escape, string.regexp source.ruby.embedded, string.regexp string.regexp.arbitrary-repitition 211 | settings 212 | 213 | foreground 214 | #BE73FD 215 | 216 | 217 | 218 | name 219 | ♦ String variable 220 | scope 221 | string variable 222 | settings 223 | 224 | foreground 225 | #8A9A95 226 | 227 | 228 | 229 | name 230 | ♦ Support.function 231 | scope 232 | support.function 233 | settings 234 | 235 | fontStyle 236 | 237 | foreground 238 | #EFAC32 239 | 240 | 241 | 242 | name 243 | ♦ Support.constant 244 | scope 245 | support.constant 246 | settings 247 | 248 | fontStyle 249 | 250 | foreground 251 | #6C99BB 252 | 253 | 254 | 255 | name 256 | c C/C++ Preprocessor Line 257 | scope 258 | meta.preprocessor.c 259 | settings 260 | 261 | foreground 262 | #8996A8 263 | 264 | 265 | 266 | name 267 | c C/C++ Preprocessor Directive 268 | scope 269 | meta.preprocessor.c keyword 270 | settings 271 | 272 | foreground 273 | #AFC4DB 274 | 275 | 276 | 277 | name 278 | ✘ Doctype/XML Processing 279 | scope 280 | meta.tag.sgml.doctype, meta.tag.sgml.doctype entity, meta.tag.sgml.doctype string, meta.tag.preprocessor.xml, meta.tag.preprocessor.xml entity, meta.tag.preprocessor.xml string 281 | settings 282 | 283 | fontStyle 284 | 285 | foreground 286 | #86B4BB 287 | 288 | 289 | 290 | name 291 | ✘ Meta.tag.«all» 292 | scope 293 | declaration.tag, declaration.tag entity, meta.tag, meta.tag entity 294 | settings 295 | 296 | fontStyle 297 | 298 | foreground 299 | #86B4BB 300 | 301 | 302 | 303 | name 304 | ⎇ diff.header 305 | scope 306 | meta.diff, meta.diff.header, meta.separator 307 | settings 308 | 309 | background 310 | #0E2231 311 | fontStyle 312 | italic 313 | foreground 314 | #F8F8F8 315 | 316 | 317 | 318 | name 319 | ⎇ diff.deleted 320 | scope 321 | markup.deleted 322 | settings 323 | 324 | background 325 | #420E09 326 | foreground 327 | #F8F8F8 328 | 329 | 330 | 331 | name 332 | ⎇ diff.changed 333 | scope 334 | markup.changed 335 | settings 336 | 337 | background 338 | #4A410D 339 | foreground 340 | #F8F8F8 341 | 342 | 343 | 344 | name 345 | ⎇ diff.inserted 346 | scope 347 | markup.inserted 348 | settings 349 | 350 | background 351 | #253B22 352 | foreground 353 | #F8F8F8 354 | 355 | 356 | 357 | name 358 | SASS @import 359 | scope 360 | keyword.control.at-rule.sass 361 | settings 362 | 363 | fontStyle 364 | 365 | foreground 366 | #EF5D32 367 | 368 | 369 | 370 | name 371 | SASS $variable 372 | scope 373 | variable.parameter 374 | settings 375 | 376 | foreground 377 | #7DAF9C 378 | 379 | 380 | 381 | name 382 | SASS Attributes 383 | scope 384 | keyword.control.untitled, entity.other.attribute-name.class.sass, entity.other.attribute-name.id.sass, entity.other.attribute-name.tag.pseudo-class 385 | settings 386 | 387 | foreground 388 | #EFAC32 389 | 390 | 391 | 392 | name 393 | SASS Properties 394 | scope 395 | support.type.property-name.sass 396 | settings 397 | 398 | foreground 399 | #E6E1C4 400 | 401 | 402 | 403 | name 404 | SASS Values 405 | scope 406 | support.constant.property-value.sass 407 | settings 408 | 409 | foreground 410 | #C699BB 411 | 412 | 413 | 414 | name 415 | CSS Attributes 416 | scope 417 | meta.selector.css entity.name.tag, meta.selector.css entity.other.attribute-name.class, meta.selector.css entity.other.attribute-name.id 418 | settings 419 | 420 | foreground 421 | #EFAC32 422 | 423 | 424 | 425 | name 426 | CSS Values 427 | scope 428 | meta.property-group support.constant.property-value.css, meta.property-value support.constant.property-value.css 429 | settings 430 | 431 | foreground 432 | #C699BB 433 | 434 | 435 | 436 | name 437 | CSS Constants 438 | scope 439 | meta.property-value support.constant.named-color.css, meta.property-value constant 440 | settings 441 | 442 | foreground 443 | #6C99BB 444 | 445 | 446 | 447 | uuid 448 | CAB58494-D1A3-4BAD-BBC6-DAED679AD20B 449 | colorSpaceName 450 | sRGB 451 | 452 | -------------------------------------------------------------------------------- /sampleThemes/Bone-a-kite.tmTheme: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | name 10 | Bone-a-kite 11 | comment 12 | A lovely little monokai mod 13 | settings 14 | 15 | 16 | settings 17 | 18 | background 19 | #1c1e20 20 | caret 21 | #F8F8F0 22 | foreground 23 | #F8F8F2 24 | invisibles 25 | #3B3A32 26 | lineHighlight 27 | #222222 28 | selection 29 | #333333 30 | findHighlight 31 | #FFE792 32 | findHighlightForeground 33 | #000000 34 | selectionBorder 35 | #1c1c1c 36 | 37 | 38 | 39 | name 40 | Comment 41 | scope 42 | comment 43 | settings 44 | 45 | foreground 46 | #75715E 47 | background 48 | #75715E12 49 | 50 | 51 | 52 | name 53 | String 54 | scope 55 | string 56 | settings 57 | 58 | foreground 59 | #E6DB74 60 | background 61 | #E6DB7412 62 | 63 | 64 | 65 | name 66 | Number 67 | scope 68 | constant.numeric 69 | settings 70 | 71 | foreground 72 | #AE81FF 73 | background 74 | #AE81FF12 75 | 76 | 77 | 78 | name 79 | Built-in constant 80 | scope 81 | constant.language 82 | settings 83 | 84 | foreground 85 | #AE81FF 86 | background 87 | #AE81FF12 88 | 89 | 90 | 91 | name 92 | User-defined constant 93 | scope 94 | constant.character, constant.other 95 | settings 96 | 97 | foreground 98 | #AE81FF 99 | background 100 | #AE81FF12 101 | 102 | 103 | 104 | name 105 | Variable 106 | scope 107 | variable 108 | settings 109 | 110 | fontStyle 111 | 112 | foreground 113 | #F88767 114 | background 115 | #F8876712 116 | 117 | 118 | 119 | name 120 | Keyword 121 | scope 122 | keyword 123 | settings 124 | 125 | foreground 126 | #F92672 127 | background 128 | #F9267212 129 | 130 | 131 | 132 | name 133 | Storage 134 | scope 135 | storage 136 | settings 137 | 138 | fontStyle 139 | 140 | foreground 141 | #F92672 142 | background 143 | #F9267212 144 | 145 | 146 | 147 | name 148 | Storage type 149 | scope 150 | storage.type 151 | settings 152 | 153 | fontStyle 154 | italic 155 | foreground 156 | #66D9EF 157 | background 158 | #66D9EF12 159 | 160 | 161 | 162 | name 163 | Class name 164 | scope 165 | entity.name.class 166 | settings 167 | 168 | fontStyle 169 | underline 170 | foreground 171 | #A6E22E 172 | background 173 | #A6E22E12 174 | 175 | 176 | 177 | name 178 | Inherited class 179 | scope 180 | entity.other.inherited-class 181 | settings 182 | 183 | fontStyle 184 | italic underline 185 | foreground 186 | #A6E22E 187 | background 188 | #A6E22E12 189 | 190 | 191 | 192 | name 193 | Function name 194 | scope 195 | entity.name.function 196 | settings 197 | 198 | fontStyle 199 | 200 | foreground 201 | #A6E22E 202 | background 203 | #A6E22E12 204 | 205 | 206 | 207 | name 208 | Function argument 209 | scope 210 | variable.parameter 211 | settings 212 | 213 | fontStyle 214 | italic 215 | foreground 216 | #FD971F 217 | background 218 | #FD971F12 219 | 220 | 221 | 222 | name 223 | Tag name 224 | scope 225 | entity.name.tag 226 | settings 227 | 228 | fontStyle 229 | 230 | foreground 231 | #F92672 232 | background 233 | #F9267212 234 | 235 | 236 | 237 | name 238 | Tag attribute 239 | scope 240 | entity.other.attribute-name 241 | settings 242 | 243 | fontStyle 244 | 245 | foreground 246 | #A6E22E 247 | background 248 | #A6E22E12 249 | 250 | 251 | 252 | name 253 | Library function 254 | scope 255 | support.function 256 | settings 257 | 258 | fontStyle 259 | 260 | foreground 261 | #66D9EF 262 | background 263 | #66D9EF12 264 | 265 | 266 | 267 | name 268 | Library constant 269 | scope 270 | support.constant 271 | settings 272 | 273 | fontStyle 274 | 275 | foreground 276 | #66D9EF 277 | background 278 | #66D9EF12 279 | 280 | 281 | 282 | name 283 | Library class/type 284 | scope 285 | support.type, support.class 286 | settings 287 | 288 | fontStyle 289 | italic 290 | foreground 291 | #66D9EF 292 | background 293 | #66D9EF12 294 | 295 | 296 | 297 | name 298 | Library variable 299 | scope 300 | support.other.variable 301 | settings 302 | 303 | fontStyle 304 | 305 | foreground 306 | #FFF8F2 307 | background 308 | #FFF8F212 309 | 310 | 311 | 312 | name 313 | text.html 314 | scope 315 | text.html 316 | settings 317 | 318 | foreground 319 | #FE558A 320 | background 321 | #FE558A12 322 | 323 | 324 | 325 | name 326 | text.html.ruby 327 | scope 328 | punctuation.section.embedded.ruby 329 | settings 330 | 331 | foreground 332 | #A89F7E 333 | background 334 | #A89F7E12 335 | 336 | 337 | 338 | name 339 | Invalid 340 | scope 341 | invalid 342 | settings 343 | 344 | fontStyle 345 | 346 | foreground 347 | #F8F8F0 348 | background 349 | #F82672 350 | 351 | 352 | 353 | name 354 | Invalid deprecated 355 | scope 356 | invalid.deprecated 357 | settings 358 | 359 | background 360 | #AE81FF 361 | foreground 362 | #F8F8F0 363 | 364 | 365 | 366 | name 367 | ♦ Embedded Source (Bright) 368 | scope 369 | text source 370 | settings 371 | 372 | background 373 | #B1B3BA08 374 | fontStyle 375 | 376 | foreground 377 | #E4E4E4 378 | 379 | 380 | 381 | name 382 | ♦ Entity inherited-class 383 | scope 384 | entity.other.inherited-class 385 | settings 386 | 387 | fontStyle 388 | italic 389 | foreground 390 | #9B5C2E 391 | background 392 | #9B5C2E12 393 | 394 | 395 | 396 | name 397 | ♦ String embedded-variable 398 | scope 399 | source string source 400 | settings 401 | 402 | fontStyle 403 | 404 | foreground 405 | #CED79A 406 | background 407 | #CED79A12 408 | 409 | 410 | 411 | name 412 | ♦ String punctuation 413 | scope 414 | source string source punctuation.section.embedded 415 | settings 416 | 417 | fontStyle 418 | 419 | foreground 420 | #00A0A0 421 | background 422 | #00A0A012 423 | 424 | 425 | 426 | name 427 | ♦ String constant 428 | scope 429 | string constant 430 | settings 431 | 432 | fontStyle 433 | 434 | foreground 435 | #009090 436 | background 437 | #00909012 438 | 439 | 440 | 441 | name 442 | ♦ String.regexp 443 | scope 444 | string.regexp 445 | settings 446 | 447 | foreground 448 | #E9B24B 449 | background 450 | #E9B24B12 451 | 452 | 453 | 454 | name 455 | ♦ String.regexp.«special» 456 | scope 457 | string.regexp constant.character.escape, string.regexp source.ruby.embedded, string.regexp string.regexp.arbitrary-repitition 458 | settings 459 | 460 | fontStyle 461 | 462 | foreground 463 | #FF8000 464 | background 465 | #FF800012 466 | 467 | 468 | 469 | name 470 | ♦ String.regexp.group 471 | scope 472 | string.regexp.group 473 | settings 474 | 475 | background 476 | #FFFFFF0F 477 | fontStyle 478 | 479 | foreground 480 | #C6A24F 481 | 482 | 483 | 484 | name 485 | ♦ String.regexp.character-class 486 | scope 487 | string.regexp.character-class 488 | settings 489 | 490 | fontStyle 491 | 492 | foreground 493 | #B18A3D 494 | background 495 | #B18A3D12 496 | 497 | 498 | 499 | name 500 | ♦ String variable 501 | scope 502 | string variable 503 | settings 504 | 505 | fontStyle 506 | 507 | foreground 508 | #8A9A95 509 | background 510 | #8A9A9512 511 | 512 | 513 | 514 | name 515 | ♦ Support.function 516 | scope 517 | support.function 518 | settings 519 | 520 | fontStyle 521 | 522 | foreground 523 | #66D9EF 524 | background 525 | #66D9EF12 526 | 527 | 528 | 529 | name 530 | ♦ Support.constant 531 | scope 532 | support.constant 533 | settings 534 | 535 | fontStyle 536 | 537 | foreground 538 | #FFD2A7 539 | background 540 | #FFD2A712 541 | 542 | 543 | 544 | uuid 545 | D8D5E82E-3D5B-46B5-B38E-8C841C21347E 546 | colorSpaceName 547 | sRGB 548 | semanticClass 549 | theme.dark.bone_a_kite 550 | 551 | -------------------------------------------------------------------------------- /sampleThemes/README.md: -------------------------------------------------------------------------------- 1 | # Sample Themes 2 | 3 | These themes are inclued for use as examples, they remain under licence and the property of their respective authors. 4 | 5 | Post an issue if you require your theme to be removed from this collection. 6 | -------------------------------------------------------------------------------- /sampleThemes/RailsCasts.tmTheme: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | gutterSettings 10 | 11 | background 12 | #45433E 13 | divider 14 | #75715E 15 | foreground 16 | #858179 17 | selectionBackground 18 | #3B3935 19 | selectionForeground 20 | #BFBBB0 21 | 22 | name 23 | RailsCasts 24 | settings 25 | 26 | 27 | settings 28 | 29 | background 30 | #2B2B2B 31 | caret 32 | #FFFFFF 33 | foreground 34 | #E6E1DC 35 | invisibles 36 | #404040 37 | lineHighlight 38 | #333435 39 | selection 40 | #5A647EE0 41 | 42 | 43 | 44 | name 45 | Source 46 | scope 47 | source 48 | settings 49 | 50 | background 51 | #232323 52 | 53 | 54 | 55 | name 56 | Comment 57 | scope 58 | comment 59 | settings 60 | 61 | fontStyle 62 | italic 63 | foreground 64 | #BC9458 65 | 66 | 67 | 68 | name 69 | Keyword 70 | scope 71 | keyword, storage 72 | settings 73 | 74 | fontStyle 75 | 76 | foreground 77 | #CC7833 78 | 79 | 80 | 81 | name 82 | Function (definition) 83 | scope 84 | entity.name.function, keyword.other.name-of-parameter.objc 85 | settings 86 | 87 | fontStyle 88 | 89 | foreground 90 | #FFC66D 91 | 92 | 93 | 94 | name 95 | Class (definition) 96 | scope 97 | entity.name 98 | settings 99 | 100 | foreground 101 | #FFFFFF 102 | 103 | 104 | 105 | name 106 | Number 107 | scope 108 | constant.numeric 109 | settings 110 | 111 | fontStyle 112 | 113 | foreground 114 | #A5C261 115 | 116 | 117 | 118 | name 119 | Variable 120 | scope 121 | variable.language, variable.other,variable.scss,meta.set.variable 122 | settings 123 | 124 | fontStyle 125 | 126 | foreground 127 | #D0D0FF 128 | 129 | 130 | 131 | name 132 | Constant 133 | scope 134 | constant 135 | settings 136 | 137 | fontStyle 138 | 139 | foreground 140 | #6D9CBE 141 | 142 | 143 | 144 | name 145 | Constant (other variable) 146 | scope 147 | variable.other.constant 148 | settings 149 | 150 | foreground 151 | #DA4939 152 | 153 | 154 | 155 | name 156 | Constant (built-in) 157 | scope 158 | constant.language 159 | settings 160 | 161 | fontStyle 162 | 163 | foreground 164 | #6E9CBE 165 | 166 | 167 | 168 | name 169 | String 170 | scope 171 | string 172 | settings 173 | 174 | fontStyle 175 | 176 | foreground 177 | #A5C261 178 | 179 | 180 | 181 | name 182 | Library function 183 | scope 184 | support.function 185 | settings 186 | 187 | fontStyle 188 | 189 | foreground 190 | #DA4939 191 | 192 | 193 | 194 | name 195 | Library type 196 | scope 197 | support.type 198 | settings 199 | 200 | foreground 201 | #6E9CBE 202 | 203 | 204 | 205 | name 206 | Library constant 207 | scope 208 | support.constant 209 | settings 210 | 211 | foreground 212 | #A5C261 213 | 214 | 215 | 216 | name 217 | Markup tag 218 | scope 219 | meta.tag, declaration.tag, entity.name.tag, entity.other.attribute-name 220 | settings 221 | 222 | fontStyle 223 | 224 | foreground 225 | #E8BF6A 226 | 227 | 228 | 229 | name 230 | Invalid 231 | scope 232 | invalid 233 | settings 234 | 235 | background 236 | #990000 237 | foreground 238 | #FFFFFF 239 | 240 | 241 | 242 | name 243 | String interpolation 244 | scope 245 | constant.character.escaped, constant.character.escape, string source, string source.ruby 246 | settings 247 | 248 | fontStyle 249 | 250 | foreground 251 | #519F50 252 | 253 | 254 | 255 | name 256 | Diff Add 257 | scope 258 | markup.inserted 259 | settings 260 | 261 | background 262 | #144212 263 | foreground 264 | #E6E1DC 265 | 266 | 267 | 268 | name 269 | Diff Remove 270 | scope 271 | markup.deleted 272 | settings 273 | 274 | background 275 | #660000 276 | foreground 277 | #E6E1DC 278 | 279 | 280 | 281 | name 282 | Diff Header 283 | scope 284 | meta.diff.header, meta.separator.diff, meta.diff.index, meta.diff.range 285 | settings 286 | 287 | background 288 | #2F33AB 289 | 290 | 291 | 292 | uuid 293 | B80CD0D8-613C-46FD-9C06-A1201108BC2A 294 | colorSpaceName 295 | sRGB 296 | semanticClass 297 | theme.dark.rails_casts 298 | 299 | -------------------------------------------------------------------------------- /sampleThemes/Resesif Boned.tmTheme: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | name 6 | Resesif Boned 7 | settings 8 | 9 | 10 | settings 11 | 12 | background 13 | #17171716 14 | caret 15 | #FFFFFF 16 | foreground 17 | #E6E1DC 18 | invisibles 19 | #404040 20 | lineHighlight 21 | #333435 22 | selection 23 | #5A647EE0 24 | 25 | 26 | 27 | name 28 | Source 29 | scope 30 | source 31 | settings 32 | 33 | background 34 | #131313 35 | fontStyle 36 | 37 | foreground 38 | #E8E2DF 39 | 40 | 41 | 42 | name 43 | Comment 44 | scope 45 | comment 46 | settings 47 | 48 | fontStyle 49 | 50 | foreground 51 | #70707077 52 | 53 | 54 | 55 | name 56 | Keyword 57 | scope 58 | keyword, storage 59 | settings 60 | 61 | fontStyle 62 | 63 | foreground 64 | #B6C34D 65 | 66 | 67 | 68 | name 69 | Function (definition) 70 | scope 71 | support.function 72 | settings 73 | 74 | fontStyle 75 | 76 | foreground 77 | #D98339 78 | 79 | 80 | 81 | name 82 | Class (definition) 83 | scope 84 | entity.name 85 | settings 86 | 87 | background 88 | #AE392C1A 89 | fontStyle 90 | 91 | foreground 92 | #E16C5B 93 | 94 | 95 | 96 | name 97 | Number 98 | scope 99 | constant.numeric 100 | settings 101 | 102 | background 103 | #7D669C1A 104 | fontStyle 105 | 106 | foreground 107 | #B49CDA 108 | 109 | 110 | 111 | name 112 | Variable 113 | scope 114 | variable.language, variable.other 115 | settings 116 | 117 | background 118 | #1A81990D 119 | fontStyle 120 | 121 | foreground 122 | #4DA6BD 123 | 124 | 125 | 126 | name 127 | Constant 128 | scope 129 | constant 130 | settings 131 | 132 | background 133 | #AA78561A 134 | fontStyle 135 | 136 | foreground 137 | #C29B7A 138 | 139 | 140 | 141 | name 142 | Constant (other variable) 143 | scope 144 | variable.other.constant 145 | settings 146 | 147 | fontStyle 148 | 149 | foreground 150 | #E06868 151 | 152 | 153 | 154 | name 155 | Constant (built-in) 156 | scope 157 | constant.language 158 | settings 159 | 160 | fontStyle 161 | 162 | foreground 163 | #71BACC 164 | 165 | 166 | 167 | name 168 | String 169 | scope 170 | string 171 | settings 172 | 173 | background 174 | #8DAB430F 175 | fontStyle 176 | 177 | foreground 178 | #B0CC66 179 | 180 | 181 | 182 | name 183 | Library function 184 | scope 185 | variable.language 186 | settings 187 | 188 | fontStyle 189 | 190 | foreground 191 | #DBD76B 192 | 193 | 194 | 195 | name 196 | Library type 197 | scope 198 | support.type 199 | settings 200 | 201 | foreground 202 | #6E9CBE 203 | 204 | 205 | 206 | name 207 | Library constant 208 | scope 209 | support.constant 210 | settings 211 | 212 | fontStyle 213 | 214 | foreground 215 | #BBC94D 216 | 217 | 218 | 219 | name 220 | Markup tag 221 | scope 222 | storage 223 | settings 224 | 225 | fontStyle 226 | 227 | foreground 228 | #E8BF6A 229 | 230 | 231 | 232 | name 233 | Invalid 234 | scope 235 | invalid 236 | settings 237 | 238 | background 239 | #880000 240 | foreground 241 | #FFFFFF 242 | 243 | 244 | 245 | name 246 | String interpolation 247 | scope 248 | constant.character.escaped, constant.character.escape, string source, string source.ruby 249 | settings 250 | 251 | fontStyle 252 | 253 | foreground 254 | #3FC172 255 | 256 | 257 | 258 | name 259 | Diff Add 260 | scope 261 | markup.inserted 262 | settings 263 | 264 | background 265 | #043202 266 | foreground 267 | #E6E1DC 268 | 269 | 270 | 271 | name 272 | Diff Remove 273 | scope 274 | markup.deleted 275 | settings 276 | 277 | background 278 | #550000 279 | foreground 280 | #E6E1DC 281 | 282 | 283 | 284 | name 285 | Diff Header 286 | scope 287 | meta.diff.header, meta.separator.diff, meta.diff.index, meta.diff.range 288 | settings 289 | 290 | background 291 | #1F239B 292 | 293 | 294 | 295 | uuid 296 | 24933864-AD69-4CA8-8618-CF4E9F2F12F3 297 | 298 | 299 | -------------------------------------------------------------------------------- /sampleThemes/Rhuk.tmTheme: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | name 10 | Rhuk 11 | settings 12 | 13 | 14 | settings 15 | 16 | background 17 | #222222 18 | caret 19 | #F8F8F0 20 | foreground 21 | #e6e2da 22 | invisibles 23 | #3B3A32 24 | lineHighlight 25 | #3E3D32 26 | selection 27 | #49483E 28 | findHighlight 29 | #FFE792 30 | findHighlightForeground 31 | #000000 32 | selectionBorder 33 | #222218 34 | activeGuide 35 | #9b5b38 36 | bracketsForeground 37 | #ffffff 38 | bracketsOptions 39 | underline 40 | bracketContentsForeground 41 | #ffffff 42 | bracketContentsOptions 43 | underline 44 | tagsOptions 45 | stippled_underline 46 | 47 | 48 | 49 | name 50 | Comment 51 | scope 52 | comment 53 | settings 54 | 55 | foreground 56 | #686760 57 | 58 | 59 | 60 | name 61 | String 62 | scope 63 | string 64 | settings 65 | 66 | foreground 67 | #E6DB74 68 | 69 | 70 | 71 | name 72 | Number 73 | scope 74 | constant.numeric 75 | settings 76 | 77 | foreground 78 | #fdc51a 79 | 80 | 81 | 82 | name 83 | Built-in constant 84 | scope 85 | constant.language 86 | settings 87 | 88 | foreground 89 | #fdc51a 90 | 91 | 92 | 93 | name 94 | User-defined constant 95 | scope 96 | constant.character, constant.other 97 | settings 98 | 99 | foreground 100 | #fdc51a 101 | 102 | 103 | 104 | name 105 | Variable 106 | scope 107 | variable 108 | settings 109 | 110 | fontStyle 111 | 112 | 113 | 114 | 115 | name 116 | Keyword 117 | scope 118 | keyword 119 | settings 120 | 121 | foreground 122 | #ff6814 123 | 124 | 125 | 126 | name 127 | Storage 128 | scope 129 | storage 130 | settings 131 | 132 | fontStyle 133 | 134 | foreground 135 | #ff6814 136 | 137 | 138 | 139 | name 140 | Storage type 141 | scope 142 | storage.type 143 | settings 144 | 145 | fontStyle 146 | italic 147 | foreground 148 | #66D9EF 149 | 150 | 151 | 152 | name 153 | Class name 154 | scope 155 | entity.name.class 156 | settings 157 | 158 | fontStyle 159 | underline 160 | foreground 161 | #e1861c 162 | 163 | 164 | 165 | name 166 | Inherited class 167 | scope 168 | entity.other.inherited-class 169 | settings 170 | 171 | fontStyle 172 | italic underline 173 | foreground 174 | #e1861c 175 | 176 | 177 | 178 | name 179 | Function name 180 | scope 181 | entity.name.function 182 | settings 183 | 184 | fontStyle 185 | 186 | foreground 187 | #e1861c 188 | 189 | 190 | 191 | name 192 | Function argument 193 | scope 194 | variable.parameter 195 | settings 196 | 197 | fontStyle 198 | italic 199 | foreground 200 | #FD971F 201 | 202 | 203 | 204 | name 205 | Tag name 206 | scope 207 | entity.name.tag 208 | settings 209 | 210 | fontStyle 211 | 212 | foreground 213 | #ff6814 214 | 215 | 216 | 217 | name 218 | Tag attribute 219 | scope 220 | entity.other.attribute-name 221 | settings 222 | 223 | fontStyle 224 | 225 | foreground 226 | #e1861c 227 | 228 | 229 | 230 | name 231 | Library function 232 | scope 233 | support.function 234 | settings 235 | 236 | fontStyle 237 | 238 | foreground 239 | #66D9EF 240 | 241 | 242 | 243 | name 244 | Library constant 245 | scope 246 | support.constant 247 | settings 248 | 249 | fontStyle 250 | 251 | foreground 252 | #66D9EF 253 | 254 | 255 | 256 | name 257 | Library class/type 258 | scope 259 | support.type, support.class 260 | settings 261 | 262 | fontStyle 263 | italic 264 | foreground 265 | #66D9EF 266 | 267 | 268 | 269 | name 270 | Library variable 271 | scope 272 | support.other.variable 273 | settings 274 | 275 | fontStyle 276 | 277 | 278 | 279 | 280 | name 281 | Invalid 282 | scope 283 | invalid 284 | settings 285 | 286 | background 287 | #ff6814 288 | fontStyle 289 | 290 | foreground 291 | #F8F8F0 292 | 293 | 294 | 295 | name 296 | Invalid deprecated 297 | scope 298 | invalid.deprecated 299 | settings 300 | 301 | background 302 | #fdc51a 303 | foreground 304 | #F8F8F0 305 | 306 | 307 | 308 | name 309 | JSON String 310 | scope 311 | meta.structure.dictionary.json string.quoted.double.json 312 | settings 313 | 314 | foreground 315 | #CFCFC2 316 | 317 | 318 | 319 | name 320 | diff.header 321 | scope 322 | meta.diff, meta.diff.header 323 | settings 324 | 325 | foreground 326 | #75715E 327 | 328 | 329 | 330 | name 331 | diff.deleted 332 | scope 333 | markup.deleted 334 | settings 335 | 336 | foreground 337 | #ff6814 338 | 339 | 340 | 341 | name 342 | diff.inserted 343 | scope 344 | markup.inserted 345 | settings 346 | 347 | foreground 348 | #e1861c 349 | 350 | 351 | 352 | name 353 | diff.changed 354 | scope 355 | markup.changed 356 | settings 357 | 358 | foreground 359 | #E6DB74 360 | 361 | 362 | 363 | scope 364 | constant.numeric.line-number.find-in-files - match 365 | settings 366 | 367 | foreground 368 | #fdc51aA0 369 | 370 | 371 | 372 | scope 373 | entity.name.filename.find-in-files 374 | settings 375 | 376 | foreground 377 | #E6DB74 378 | 379 | 380 | 381 | uuid 382 | D8D5E82E-3D5B-46B5-B38E-8C841C21347D 383 | colorSpaceName 384 | sRGB 385 | semanticClass 386 | theme.dark.rhuk 387 | 388 | -------------------------------------------------------------------------------- /sampleThemes/Twilight.tmTheme: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | author 10 | Michael Sheets 11 | gutterSettings 12 | 13 | background 14 | #2F2F31 15 | divider 16 | #414143 17 | foreground 18 | #8F8F8F 19 | selectionBackground 20 | #414143 21 | selectionBorder 22 | #484848 23 | selectionForeground 24 | #BABABA 25 | 26 | name 27 | Twilight 28 | semanticClass 29 | theme.dark.twilight 30 | settings 31 | 32 | 33 | settings 34 | 35 | background 36 | #181818 37 | caret 38 | #A7A7A7 39 | foreground 40 | #F8F8F8 41 | invisibles 42 | #FFFFFF40 43 | lineHighlight 44 | #FFFFFF08 45 | selection 46 | #DDF0FF33 47 | 48 | 49 | 50 | name 51 | Foldings 52 | scope 53 | deco.folding 54 | settings 55 | 56 | foreground 57 | #5A6A65 58 | 59 | 60 | 61 | name 62 | Comment 63 | scope 64 | comment 65 | settings 66 | 67 | fontStyle 68 | italic 69 | foreground 70 | #5F5A60 71 | 72 | 73 | 74 | name 75 | Constant 76 | scope 77 | constant 78 | settings 79 | 80 | foreground 81 | #CF6A4C 82 | 83 | 84 | 85 | name 86 | Entity 87 | scope 88 | entity 89 | settings 90 | 91 | fontStyle 92 | 93 | foreground 94 | #9B703F 95 | 96 | 97 | 98 | name 99 | Keyword 100 | scope 101 | keyword 102 | settings 103 | 104 | fontStyle 105 | 106 | foreground 107 | #CDA869 108 | 109 | 110 | 111 | name 112 | Storage 113 | scope 114 | storage 115 | settings 116 | 117 | fontStyle 118 | 119 | foreground 120 | #F9EE98 121 | 122 | 123 | 124 | name 125 | String 126 | scope 127 | string 128 | settings 129 | 130 | fontStyle 131 | 132 | foreground 133 | #8F9D6A 134 | 135 | 136 | 137 | name 138 | Support 139 | scope 140 | support 141 | settings 142 | 143 | fontStyle 144 | 145 | foreground 146 | #9B859D 147 | 148 | 149 | 150 | name 151 | Variable 152 | scope 153 | variable 154 | settings 155 | 156 | foreground 157 | #7587A6 158 | 159 | 160 | 161 | name 162 | Invalid – Deprecated 163 | scope 164 | invalid.deprecated 165 | settings 166 | 167 | fontStyle 168 | italic underline 169 | foreground 170 | #D2A8A1 171 | 172 | 173 | 174 | name 175 | Invalid – Illegal 176 | scope 177 | invalid.illegal 178 | settings 179 | 180 | background 181 | #562D56BF 182 | foreground 183 | #F8F8F8 184 | 185 | 186 | 187 | name 188 | ----------------------------------- 189 | settings 190 | 191 | 192 | 193 | 194 | name 195 | ♦ Embedded Source 196 | scope 197 | meta.embedded.block, punctuation.whitespace.embedded 198 | settings 199 | 200 | background 201 | #B0B3BA14 202 | 203 | 204 | 205 | name 206 | ♦ Embedded Source (Bright) 207 | scope 208 | meta.embedded.line 209 | settings 210 | 211 | background 212 | #B1B3BA21 213 | 214 | 215 | 216 | name 217 | ♦ Entity inherited-class 218 | scope 219 | entity.other.inherited-class 220 | settings 221 | 222 | fontStyle 223 | italic 224 | foreground 225 | #9B5C2E 226 | 227 | 228 | 229 | name 230 | ♦ String embedded-source 231 | scope 232 | string meta.embedded 233 | settings 234 | 235 | fontStyle 236 | 237 | foreground 238 | #DAEFA3 239 | 240 | 241 | 242 | name 243 | ♦ String constant 244 | scope 245 | string constant 246 | settings 247 | 248 | foreground 249 | #DDF2A4 250 | 251 | 252 | 253 | name 254 | ♦ String.regexp 255 | scope 256 | string.regexp 257 | settings 258 | 259 | fontStyle 260 | 261 | foreground 262 | #E9C062 263 | 264 | 265 | 266 | name 267 | ♦ String.regexp.«special» 268 | scope 269 | string.regexp constant.character.escape, string.regexp source.ruby.embedded, string.regexp string.regexp.arbitrary-repitition 270 | settings 271 | 272 | foreground 273 | #CF7D34 274 | 275 | 276 | 277 | name 278 | ♦ String variable 279 | scope 280 | string variable 281 | settings 282 | 283 | foreground 284 | #8A9A95 285 | 286 | 287 | 288 | name 289 | ♦ Support.function 290 | scope 291 | support.function 292 | settings 293 | 294 | fontStyle 295 | 296 | foreground 297 | #DAD085 298 | 299 | 300 | 301 | name 302 | ♦ Support.constant 303 | scope 304 | support.constant 305 | settings 306 | 307 | fontStyle 308 | 309 | foreground 310 | #CF6A4C 311 | 312 | 313 | 314 | name 315 | c C/C++ Preprocessor Line 316 | scope 317 | meta.preprocessor.c 318 | settings 319 | 320 | foreground 321 | #8996A8 322 | 323 | 324 | 325 | name 326 | c C/C++ Preprocessor Directive 327 | scope 328 | meta.preprocessor.c keyword 329 | settings 330 | 331 | foreground 332 | #AFC4DB 333 | 334 | 335 | 336 | name 337 | ✘ Doctype/XML Processing 338 | scope 339 | meta.tag.sgml.doctype, meta.tag.sgml.doctype entity, meta.tag.sgml.doctype keyword, meta.tag.sgml.doctype variable, meta.tag.sgml.doctype string, meta.tag.preprocessor.xml, meta.tag.preprocessor.xml entity, meta.tag.preprocessor.xml string 340 | settings 341 | 342 | foreground 343 | #494949 344 | 345 | 346 | 347 | name 348 | ✘ Meta.tag.«all» 349 | scope 350 | declaration.tag, declaration.tag entity, meta.tag, meta.tag entity 351 | settings 352 | 353 | foreground 354 | #AC885B 355 | 356 | 357 | 358 | name 359 | ✘ Meta.tag.inline 360 | scope 361 | declaration.tag.inline, declaration.tag.inline entity, source entity.name.tag, source entity.other.attribute-name, meta.tag.inline, meta.tag.inline entity 362 | settings 363 | 364 | foreground 365 | #E0C589 366 | 367 | 368 | 369 | name 370 | § css tag-name 371 | scope 372 | meta.selector.css entity.name.tag 373 | settings 374 | 375 | foreground 376 | #CDA869 377 | 378 | 379 | 380 | name 381 | § css:pseudo-class 382 | scope 383 | meta.selector.css entity.other.attribute-name.tag.pseudo-class 384 | settings 385 | 386 | foreground 387 | #8F9D6A 388 | 389 | 390 | 391 | name 392 | § css#id 393 | scope 394 | meta.selector.css entity.other.attribute-name.id 395 | settings 396 | 397 | foreground 398 | #8B98AB 399 | 400 | 401 | 402 | name 403 | § css.class 404 | scope 405 | meta.selector.css entity.other.attribute-name.class 406 | settings 407 | 408 | foreground 409 | #9B703F 410 | 411 | 412 | 413 | name 414 | § css property-name: 415 | scope 416 | support.type.property-name.css 417 | settings 418 | 419 | foreground 420 | #C5AF75 421 | 422 | 423 | 424 | name 425 | § css property-value; 426 | scope 427 | meta.property-group support.constant.property-value.css, meta.property-value support.constant.property-value.css 428 | settings 429 | 430 | foreground 431 | #F9EE98 432 | 433 | 434 | 435 | name 436 | § css @at-rule 437 | scope 438 | meta.preprocessor.at-rule keyword.control.at-rule 439 | settings 440 | 441 | foreground 442 | #8693A5 443 | 444 | 445 | 446 | name 447 | § css additional-constants 448 | scope 449 | meta.property-value support.constant.named-color.css, meta.property-value constant 450 | settings 451 | 452 | foreground 453 | #CA7840 454 | 455 | 456 | 457 | name 458 | § css constructor.argument 459 | scope 460 | meta.constructor.argument.css 461 | settings 462 | 463 | foreground 464 | #8F9D6A 465 | 466 | 467 | 468 | name 469 | ⎇ diff.header 470 | scope 471 | meta.diff, meta.diff.header, meta.separator, meta.diff.range, meta.diff.index 472 | settings 473 | 474 | background 475 | #0E2231 476 | fontStyle 477 | italic 478 | foreground 479 | #F8F8F8 480 | 481 | 482 | 483 | name 484 | ⎇ diff.deleted 485 | scope 486 | markup.deleted 487 | settings 488 | 489 | background 490 | #420E09 491 | foreground 492 | #F8F8F8 493 | 494 | 495 | 496 | name 497 | ⎇ diff.changed 498 | scope 499 | markup.changed 500 | settings 501 | 502 | background 503 | #4A410D 504 | foreground 505 | #F8F8F8 506 | 507 | 508 | 509 | name 510 | ⎇ diff.inserted 511 | scope 512 | markup.inserted 513 | settings 514 | 515 | background 516 | #253B22 517 | foreground 518 | #F8F8F8 519 | 520 | 521 | 522 | name 523 | Markup: List 524 | scope 525 | markup.list 526 | settings 527 | 528 | foreground 529 | #F9EE98 530 | 531 | 532 | 533 | name 534 | Markup: Heading 535 | scope 536 | markup.heading 537 | settings 538 | 539 | foreground 540 | #CF6A4C 541 | 542 | 543 | 544 | name 545 | Markup: Raw Block 546 | scope 547 | markup.raw.block 548 | settings 549 | 550 | background 551 | #B0B3BA14 552 | 553 | 554 | 555 | uuid 556 | 766026CB-703D-4610-B070-8DE07D967C5F 557 | colorSpaceName 558 | sRGB 559 | 560 | -------------------------------------------------------------------------------- /sampleThemes/mbo.tmTheme: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | name 10 | mbo 11 | settings 12 | 13 | 14 | settings 15 | 16 | background 17 | #2c2c2c 18 | caret 19 | #ffffec 20 | foreground 21 | #ffffe9 22 | invisibles 23 | #5e5341 24 | lineHighlight 25 | #5a503e 26 | selection 27 | #716C62 28 | findHighlight 29 | #ffffe9 30 | findHighlightForeground 31 | #000000 32 | selectionBorder 33 | #352f25 34 | activeGuide 35 | #000000 36 | bracketsForeground 37 | #000000 38 | bracketsOptions 39 | #000000 40 | bracketContentsForeground 41 | #000000 42 | bracketContentsOptions 43 | #000000 44 | tagsOptions 45 | #000000 46 | 47 | 48 | 49 | name 50 | Comment 51 | scope 52 | comment 53 | settings 54 | 55 | foreground 56 | #655e25 57 | 58 | 59 | 60 | name 61 | String 62 | scope 63 | string 64 | settings 65 | 66 | foreground 67 | #ffcf6c 68 | 69 | 70 | 71 | name 72 | Number 73 | scope 74 | constant.numeric 75 | settings 76 | 77 | foreground 78 | #00a8c6 79 | 80 | 81 | 82 | name 83 | Built-in constant 84 | scope 85 | constant.language 86 | settings 87 | 88 | foreground 89 | #ffcf6c 90 | 91 | 92 | 93 | name 94 | User-defined constant 95 | scope 96 | constant.character, constant.other 97 | settings 98 | 99 | foreground 100 | #ffcf6c 101 | 102 | 103 | 104 | name 105 | Variable 106 | scope 107 | variable 108 | settings 109 | 110 | fontStyle 111 | 112 | 113 | 114 | 115 | name 116 | Keyword 117 | scope 118 | keyword 119 | settings 120 | 121 | foreground 122 | #ffcf6c 123 | fontStyle 124 | 125 | 126 | 127 | 128 | name 129 | Storage 130 | scope 131 | storage 132 | settings 133 | 134 | fontStyle 135 | 136 | foreground 137 | #ffcf6c 138 | 139 | 140 | 141 | name 142 | Storage type 143 | scope 144 | storage.type 145 | settings 146 | 147 | fontStyle 148 | bold 149 | foreground 150 | #ffb928 151 | 152 | 153 | 154 | name 155 | Class name 156 | scope 157 | entity.name.class 158 | settings 159 | 160 | fontStyle 161 | 162 | foreground 163 | #ffffe9 164 | 165 | 166 | 167 | name 168 | Inherited class 169 | scope 170 | entity.other.inherited-class 171 | settings 172 | 173 | fontStyle 174 | 175 | foreground 176 | #ffffe9 177 | 178 | 179 | 180 | name 181 | Function name 182 | scope 183 | entity.name.function 184 | settings 185 | 186 | fontStyle 187 | 188 | foreground 189 | #00a8c6 190 | 191 | 192 | 193 | name 194 | Function argument 195 | scope 196 | variable.parameter 197 | settings 198 | 199 | fontStyle 200 | 201 | foreground 202 | #ffcf6c 203 | 204 | 205 | 206 | name 207 | Tag name 208 | scope 209 | entity.name.tag 210 | settings 211 | 212 | fontStyle 213 | 214 | foreground 215 | #ffb928 216 | 217 | 218 | 219 | name 220 | Tag attribute 221 | scope 222 | entity.other.attribute-name 223 | settings 224 | 225 | fontStyle 226 | 227 | foreground 228 | #ffffe1 229 | 230 | 231 | 232 | name 233 | Library function 234 | scope 235 | support.function 236 | settings 237 | 238 | fontStyle 239 | 240 | foreground 241 | #ffffe9 242 | 243 | 244 | 245 | name 246 | Library constant 247 | scope 248 | support.constant 249 | settings 250 | 251 | fontStyle 252 | 253 | foreground 254 | #ffffe9 255 | 256 | 257 | 258 | name 259 | Library class/type 260 | scope 261 | support.type, support.class 262 | settings 263 | 264 | fontStyle 265 | 266 | foreground 267 | #ffffd8 268 | 269 | 270 | 271 | name 272 | Library variable 273 | scope 274 | support.other.variable 275 | settings 276 | 277 | fontStyle 278 | 279 | 280 | 281 | 282 | name 283 | Invalid 284 | scope 285 | invalid 286 | settings 287 | 288 | background 289 | #00a8c6 290 | fontStyle 291 | 292 | foreground 293 | #ffffed 294 | 295 | 296 | 297 | name 298 | Invalid deprecated 299 | scope 300 | invalid.deprecated 301 | settings 302 | 303 | background 304 | #004b59 305 | foreground 306 | #ffffed 307 | 308 | 309 | 310 | name 311 | JSON String 312 | scope 313 | meta.structure.dictionary.json string.quoted.double.json 314 | settings 315 | 316 | foreground 317 | #ffffe8 318 | 319 | 320 | 321 | name 322 | diff.header 323 | scope 324 | meta.diff, meta.diff.header 325 | settings 326 | 327 | foreground 328 | #9c8b6c 329 | 330 | 331 | 332 | name 333 | diff.deleted 334 | scope 335 | markup.deleted 336 | settings 337 | 338 | foreground 339 | #484032 340 | 341 | 342 | 343 | name 344 | diff.inserted 345 | scope 346 | markup.inserted 347 | settings 348 | 349 | foreground 350 | #f6dbaa 351 | 352 | 353 | 354 | name 355 | diff.changed 356 | scope 357 | markup.changed 358 | settings 359 | 360 | foreground 361 | #ffffdc 362 | 363 | 364 | 365 | scope 366 | constant.numeric.line-number.find-in-files - match 367 | settings 368 | 369 | foreground 370 | #000000 371 | 372 | 373 | 374 | scope 375 | entity.name.filename.find-in-files 376 | settings 377 | 378 | foreground 379 | #ffffea 380 | 381 | 382 | 383 | uuid 384 | F11D1353-A93B-4217-B675-942037877D1B 385 | colorSpaceName 386 | sRGB 387 | semanticClass 388 | theme.dark.mbo 389 | author 390 | Marko Bonaci 391 | comment 392 | have fun 393 | 394 | -------------------------------------------------------------------------------- /slides.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emacsfodder/tmtheme-to-emacs/493c74cd887d4eb6c95c5de35facc9e224859ed4/slides.gif -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | require 'bundler/setup' 2 | Bundler.setup 3 | 4 | require 'tmtheme-to-deftheme' # and any other gems you need 5 | 6 | RSpec.configure do |config| 7 | # some (optional) config here 8 | end 9 | -------------------------------------------------------------------------------- /templates/deftheme.erb.el: -------------------------------------------------------------------------------- 1 | ;;; <%= @long_theme_name %>.el --- an Emacs 24 theme based on <%= @name %> (tmTheme) 2 | ;; 3 | ;;; Author: Auto Converted to Emacs 24 by tmtheme-to-deftheme (tm2deftheme) 4 | ;;; Version: <%= Time.now.to_i %> 5 | ;;; Original author: <%= @author %> 6 | ;;; Url: https://github.com/emacsfodder/tmtheme-to-deftheme 7 | ;;; Package-Requires: ((emacs "24.0")) 8 | ;; 9 | ;;; Commentary: 10 | ;; This theme was automatically generated by tmtheme-to-deftheme (tm2deftheme), 11 | ;; from <%= @name %> (tmTheme) by <%= @author %> 12 | ;; 13 | ;;; Code: 14 | 15 | (deftheme <%= @theme_name %> 16 | "<%= @long_theme_name %> - Created by tmtheme-to-deftheme - <%= Time.now.to_s %>") 17 | 18 | (custom-theme-set-variables 19 | '<%= @theme_name %> 20 | ) 21 | 22 | (custom-theme-set-faces 23 | '<%= @theme_name %> 24 | ;; basic theming. 25 | 26 | '(default ((t (<%= face_attrs(@base_settings) %>)))) 27 | '(region ((t (:background "<%= @base_settings["selection"] %>")))) 28 | '(cursor ((t (:background "<%= @base_settings["caret"] %>")))) 29 | 30 | ;; Temporary defaults 31 | <% 32 | # Linum and Fringe are generated from base_bg 33 | %> 34 | <% if darktheme? %> 35 | <% debug_out "Dark theme linum/fringe" %> 36 | '(linum ((t (:foreground "<%= @base_bg.mix_with(@base_fg, 80).html %>" :background "<%= @base_bg.mix_with(@base_fg, 90).html %>" )))) 37 | '(fringe ((t ( :background "<%= @base_bg.mix_with(@base_fg, 90).html %>" )))) 38 | <% else %> 39 | <% debug_out "Light theme linum/fringe" %> 40 | '(linum ((t (:foreground "<%= @base_fg.adjust_brightness(90).html %>" :background "<%= @base_bg.adjust_brightness(-30).html %>" )))) 41 | '(fringe ((t ( :background "<%= @base_bg.adjust_brightness(-30).html %>" )))) 42 | <% end %> 43 | 44 | '(minibuffer-prompt ((t (:foreground "#1278A8" :background nil :weight bold )))) 45 | '(escape-glyph ((t (:foreground "orange" :background nil )))) 46 | '(highlight ((t (:foreground "orange" :background nil )))) 47 | '(shadow ((t (:foreground "#777777" :background nil )))) 48 | 49 | '(trailing-whitespace ((t (:foreground "#FFFFFF" :background "#C74000" )))) 50 | '(link ((t (:foreground "#00b7f0" :background nil :underline t )))) 51 | '(link-visited ((t (:foreground "#4488cc" :underline t :inherit (link) )))) 52 | '(button ((t (:foreground "#FFFFFF" :background "#444444" :underline t :inherit (link) )))) 53 | '(next-error ((t ( :inherit (region) )))) 54 | '(query-replace ((t ( :inherit (isearch) )))) 55 | '(header-line ((t (:foreground "#EEEEEE" :background "#444444" :box nil :inherit (mode-line) )))) 56 | 57 | <% 58 | # Modeline is generated from base_fg / base_bg 59 | %> 60 | '(mode-line-highlight ((t ( :box nil )))) 61 | '(mode-line-emphasis ((t ( :weight bold )))) 62 | '(mode-line-buffer-id ((t ( :box nil :weight bold )))) 63 | 64 | <% if darktheme? %> 65 | <% debug_out "Dark theme modeline" %> 66 | '(mode-line-inactive ((t (:foreground "<%= @base_fg.adjust_brightness(-20).html %>" :background "<%= @base_bg.mix_with(@base_fg, 90).html %>" :box nil :weight light :inherit (mode-line) )))) 67 | '(mode-line ((t (:foreground "<%= @base_fg.html %>" :background "<%= @base_bg.mix_with(@base_fg, 90).html %>" :box nil )))) 68 | <% else %> 69 | <% debug_out "Light theme modeline" %> 70 | '(mode-line-inactive ((t (:foreground "<%= @base_fg.html %>" :background "<%= @base_bg.adjust_brightness(-10).html %>" :box nil :weight light :inherit (mode-line) )))) 71 | '(mode-line ((t (:foreground "<%= @base_fg.html %>" :background "<%= @base_bg.adjust_brightness(-20).html %>" :box nil )))) 72 | <% end %> 73 | 74 | <% 75 | # Search highlighting 76 | %> 77 | '(isearch ((t (:foreground "#99ccee" :background "#444444" )))) 78 | '(isearch-fail ((t ( :background "#ffaaaa" )))) 79 | '(lazy-highlight ((t ( :background "#77bbdd" )))) 80 | '(match ((t ( :background "#3388cc" )))) 81 | 82 | '(tooltip ((t (:foreground "black" :background "LightYellow" :inherit (variable-pitch) )))) 83 | 84 | '(js3-function-param-face ((t (:foreground "#BFC3A9" )))) 85 | '(js3-external-variable-face ((t (:foreground "#F0B090" :bold t )))) 86 | 87 | <% 88 | # TODO: Generate cua-rectangle and secondary-selection from region/selection import 89 | %> 90 | '(secondary-selection ((t ( :background "#342858" )))) 91 | '(cua-rectangle ((t (:foreground "#E0E4CC" :background "#342858" )))) 92 | 93 | ;; Magit hightlight 94 | '(magit-item-highlight ((t (:foreground "white" :background "#1278A8" :inherit nil )))) 95 | 96 | <% 97 | # TODO: Generate flyspell / flymake / flycheck / git:gutter from diff defaults/imported colors. 98 | %> 99 | ;; flyspell-mode 100 | '(flyspell-incorrect ((t (:underline "#AA0000" :background nil :inherit nil )))) 101 | '(flyspell-duplicate ((t (:underline "#009945" :background nil :inherit nil )))) 102 | 103 | ;; flymake-mode 104 | '(flymake-errline ((t (:underline "#AA0000" :background nil :inherit nil )))) 105 | '(flymake-warnline ((t (:underline "#009945" :background nil :inherit nil )))) 106 | 107 | ;;git-gutter 108 | '(git-gutter:added ((t (:foreground "#609f60" :bold t)))) 109 | '(git-gutter:modified ((t (:foreground "#3388cc" :bold t)))) 110 | '(git-gutter:deleted ((t (:foreground "#cc3333" :bold t)))) 111 | 112 | '(diff-added ((t (:background "#305030")))) 113 | '(diff-removed ((t (:background "#903010")))) 114 | '(diff-file-header ((t (:background "#362145")))) 115 | '(diff-context ((t (:foreground "#E0E4CC")))) 116 | '(diff-changed ((t (:foreground "#3388cc")))) 117 | '(diff-hunk-header ((t (:background "#242130")))) 118 | 119 | <% 120 | 121 | # TODO: defaults should be overriden when the @emacs_faces below are 122 | # evaluated, it'd be much cleaner if we managed it a better way. 123 | # Perhaps keep the default faces as a hash and then merge the tmtheme 124 | # imported faces hash, before writing out the face definitions. 125 | 126 | # TODO: Infer color values of defaults based on the provided palette, 127 | # using suitable tonal emphasis/de-emphasis as necessary. (this is 128 | # being done "casually" for the modeline, fringe and linum) 129 | 130 | %> 131 | 132 | <% @emacs_faces.each do |e| debug_out e[:face] %> 133 | '(<%= e[:face] %> ((t (<%= face_attrs(e[:settings]) %>)))) 134 | <% end %> 135 | 136 | <% if @rainbow_parens && @rainbow_parens.count == 10 %> 137 | ;; Rainbow delimiters 138 | <% @rainbow_parens[0,9].each_with_index do |e,i| %> 139 | '(rainbow-delimiters-depth-<%= i + 1 %>-face ((t (:foreground "<%= e %>")))) 140 | <% end %> 141 | '(rainbow-delimiters-unmatched-face ((t (:foreground "<%= @rainbow_parens[9] %>")))) 142 | <% end %> 143 | ) ;; End face definitions 144 | 145 | ;;;###autoload 146 | (when load-file-name 147 | (add-to-list 'custom-theme-load-path 148 | (file-name-as-directory (file-name-directory load-file-name)))) 149 | 150 | (provide-theme '<%= @theme_name %>) 151 | 152 | ;; Local Variables: 153 | ;; eval: (when (fboundp 'rainbow-mode) (rainbow-mode +1)) 154 | ;; End: 155 | 156 | ;;; <%= @long_theme_name %>.el ends here 157 | -------------------------------------------------------------------------------- /test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ls -d ~/.emacs.d/elpa/*-theme-140* -1 | xargs rm -rf 4 | cd ~/workspace/tmtheme-to-deftheme 5 | gem build -V tm2deftheme.gemspec 6 | gem install -V -l tm2deftheme-*.gem 7 | rm tm2deftheme-0.1.7.gem 8 | cd ~/workspace/tmtheme-to-deftheme/generatedThemes 9 | 10 | for a in ../sampleThemes/*.tmTheme 11 | do 12 | tm2deftheme "$a" -f -o --debug 13 | done 14 | 15 | cd ~/workspace/tmtheme-to-deftheme 16 | -------------------------------------------------------------------------------- /tm2deftheme.gemspec: -------------------------------------------------------------------------------- 1 | # encoding: utf-8 2 | 3 | $:.unshift File.expand_path('../lib', __FILE__) 4 | require 'tm2deftheme/version' 5 | 6 | Gem::Specification.new do |s| 7 | s.name = "tm2deftheme" 8 | s.version = TmthemeToDeftheme::VERSION 9 | s.date = "2014-06-28" 10 | s.summary = "Convert .tmTheme to Emacs 24 deftheme .el" 11 | s.description = "Convert TextMate/SublimeText .tmTheme to Emacs 24 deftheme .el" 12 | s.authors = ["Jason Milkins"] 13 | s.email = ["jasonm23@gmail.com"] 14 | s.files = Dir['lib/*.rb'] + Dir['data/*'] + Dir['bin/*'] + Dir['templates/*'] + %W(README.md LICENSE) 15 | s.homepage = "https://github.com/emacsfodder/tmtheme-to-deftheme" 16 | s.license = "GPL3" 17 | 18 | #Runtime Dependencies 19 | s.required_ruby_version = ">= 1.9.3" 20 | s.add_runtime_dependency "plist4r", '~> 1.2', '>= 1.2.2' 21 | s.add_runtime_dependency "color", "~> 1.7" 22 | s.add_runtime_dependency "slop", '~> 3.5', '>= 3.5.0' 23 | s.add_runtime_dependency "erubis", '~> 2.7', '>= 2.7.0' 24 | 25 | #Development dependencies 26 | # s.add_development_dependency "rspec" 27 | # spec.add_development_dependency "aruba" 28 | 29 | #Scripts available after instalation 30 | s.executables = ["tm2deftheme"] 31 | end 32 | --------------------------------------------------------------------------------