├── screenshot.jpg ├── .gitignore ├── .editorconfig ├── generate ├── package.json ├── generate.js └── template.vim ├── README.md ├── LICENSE.md └── colors └── adventurous.vim /screenshot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kitten/vim-adventurous/HEAD/screenshot.jpg -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Node 2 | node_modules 3 | *.log 4 | lib/ 5 | es/ 6 | dist/ 7 | npm-debug.log 8 | _book/ 9 | 10 | # Mac 11 | .DS_Store 12 | .*/ 13 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | indent_size = 2 8 | end_of_line = lf 9 | insert_final_newline = true 10 | trim_trailing_whitespace = true 11 | 12 | [*.md] 13 | insert_final_newline = false 14 | trim_trailing_whitespace = false -------------------------------------------------------------------------------- /generate/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vim-adventurous", 3 | "version": "1.0.0", 4 | "private": true, 5 | "description": "The generator that turns a syntax into Adventure Time goodness", 6 | "main": "generate.js", 7 | "author": "Phil Plückthun (https://github.com/philpl)", 8 | "bugs": { 9 | "url": "https://github.com/philplckthun/vim-adventurous/issues" 10 | }, 11 | "repository": { 12 | "type": "git", 13 | "url": "git+https://github.com/philpl/vim-adventurous.git" 14 | }, 15 | "license": "CC0-1.0", 16 | "dependencies": { 17 | "byline": "^5.0.0", 18 | "color-diff": "^1.0.0", 19 | "goethe": "^1.1.4", 20 | "x256": "0.0.2" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Vim Adventurous 2 | 3 | A dark vim color theme using common colours often seen in the cult series Adventure Time. 4 | 5 | ![Adventure Time!](http://img1.wikia.nocookie.net/__cb20120811190505/adventuretimewithfinnandjake/images/2/24/Ci_banner_2k12mar20_adventuretime.jpeg) 6 | 7 | Based on the [Dracula syntax theme](https://draculatheme.com/). 8 | 9 | **Why?** Because Adventure Time's colours are crisp and awesome! 10 | 11 | **How?** This is automatically generated! It takes Dracula's colours and matches them with 12 | a different colour palette. 13 | 14 | ## Need Some Eyecandy? 15 | 16 | ![Screenshot](https://raw.githubusercontent.com/philpl/vim-adventurous/master/screenshot.jpg) 17 | 18 | ## Contributing 19 | 20 | This is a *work in progress*. 21 | 22 | Please report any peculiar color combinations or circumstances under which code is rendered unreadable and ugly. 23 | Please also try to attach a screenshot, so it is easier to recognise the problem. 24 | 25 | -------------------------------------------------------------------------------- /generate/generate.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | const path = require('path') 4 | const fs = require('fs') 5 | const stream = require('stream') 6 | const Color = require('goethe').default 7 | const diff = require('color-diff') 8 | const byline = require('byline') 9 | const x256 = require('x256') 10 | 11 | function colorToDiff(c) { 12 | const res = c.toRGB() 13 | 14 | return { R: res.r, G: res.g, B: res.b } 15 | } 16 | 17 | function diffToColor(c) { 18 | return Color({ r: c.R, g: c.G, b: c.B }) 19 | } 20 | 21 | const palette = [ 22 | Color('#F8F8F2'), // Normal 23 | Color('#191B1F'), // Darkness 24 | Color('#404449'), // Ghostly 25 | Color('#F5BB12'), // Jake The Dog 26 | Color('#FFC620'), // Rawr 27 | Color('#D3422E'), // Peppermint Butler 28 | Color('#4BAE16'), // Finn's Bag 29 | Color('#7fd6fa'), // Ice King 30 | Color('#277BD3'), // Finn The Human 31 | Color('#f25a55'), // Heartbreaker 32 | Color('#de347a'), // Princess Bubblegum 33 | Color('#3299CC'), // Adventure Time 34 | Color('#8abeb7'), // Cyan 35 | ].map(colorToDiff) 36 | 37 | function findSimilarInPalette(c) { 38 | const base = colorToDiff(c) 39 | 40 | const aprox = diff.closest(base, palette) 41 | 42 | return diffToColor(aprox) 43 | } 44 | 45 | function colorToTerm(c) { 46 | return x256(...c.rgbArray()) 47 | } 48 | 49 | function termToColor(code) { 50 | if (typeof code !== 'number') { 51 | code = parseInt(code) 52 | } 53 | 54 | return Color(x256.colors[code]) 55 | } 56 | 57 | function transform(str) { 58 | const [ key, val ] = str.split('=') 59 | 60 | if (key === 'gui' || key === 'cterm' || val === 'NONE') { 61 | return str 62 | } 63 | 64 | const isCTerm = key.startsWith('cterm') 65 | 66 | let color 67 | if (isCTerm) { 68 | color = termToColor(val) 69 | } else { 70 | color = Color(val) 71 | } 72 | 73 | if (!color) { 74 | return str 75 | } 76 | 77 | const aprox = findSimilarInPalette(color) 78 | 79 | let newVal 80 | if (isCTerm) { 81 | newVal = colorToTerm(aprox) 82 | } else { 83 | newVal = aprox.toString('hex') 84 | } 85 | 86 | return key + '=' + newVal 87 | } 88 | 89 | class TransformColors extends stream.Transform { 90 | constructor(opts) { 91 | super(opts) 92 | 93 | this.lastLineComment = true 94 | this.lastLineHi = true 95 | } 96 | 97 | _transform(chunk, enc, cb) { 98 | const str = chunk.toString().trim() 99 | 100 | const _lastLineComment = this.lastLineComment 101 | this.lastLineComment = str.startsWith('"') 102 | 103 | const _lastLineHi = this.lastLineHi 104 | this.lastLineHi = str.startsWith('hi ') 105 | 106 | if (str.startsWith('hi ')) { 107 | const parsed = str.split(' ') 108 | const name = parsed[1] 109 | 110 | const rest = parsed 111 | .slice(2) 112 | .map(x => x.replace(/(\n|\s+)/, '')) 113 | .map(transform) 114 | 115 | this.push([ 116 | (this.lastLineHi && !_lastLineHi) ? '\nhi' : 'hi', 117 | name, 118 | ...rest 119 | ].join(' ') + '\n') 120 | 121 | return cb() 122 | } else if (this.lastLineComment && !_lastLineComment) { 123 | this.push('\n' + str + '\n') 124 | return cb() 125 | } 126 | 127 | this.push(str + '\n') 128 | return cb() 129 | } 130 | } 131 | 132 | const draculaSyntax = byline.createStream( 133 | fs.createReadStream(path.join(__dirname, 'template.vim')) 134 | ) 135 | 136 | const adventurousSyntax = fs.createWriteStream( 137 | path.join(__dirname, '../colors/adventurous.vim') 138 | ) 139 | 140 | draculaSyntax 141 | .pipe(new TransformColors()) 142 | .pipe(adventurousSyntax) 143 | 144 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | CC0 1.0 Universal 2 | 3 | Statement of Purpose 4 | 5 | The laws of most jurisdictions throughout the world automatically confer 6 | exclusive Copyright and Related Rights (defined below) upon the creator and 7 | subsequent owner(s) (each and all, an "owner") of an original work of 8 | authorship and/or a database (each, a "Work"). 9 | 10 | Certain owners wish to permanently relinquish those rights to a Work for the 11 | purpose of contributing to a commons of creative, cultural and scientific 12 | works ("Commons") that the public can reliably and without fear of later 13 | claims of infringement build upon, modify, incorporate in other works, reuse 14 | and redistribute as freely as possible in any form whatsoever and for any 15 | purposes, including without limitation commercial purposes. These owners may 16 | contribute to the Commons to promote the ideal of a free culture and the 17 | further production of creative, cultural and scientific works, or to gain 18 | reputation or greater distribution for their Work in part through the use and 19 | efforts of others. 20 | 21 | For these and/or other purposes and motivations, and without any expectation 22 | of additional consideration or compensation, the person associating CC0 with a 23 | Work (the "Affirmer"), to the extent that he or she is an owner of Copyright 24 | and Related Rights in the Work, voluntarily elects to apply CC0 to the Work 25 | and publicly distribute the Work under its terms, with knowledge of his or her 26 | Copyright and Related Rights in the Work and the meaning and intended legal 27 | effect of CC0 on those rights. 28 | 29 | 1. Copyright and Related Rights. A Work made available under CC0 may be 30 | protected by copyright and related or neighboring rights ("Copyright and 31 | Related Rights"). Copyright and Related Rights include, but are not limited 32 | to, the following: 33 | 34 | i. the right to reproduce, adapt, distribute, perform, display, communicate, 35 | and translate a Work; 36 | 37 | ii. moral rights retained by the original author(s) and/or performer(s); 38 | 39 | iii. publicity and privacy rights pertaining to a person's image or likeness 40 | depicted in a Work; 41 | 42 | iv. rights protecting against unfair competition in regards to a Work, 43 | subject to the limitations in paragraph 4(a), below; 44 | 45 | v. rights protecting the extraction, dissemination, use and reuse of data in 46 | a Work; 47 | 48 | vi. database rights (such as those arising under Directive 96/9/EC of the 49 | European Parliament and of the Council of 11 March 1996 on the legal 50 | protection of databases, and under any national implementation thereof, 51 | including any amended or successor version of such directive); and 52 | 53 | vii. other similar, equivalent or corresponding rights throughout the world 54 | based on applicable law or treaty, and any national implementations thereof. 55 | 56 | 2. Waiver. To the greatest extent permitted by, but not in contravention of, 57 | applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and 58 | unconditionally waives, abandons, and surrenders all of Affirmer's Copyright 59 | and Related Rights and associated claims and causes of action, whether now 60 | known or unknown (including existing as well as future claims and causes of 61 | action), in the Work (i) in all territories worldwide, (ii) for the maximum 62 | duration provided by applicable law or treaty (including future time 63 | extensions), (iii) in any current or future medium and for any number of 64 | copies, and (iv) for any purpose whatsoever, including without limitation 65 | commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes 66 | the Waiver for the benefit of each member of the public at large and to the 67 | detriment of Affirmer's heirs and successors, fully intending that such Waiver 68 | shall not be subject to revocation, rescission, cancellation, termination, or 69 | any other legal or equitable action to disrupt the quiet enjoyment of the Work 70 | by the public as contemplated by Affirmer's express Statement of Purpose. 71 | 72 | 3. Public License Fallback. Should any part of the Waiver for any reason be 73 | judged legally invalid or ineffective under applicable law, then the Waiver 74 | shall be preserved to the maximum extent permitted taking into account 75 | Affirmer's express Statement of Purpose. In addition, to the extent the Waiver 76 | is so judged Affirmer hereby grants to each affected person a royalty-free, 77 | non transferable, non sublicensable, non exclusive, irrevocable and 78 | unconditional license to exercise Affirmer's Copyright and Related Rights in 79 | the Work (i) in all territories worldwide, (ii) for the maximum duration 80 | provided by applicable law or treaty (including future time extensions), (iii) 81 | in any current or future medium and for any number of copies, and (iv) for any 82 | purpose whatsoever, including without limitation commercial, advertising or 83 | promotional purposes (the "License"). The License shall be deemed effective as 84 | of the date CC0 was applied by Affirmer to the Work. Should any part of the 85 | License for any reason be judged legally invalid or ineffective under 86 | applicable law, such partial invalidity or ineffectiveness shall not 87 | invalidate the remainder of the License, and in such case Affirmer hereby 88 | affirms that he or she will not (i) exercise any of his or her remaining 89 | Copyright and Related Rights in the Work or (ii) assert any associated claims 90 | and causes of action with respect to the Work, in either case contrary to 91 | Affirmer's express Statement of Purpose. 92 | 93 | 4. Limitations and Disclaimers. 94 | 95 | a. No trademark or patent rights held by Affirmer are waived, abandoned, 96 | surrendered, licensed or otherwise affected by this document. 97 | 98 | b. Affirmer offers the Work as-is and makes no representations or warranties 99 | of any kind concerning the Work, express, implied, statutory or otherwise, 100 | including without limitation warranties of title, merchantability, fitness 101 | for a particular purpose, non infringement, or the absence of latent or 102 | other defects, accuracy, or the present or absence of errors, whether or not 103 | discoverable, all to the greatest extent permissible under applicable law. 104 | 105 | c. Affirmer disclaims responsibility for clearing rights of other persons 106 | that may apply to the Work or any use thereof, including without limitation 107 | any person's Copyright and Related Rights in the Work. Further, Affirmer 108 | disclaims responsibility for obtaining any necessary consents, permissions 109 | or other rights required for any use of the Work. 110 | 111 | d. Affirmer understands and acknowledges that Creative Commons is not a 112 | party to this document and has no duty or obligation with respect to this 113 | CC0 or use of the Work. 114 | 115 | For more information, please see 116 | 117 | 118 | -------------------------------------------------------------------------------- /colors/adventurous.vim: -------------------------------------------------------------------------------- 1 | " Adventurous Theme v1.0.0 2 | " 3 | " https://github.com/philpl/vim-adventurous 4 | " 5 | " Licensed under the CC0-1.0 license 6 | " 7 | " @author Phil Plueckthun 8 | " 9 | set background=dark 10 | highlight clear 11 | if exists("syntax_on") 12 | syntax reset 13 | endif 14 | let g:colors_name = "adventurous" 15 | 16 | hi Cursor ctermfg=234 ctermbg=255 cterm=NONE guifg=#191B1F guibg=#F8F8F2 gui=NONE 17 | hi Visual ctermfg=NONE ctermbg=238 cterm=NONE guifg=NONE guibg=#404449 gui=NONE 18 | hi CursorLine ctermfg=NONE ctermbg=238 cterm=NONE guifg=NONE guibg=#404449 gui=NONE 19 | hi CursorColumn ctermfg=NONE ctermbg=238 cterm=NONE guifg=NONE guibg=#404449 gui=NONE 20 | hi ColorColumn ctermfg=NONE ctermbg=238 cterm=NONE guifg=NONE guibg=#404449 gui=NONE 21 | hi VertSplit ctermfg=238 ctermbg=238 cterm=NONE guifg=#404449 guibg=#404449 gui=NONE 22 | hi MatchParen ctermfg=168 ctermbg=NONE cterm=underline guifg=#DE347A guibg=NONE gui=underline 23 | hi StatusLine ctermfg=255 ctermbg=238 cterm=bold guifg=#F8F8F2 guibg=#404449 gui=bold 24 | hi StatusLineNC ctermfg=255 ctermbg=238 cterm=NONE guifg=#F8F8F2 guibg=#404449 gui=NONE 25 | hi Pmenu ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 26 | hi PmenuSel ctermfg=NONE ctermbg=238 cterm=NONE guifg=NONE guibg=#404449 gui=NONE 27 | hi IncSearch ctermfg=234 ctermbg=220 cterm=NONE guifg=#191B1F guibg=#FFC620 gui=NONE 28 | hi Search ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline 29 | hi Directory ctermfg=32 ctermbg=NONE cterm=NONE guifg=#277BD3 guibg=NONE gui=NONE 30 | hi Folded ctermfg=32 ctermbg=234 cterm=NONE guifg=#277BD3 guibg=#191B1F gui=NONE 31 | if has('gui_running') || exists('neovim_dot_app') 32 | 33 | hi Normal ctermfg=255 ctermbg=234 cterm=NONE guifg=#F8F8F2 guibg=#191B1F gui=NONE 34 | hi LineNr ctermfg=238 ctermbg=234 cterm=NONE guifg=#404449 guibg=#191B1F gui=NONE 35 | else 36 | 37 | hi Normal ctermfg=255 ctermbg=NONE cterm=NONE guifg=#F8F8F2 guibg=NONE gui=NONE 38 | hi LineNr ctermfg=238 ctermbg=NONE cterm=NONE guifg=#404449 guibg=NONE gui=NONE 39 | endif 40 | 41 | hi Boolean ctermfg=32 ctermbg=NONE cterm=NONE guifg=#277BD3 guibg=NONE gui=NONE 42 | hi Character ctermfg=32 ctermbg=NONE cterm=NONE guifg=#277BD3 guibg=NONE gui=NONE 43 | hi Comment ctermfg=32 ctermbg=NONE cterm=italic guifg=#277BD3 guibg=NONE gui=italic 44 | hi Conditional ctermfg=168 ctermbg=NONE cterm=NONE guifg=#DE347A guibg=NONE gui=NONE 45 | hi Constant ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 46 | hi Define ctermfg=168 ctermbg=NONE cterm=NONE guifg=#DE347A guibg=NONE gui=NONE 47 | hi DiffAdd ctermfg=255 ctermbg=70 cterm=bold guifg=#F8F8F2 guibg=#4BAE16 gui=bold 48 | hi DiffDelete ctermfg=166 ctermbg=NONE cterm=NONE guifg=#D3422E guibg=NONE gui=NONE 49 | hi DiffChange ctermfg=255 ctermbg=238 cterm=NONE guifg=#F8F8F2 guibg=#404449 gui=NONE 50 | hi DiffText ctermfg=255 ctermbg=32 cterm=bold guifg=#F8F8F2 guibg=#404449 gui=bold 51 | hi ErrorMsg ctermfg=255 ctermbg=168 cterm=NONE guifg=#F8F8F2 guibg=#DE347A gui=NONE 52 | hi WarningMsg ctermfg=255 ctermbg=168 cterm=NONE guifg=#F8F8F2 guibg=#DE347A gui=NONE 53 | hi Float ctermfg=32 ctermbg=NONE cterm=NONE guifg=#277BD3 guibg=NONE gui=NONE 54 | hi Function ctermfg=70 ctermbg=NONE cterm=NONE guifg=#4BAE16 guibg=NONE gui=NONE 55 | hi Identifier ctermfg=117 ctermbg=NONE cterm=italic guifg=#7FD6FA guibg=NONE gui=italic 56 | hi Keyword ctermfg=168 ctermbg=NONE cterm=NONE guifg=#DE347A guibg=NONE gui=NONE 57 | hi Label ctermfg=220 ctermbg=NONE cterm=NONE guifg=#FFC620 guibg=NONE gui=NONE 58 | hi NonText ctermfg=238 ctermbg=238 cterm=NONE guifg=#404449 guibg=#404449 gui=NONE 59 | hi Number ctermfg=32 ctermbg=NONE cterm=NONE guifg=#277BD3 guibg=NONE gui=NONE 60 | hi Operator ctermfg=168 ctermbg=NONE cterm=NONE guifg=#DE347A guibg=NONE gui=NONE 61 | hi PreProc ctermfg=168 ctermbg=NONE cterm=NONE guifg=#DE347A guibg=NONE gui=NONE 62 | hi Special ctermfg=255 ctermbg=NONE cterm=NONE guifg=#F8F8F2 guibg=NONE gui=NONE 63 | hi SpecialKey ctermfg=238 ctermbg=238 cterm=NONE guifg=#404449 guibg=#404449 gui=NONE 64 | hi Statement ctermfg=168 ctermbg=NONE cterm=NONE guifg=#DE347A guibg=NONE gui=NONE 65 | hi StorageClass ctermfg=117 ctermbg=NONE cterm=italic guifg=#7FD6FA guibg=NONE gui=italic 66 | hi String ctermfg=220 ctermbg=NONE cterm=NONE guifg=#FFC620 guibg=NONE gui=NONE 67 | hi Tag ctermfg=168 ctermbg=NONE cterm=NONE guifg=#DE347A guibg=NONE gui=NONE 68 | hi Title ctermfg=255 ctermbg=NONE cterm=bold guifg=#F8F8F2 guibg=NONE gui=bold 69 | hi Todo ctermfg=32 ctermbg=NONE cterm=inverse,bold guifg=#277BD3 guibg=NONE gui=inverse,bold 70 | hi Type ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 71 | hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline 72 | hi rubyClass ctermfg=168 ctermbg=NONE cterm=NONE guifg=#DE347A guibg=NONE gui=NONE 73 | hi rubyFunction ctermfg=70 ctermbg=NONE cterm=NONE guifg=#4BAE16 guibg=NONE gui=NONE 74 | hi rubyInterpolationDelimiter ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 75 | hi rubySymbol ctermfg=32 ctermbg=NONE cterm=NONE guifg=#277BD3 guibg=NONE gui=NONE 76 | hi rubyConstant ctermfg=117 ctermbg=NONE cterm=italic guifg=#7FD6FA guibg=NONE gui=italic 77 | hi rubyStringDelimiter ctermfg=220 ctermbg=NONE cterm=NONE guifg=#FFC620 guibg=NONE gui=NONE 78 | hi rubyBlockParameter ctermfg=214 ctermbg=NONE cterm=italic guifg=#F5BB12 guibg=NONE gui=italic 79 | hi rubyInstanceVariable ctermfg=203 ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 80 | hi rubyInclude ctermfg=168 ctermbg=NONE cterm=NONE guifg=#DE347A guibg=NONE gui=NONE 81 | hi rubyGlobalVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 82 | hi rubyRegexp ctermfg=220 ctermbg=NONE cterm=NONE guifg=#FFC620 guibg=NONE gui=NONE 83 | hi rubyRegexpDelimiter ctermfg=220 ctermbg=NONE cterm=NONE guifg=#FFC620 guibg=NONE gui=NONE 84 | hi rubyEscape ctermfg=32 ctermbg=NONE cterm=NONE guifg=#277BD3 guibg=NONE gui=NONE 85 | hi rubyControl ctermfg=168 ctermbg=NONE cterm=NONE guifg=#DE347A guibg=NONE gui=NONE 86 | hi rubyClassVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 87 | hi rubyOperator ctermfg=168 ctermbg=NONE cterm=NONE guifg=#DE347A guibg=NONE gui=NONE 88 | hi rubyException ctermfg=168 ctermbg=NONE cterm=NONE guifg=#DE347A guibg=NONE gui=NONE 89 | hi rubyPseudoVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 90 | hi rubyRailsUserClass ctermfg=117 ctermbg=NONE cterm=italic guifg=#7FD6FA guibg=NONE gui=italic 91 | hi rubyRailsARAssociationMethod ctermfg=117 ctermbg=NONE cterm=NONE guifg=#7FD6FA guibg=NONE gui=NONE 92 | hi rubyRailsARMethod ctermfg=117 ctermbg=NONE cterm=NONE guifg=#7FD6FA guibg=NONE gui=NONE 93 | hi rubyRailsRenderMethod ctermfg=117 ctermbg=NONE cterm=NONE guifg=#7FD6FA guibg=NONE gui=NONE 94 | hi rubyRailsMethod ctermfg=117 ctermbg=NONE cterm=NONE guifg=#7FD6FA guibg=NONE gui=NONE 95 | hi erubyDelimiter ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 96 | hi erubyComment ctermfg=32 ctermbg=NONE cterm=NONE guifg=#277BD3 guibg=NONE gui=NONE 97 | hi erubyRailsMethod ctermfg=117 ctermbg=NONE cterm=NONE guifg=#7FD6FA guibg=NONE gui=NONE 98 | hi htmlTag ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 99 | hi htmlEndTag ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 100 | hi htmlTagName ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 101 | hi htmlArg ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 102 | hi htmlSpecialChar ctermfg=32 ctermbg=NONE cterm=NONE guifg=#277BD3 guibg=NONE gui=NONE 103 | hi javaScriptFunction ctermfg=117 ctermbg=NONE cterm=italic guifg=#7FD6FA guibg=NONE gui=italic 104 | hi javaScriptRailsFunction ctermfg=117 ctermbg=NONE cterm=NONE guifg=#7FD6FA guibg=NONE gui=NONE 105 | hi javaScriptBraces ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 106 | hi yamlKey ctermfg=168 ctermbg=NONE cterm=NONE guifg=#DE347A guibg=NONE gui=NONE 107 | hi yamlAnchor ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 108 | hi yamlAlias ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 109 | hi yamlDocumentHeader ctermfg=220 ctermbg=NONE cterm=NONE guifg=#FFC620 guibg=NONE gui=NONE 110 | hi cssURL ctermfg=214 ctermbg=NONE cterm=italic guifg=#F5BB12 guibg=NONE gui=italic 111 | hi cssFunctionName ctermfg=117 ctermbg=NONE cterm=NONE guifg=#7FD6FA guibg=NONE gui=NONE 112 | hi cssColor ctermfg=32 ctermbg=NONE cterm=NONE guifg=#277BD3 guibg=NONE gui=NONE 113 | hi cssPseudoClassId ctermfg=70 ctermbg=NONE cterm=NONE guifg=#4BAE16 guibg=NONE gui=NONE 114 | hi cssClassName ctermfg=70 ctermbg=NONE cterm=NONE guifg=#4BAE16 guibg=NONE gui=NONE 115 | hi cssValueLength ctermfg=32 ctermbg=NONE cterm=NONE guifg=#277BD3 guibg=NONE gui=NONE 116 | hi cssCommonAttr ctermfg=117 ctermbg=NONE cterm=NONE guifg=#7FD6FA guibg=NONE gui=NONE 117 | hi cssBraces ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 118 | 119 | " end of document 120 | 121 | hi NonText ctermbg=NONE cterm=NONE guifg=#404449 guibg=NONE gui=NONE 122 | 123 | " invisibles 124 | 125 | hi SpecialKey ctermbg=NONE cterm=NONE guifg=#404449 guibg=NONE gui=NONE 126 | -------------------------------------------------------------------------------- /generate/template.vim: -------------------------------------------------------------------------------- 1 | " Adventurous Theme v1.0.0 2 | " 3 | " https://github.com/philpl/vim-adventurous 4 | " 5 | " Licensed under the CC0-1.0 license 6 | " 7 | " @author Phil Plueckthun 8 | " 9 | set background=dark 10 | highlight clear 11 | if exists("syntax_on") 12 | syntax reset 13 | endif 14 | 15 | let g:colors_name = "adventurous" 16 | 17 | hi Cursor ctermfg=17 ctermbg=231 cterm=NONE guifg=#282a36 guibg=#f8f8f0 gui=NONE 18 | hi Visual ctermfg=NONE ctermbg=236 cterm=NONE guifg=NONE guibg=#44475a gui=NONE 19 | hi CursorLine ctermfg=NONE ctermbg=236 cterm=NONE guifg=NONE guibg=#3d3f49 gui=NONE 20 | hi CursorColumn ctermfg=NONE ctermbg=236 cterm=NONE guifg=NONE guibg=#3d3f49 gui=NONE 21 | hi ColorColumn ctermfg=NONE ctermbg=236 cterm=NONE guifg=NONE guibg=#3d3f49 gui=NONE 22 | hi VertSplit ctermfg=59 ctermbg=236 cterm=NONE guifg=#64666d guibg=#64666d gui=NONE 23 | hi MatchParen ctermfg=212 ctermbg=NONE cterm=underline guifg=#ff79c6 guibg=NONE gui=underline 24 | hi StatusLine ctermfg=231 ctermbg=236 cterm=bold guifg=#f8f8f2 guibg=#64666d gui=bold 25 | hi StatusLineNC ctermfg=231 ctermbg=236 cterm=NONE guifg=#f8f8f2 guibg=#64666d gui=NONE 26 | hi Pmenu ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 27 | hi PmenuSel ctermfg=NONE ctermbg=236 cterm=NONE guifg=NONE guibg=#44475a gui=NONE 28 | hi IncSearch ctermfg=17 ctermbg=228 cterm=NONE guifg=#282a36 guibg=#f1fa8c gui=NONE 29 | hi Search ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline 30 | hi Directory ctermfg=141 ctermbg=NONE cterm=NONE guifg=#bd93f9 guibg=NONE gui=NONE 31 | hi Folded ctermfg=61 ctermbg=235 cterm=NONE guifg=#6272a4 guibg=#282a36 gui=NONE 32 | 33 | if has('gui_running') || exists('neovim_dot_app') 34 | hi Normal ctermfg=231 ctermbg=235 cterm=NONE guifg=#f8f8f2 guibg=#282a36 gui=NONE 35 | hi LineNr ctermfg=59 ctermbg=235 cterm=NONE guifg=#64666d guibg=#282a36 gui=NONE 36 | else 37 | hi Normal ctermfg=231 ctermbg=NONE cterm=NONE guifg=#f8f8f2 guibg=NONE gui=NONE 38 | hi LineNr ctermfg=59 ctermbg=NONE cterm=NONE guifg=#64666d guibg=NONE gui=NONE 39 | endif 40 | 41 | hi Boolean ctermfg=141 ctermbg=NONE cterm=NONE guifg=#bd93f9 guibg=NONE gui=NONE 42 | hi Character ctermfg=141 ctermbg=NONE cterm=NONE guifg=#bd93f9 guibg=NONE gui=NONE 43 | hi Comment ctermfg=61 ctermbg=NONE cterm=italic guifg=#6272a4 guibg=NONE gui=italic 44 | hi Conditional ctermfg=212 ctermbg=NONE cterm=NONE guifg=#ff79c6 guibg=NONE gui=NONE 45 | hi Constant ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 46 | hi Define ctermfg=212 ctermbg=NONE cterm=NONE guifg=#ff79c6 guibg=NONE gui=NONE 47 | hi DiffAdd ctermfg=231 ctermbg=64 cterm=bold guifg=#f8f8f2 guibg=#468410 gui=bold 48 | hi DiffDelete ctermfg=88 ctermbg=NONE cterm=NONE guifg=#8b080b guibg=NONE gui=NONE 49 | hi DiffChange ctermfg=231 ctermbg=23 cterm=NONE guifg=#f8f8f2 guibg=#243a5f gui=NONE 50 | hi DiffText ctermfg=231 ctermbg=24 cterm=bold guifg=#f8f8f2 guibg=#204a87 gui=bold 51 | hi ErrorMsg ctermfg=231 ctermbg=212 cterm=NONE guifg=#f8f8f0 guibg=#ff79c6 gui=NONE 52 | hi WarningMsg ctermfg=231 ctermbg=212 cterm=NONE guifg=#f8f8f0 guibg=#ff79c6 gui=NONE 53 | hi Float ctermfg=141 ctermbg=NONE cterm=NONE guifg=#bd93f9 guibg=NONE gui=NONE 54 | hi Function ctermfg=84 ctermbg=NONE cterm=NONE guifg=#50fa7b guibg=NONE gui=NONE 55 | hi Identifier ctermfg=117 ctermbg=NONE cterm=italic guifg=#8be9fd guibg=NONE gui=italic 56 | hi Keyword ctermfg=212 ctermbg=NONE cterm=NONE guifg=#ff79c6 guibg=NONE gui=NONE 57 | hi Label ctermfg=228 ctermbg=NONE cterm=NONE guifg=#f1fa8c guibg=NONE gui=NONE 58 | hi NonText ctermfg=59 ctermbg=236 cterm=NONE guifg=#3b3a32 guibg=#32343f gui=NONE 59 | hi Number ctermfg=141 ctermbg=NONE cterm=NONE guifg=#bd93f9 guibg=NONE gui=NONE 60 | hi Operator ctermfg=212 ctermbg=NONE cterm=NONE guifg=#ff79c6 guibg=NONE gui=NONE 61 | hi PreProc ctermfg=212 ctermbg=NONE cterm=NONE guifg=#ff79c6 guibg=NONE gui=NONE 62 | hi Special ctermfg=231 ctermbg=NONE cterm=NONE guifg=#f8f8f2 guibg=NONE gui=NONE 63 | hi SpecialKey ctermfg=59 ctermbg=236 cterm=NONE guifg=#3b3a32 guibg=#3d3f49 gui=NONE 64 | hi Statement ctermfg=212 ctermbg=NONE cterm=NONE guifg=#ff79c6 guibg=NONE gui=NONE 65 | hi StorageClass ctermfg=117 ctermbg=NONE cterm=italic guifg=#8be9fd guibg=NONE gui=italic 66 | hi String ctermfg=228 ctermbg=NONE cterm=NONE guifg=#f1fa8c guibg=NONE gui=NONE 67 | hi Tag ctermfg=212 ctermbg=NONE cterm=NONE guifg=#ff79c6 guibg=NONE gui=NONE 68 | hi Title ctermfg=231 ctermbg=NONE cterm=bold guifg=#f8f8f2 guibg=NONE gui=bold 69 | hi Todo ctermfg=61 ctermbg=NONE cterm=inverse,bold guifg=#6272a4 guibg=NONE gui=inverse,bold 70 | hi Type ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 71 | hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline 72 | hi rubyClass ctermfg=212 ctermbg=NONE cterm=NONE guifg=#ff79c6 guibg=NONE gui=NONE 73 | hi rubyFunction ctermfg=84 ctermbg=NONE cterm=NONE guifg=#50fa7b guibg=NONE gui=NONE 74 | hi rubyInterpolationDelimiter ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 75 | hi rubySymbol ctermfg=141 ctermbg=NONE cterm=NONE guifg=#bd93f9 guibg=NONE gui=NONE 76 | hi rubyConstant ctermfg=81 ctermbg=NONE cterm=italic guifg=#66d9ef guibg=NONE gui=italic 77 | hi rubyStringDelimiter ctermfg=228 ctermbg=NONE cterm=NONE guifg=#f1fa8c guibg=NONE gui=NONE 78 | hi rubyBlockParameter ctermfg=215 ctermbg=NONE cterm=italic guifg=#ffb86c guibg=NONE gui=italic 79 | hi rubyInstanceVariable ctermfg=203 ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 80 | hi rubyInclude ctermfg=212 ctermbg=NONE cterm=NONE guifg=#ff79c6 guibg=NONE gui=NONE 81 | hi rubyGlobalVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 82 | hi rubyRegexp ctermfg=228 ctermbg=NONE cterm=NONE guifg=#f1fa8c guibg=NONE gui=NONE 83 | hi rubyRegexpDelimiter ctermfg=228 ctermbg=NONE cterm=NONE guifg=#f1fa8c guibg=NONE gui=NONE 84 | hi rubyEscape ctermfg=141 ctermbg=NONE cterm=NONE guifg=#bd93f9 guibg=NONE gui=NONE 85 | hi rubyControl ctermfg=212 ctermbg=NONE cterm=NONE guifg=#ff79c6 guibg=NONE gui=NONE 86 | hi rubyClassVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 87 | hi rubyOperator ctermfg=212 ctermbg=NONE cterm=NONE guifg=#ff79c6 guibg=NONE gui=NONE 88 | hi rubyException ctermfg=212 ctermbg=NONE cterm=NONE guifg=#ff79c6 guibg=NONE gui=NONE 89 | hi rubyPseudoVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 90 | hi rubyRailsUserClass ctermfg=81 ctermbg=NONE cterm=italic guifg=#66d9ef guibg=NONE gui=italic 91 | hi rubyRailsARAssociationMethod ctermfg=117 ctermbg=NONE cterm=NONE guifg=#8be9fd guibg=NONE gui=NONE 92 | hi rubyRailsARMethod ctermfg=117 ctermbg=NONE cterm=NONE guifg=#8be9fd guibg=NONE gui=NONE 93 | hi rubyRailsRenderMethod ctermfg=117 ctermbg=NONE cterm=NONE guifg=#8be9fd guibg=NONE gui=NONE 94 | hi rubyRailsMethod ctermfg=117 ctermbg=NONE cterm=NONE guifg=#8be9fd guibg=NONE gui=NONE 95 | hi erubyDelimiter ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 96 | hi erubyComment ctermfg=61 ctermbg=NONE cterm=NONE guifg=#6272a4 guibg=NONE gui=NONE 97 | hi erubyRailsMethod ctermfg=117 ctermbg=NONE cterm=NONE guifg=#8be9fd guibg=NONE gui=NONE 98 | hi htmlTag ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 99 | hi htmlEndTag ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 100 | hi htmlTagName ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 101 | hi htmlArg ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 102 | hi htmlSpecialChar ctermfg=141 ctermbg=NONE cterm=NONE guifg=#bd93f9 guibg=NONE gui=NONE 103 | hi javaScriptFunction ctermfg=117 ctermbg=NONE cterm=italic guifg=#8be9fd guibg=NONE gui=italic 104 | hi javaScriptRailsFunction ctermfg=117 ctermbg=NONE cterm=NONE guifg=#8be9fd guibg=NONE gui=NONE 105 | hi javaScriptBraces ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 106 | hi yamlKey ctermfg=212 ctermbg=NONE cterm=NONE guifg=#ff79c6 guibg=NONE gui=NONE 107 | hi yamlAnchor ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 108 | hi yamlAlias ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 109 | hi yamlDocumentHeader ctermfg=228 ctermbg=NONE cterm=NONE guifg=#f1fa8c guibg=NONE gui=NONE 110 | hi cssURL ctermfg=215 ctermbg=NONE cterm=italic guifg=#ffb86c guibg=NONE gui=italic 111 | hi cssFunctionName ctermfg=117 ctermbg=NONE cterm=NONE guifg=#8be9fd guibg=NONE gui=NONE 112 | hi cssColor ctermfg=141 ctermbg=NONE cterm=NONE guifg=#bd93f9 guibg=NONE gui=NONE 113 | hi cssPseudoClassId ctermfg=84 ctermbg=NONE cterm=NONE guifg=#50fa7b guibg=NONE gui=NONE 114 | hi cssClassName ctermfg=84 ctermbg=NONE cterm=NONE guifg=#50fa7b guibg=NONE gui=NONE 115 | hi cssValueLength ctermfg=141 ctermbg=NONE cterm=NONE guifg=#bd93f9 guibg=NONE gui=NONE 116 | hi cssCommonAttr ctermfg=81 ctermbg=NONE cterm=NONE guifg=#6be5fd guibg=NONE gui=NONE 117 | hi cssBraces ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE 118 | 119 | " end of document 120 | hi NonText ctermbg=NONE cterm=NONE guifg=#64666d guibg=NONE gui=NONE 121 | 122 | " invisibles 123 | hi SpecialKey ctermbg=NONE cterm=NONE guifg=#64666d guibg=NONE gui=NONE 124 | 125 | --------------------------------------------------------------------------------