├── package.json ├── README.md ├── LICENSE.txt └── index.js /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hyper-iceberg", 3 | "version": "0.2.0", 4 | "keywords": ["hyper", "theme", "iceberg"], 5 | "description": "Dark blue color theme for Hyper", 6 | "author": "cocopon", 7 | "license": "MIT" 8 | } 9 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Iceberg for Hyper [![npm version](https://badge.fury.io/js/hyper-iceberg.svg)](https://badge.fury.io/js/hyper-iceberg) 2 | [Iceberg][], the dark blue color theme originally for Vim, for [Hyper][]. 3 | 4 | ![tig](https://user-images.githubusercontent.com/602961/38098998-66e4559c-33b4-11e8-89cb-850e6aaa5c77.png) 5 | ![ansi-16-colors](https://user-images.githubusercontent.com/602961/38098997-66b75c18-33b4-11e8-9db4-366d3d6081d3.png) 6 | 7 | 8 | # How to use 9 | Add `hyper-iceberg` to `plugins` in `~/.hyper.js`. 10 | 11 | 12 | # Special thanks 13 | The [first version][] of the porting from Vim to Hyper was created by [Lukas Eigner]. Thank you for the great work! 14 | 15 | 16 | [Iceberg]:https://cocopon.github.io/iceberg.vim/ 17 | [Hyper]:https://hyper.is/ 18 | [first version]:https://github.com/1se/hyper-iceberg 19 | [Lukas Eigner]:https://github.com/1se/ 20 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014 cocopon 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 all 11 | 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 THE 19 | SOFTWARE. 20 | 21 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | exports.decorateConfig = (config) => { 2 | return Object.assign({}, config, { 3 | backgroundColor: '#161821', 4 | borderColor: '#272c42', 5 | colors: { 6 | black: '#1e2132', 7 | red: '#e27878', 8 | green: '#b4be82', 9 | yellow: '#e2a478', 10 | blue: '#84a0c6', 11 | magenta: '#a093c7', 12 | cyan: '#89b8c2', 13 | white: '#c6c8d1', 14 | lightBlack: '#6b7089', 15 | lightRed: '#e98989', 16 | lightGreen: '#c0ca8e', 17 | lightYellow: '#e9b189', 18 | lightBlue: '#91acd1', 19 | lightMagenta: '#ada0d3', 20 | lightCyan: '#95c4ce', 21 | lightWhite: '#d2d4de', 22 | }, 23 | css: ` 24 | ${config.css || ''} 25 | .tab_tab { 26 | transition: background-color 0.2s ease-out; 27 | } 28 | .tab_tab:hover { 29 | background-color: #1e2132; 30 | } 31 | .tab_icon { 32 | color: #6b7089; 33 | transition: background-color 0.2s ease-out, color 0.2s ease-out; 34 | } 35 | .tab_icon:hover { 36 | background-color: rgba(198, 200, 209, 0.2); 37 | color: #c6c8d1; 38 | } 39 | .tab_text { 40 | color: #6b7089; 41 | } 42 | `, 43 | cursorColor: '#c6c8d1', 44 | foregroundColor: '#c6c8d1', 45 | }); 46 | } 47 | --------------------------------------------------------------------------------