├── COPYING ├── README.md ├── info.rkt └── screenshot.png /COPYING: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013 Asumu Takikawa 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Solarized Colorscheme for DrRacket 2 | ================================== 3 | 4 | ![Screenshot](screenshot.png) 5 | 6 | This package adds a Solarized colorscheme to DrRacket, the IDE 7 | of the [Racket programming language](http://www.racket-lang.org). 8 | 9 | See the [Solarized homepage](http://ethanschoonover.com/solarized) for 10 | screenshots, details and colorscheme versions for Vim, Mutt, popular terminal 11 | emulators and other applications. 12 | 13 | Note: colorschemes are only supported on [Racket 6.0](http://download.racket-lang.org/racket-v6.0.html) 14 | and newer versions. 15 | 16 | Installation 17 | ------------ 18 | 19 | From the package catalog: 20 | 21 | * `raco pkg install drracket-solarized` 22 | 23 | Directly from github: 24 | 25 | * `raco pkg install git://github.com/takikawa/drracket-solarized` 26 | 27 | License 28 | ------- 29 | 30 | Distributed under the MIT license. See the COPYING file. 31 | 32 | -------------------------------------------------------------------------------- /info.rkt: -------------------------------------------------------------------------------- 1 | #lang info 2 | 3 | ;; pkg metadata 4 | (define deps '("base")) 5 | 6 | ;; color scheme 7 | (define base03 #( 0 43 54)) 8 | (define base02 #( 7 54 66)) 9 | (define base01 #( 88 110 117)) 10 | (define base00 #(101 123 131)) 11 | (define base0 #(131 148 150)) 12 | (define base1 #(147 161 161)) 13 | (define base2 #(238 232 213)) 14 | (define base3 #(253 246 227)) 15 | (define yellow #(181 137 0)) 16 | (define orange #(203 75 22)) 17 | (define red #(220 50 47)) 18 | (define magenta #(211 54 130)) 19 | (define violet #(108 113 196)) 20 | (define blue #( 38 139 210)) 21 | (define cyan #( 42 161 152)) 22 | (define green #(133 153 0)) 23 | 24 | (define framework:color-schemes 25 | `(#hash((name . "Solarized Light") 26 | (colors 27 | . 28 | ((framework:basic-canvas-background 29 | ,base3) 30 | (framework:default-text-color 31 | ,base00) 32 | (framework:paren-match-color 33 | ,base2) 34 | (framework:syntax-color:scheme:comment 35 | ,base1) 36 | (framework:syntax-color:scheme:constant 37 | ,cyan) 38 | (framework:syntax-color:scheme:error 39 | ,red) 40 | (framework:syntax-color:scheme:hash-colon-keyword 41 | ,yellow) 42 | (framework:syntax-color:scheme:keyword 43 | ,green) 44 | (framework:syntax-color:scheme:string 45 | ,cyan) 46 | (framework:syntax-color:scheme:other 47 | ,blue) 48 | (framework:syntax-color:scheme:parenthesis 49 | ,base01) 50 | (framework:syntax-color:scheme:symbol 51 | ,base00) 52 | (drracket:read-eval-print-loop:error-color 53 | ,red) 54 | (drracket:read-eval-print-loop:out-color 55 | ,violet) 56 | (drracket:read-eval-print-loop:value-color 57 | ,blue) 58 | (drracket:check-syntax:both-obligation-style-pref 59 | ,green) 60 | (drracket:check-syntax:free-variable 61 | ,red) 62 | (drracket:check-syntax:imported 63 | ,violet) 64 | (drracket:check-syntax:lexically-bound 65 | ,blue) 66 | (drracket:check-syntax:my-obligation-style-pref 67 | ,orange) 68 | (drracket:check-syntax:set!d 69 | ,orange) 70 | (drracket:check-syntax:their-obligation-style-pref 71 | ,cyan) 72 | (drracket:check-syntax:unk-obligation-style-pref 73 | ,base01) 74 | (drracket:check-syntax:unused-require 75 | ,red)))) 76 | #hash((name . "Solarized Dark") 77 | (white-on-black-base? . #t) 78 | (colors 79 | . 80 | ((framework:basic-canvas-background 81 | ,base03) 82 | (framework:default-text-color 83 | ,base0) 84 | (framework:paren-match-color 85 | ,base02) 86 | (framework:syntax-color:scheme:comment 87 | ,base01) 88 | (framework:syntax-color:scheme:constant 89 | ,cyan) 90 | (framework:syntax-color:scheme:error 91 | ,red) 92 | (framework:syntax-color:scheme:hash-colon-keyword 93 | ,yellow) 94 | (framework:syntax-color:scheme:keyword 95 | ,green) 96 | (framework:syntax-color:scheme:string 97 | ,cyan) 98 | (framework:syntax-color:scheme:other 99 | ,blue) 100 | (framework:syntax-color:scheme:parenthesis 101 | ,base1) 102 | (framework:syntax-color:scheme:symbol 103 | ,base00) 104 | (drracket:read-eval-print-loop:error-color 105 | ,red) 106 | (drracket:read-eval-print-loop:out-color 107 | ,violet) 108 | (drracket:read-eval-print-loop:value-color 109 | ,blue) 110 | (drracket:check-syntax:both-obligation-style-pref 111 | ,green) 112 | (drracket:check-syntax:free-variable 113 | ,red) 114 | (drracket:check-syntax:imported 115 | ,violet) 116 | (drracket:check-syntax:lexically-bound 117 | ,blue) 118 | (drracket:check-syntax:my-obligation-style-pref 119 | ,orange) 120 | (drracket:check-syntax:set!d 121 | ,orange) 122 | (drracket:check-syntax:their-obligation-style-pref 123 | ,cyan) 124 | (drracket:check-syntax:unk-obligation-style-pref 125 | ,base1) 126 | (drracket:check-syntax:unused-require 127 | ,red)))))) 128 | 129 | -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takikawa/drracket-solarized/9a90657bb320d4231c85dff96ceaef6a835c5c4f/screenshot.png --------------------------------------------------------------------------------