├── .eslintcache
├── .eslintignore
├── .gitignore
├── .travis.yml
├── README.md
├── index.js
├── license
├── other
├── CODE_OF_CONDUCT.md
├── MAINTAINERS.md
├── owl.png
└── terminal.png
├── package-lock.json
└── package.json
/.eslintcache:
--------------------------------------------------------------------------------
1 | {"/Users/matt.parrish/code/hyper-night-owl/index.js":{"size":4378,"mtime":1526762753530,"hashOfConfig":"1osjhwg","results":{"filePath":"/Users/matt.parrish/code/hyper-night-owl/index.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0}}}
--------------------------------------------------------------------------------
/.eslintignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pbomb/hyper-night-owl/268ea4ad1e511f600648b3eb1e67c0b1b40a3f8d/.eslintignore
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .DS_Store
3 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | sudo: false
2 | language: node_js
3 | cache:
4 | directories:
5 | - ~/.npm
6 | notifications:
7 | email: false
8 | node_js: '8'
9 | install: npm install
10 | script: npm run validate
11 | after_success: kcd-scripts travis-after-success
12 | branches:
13 | only: master
14 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
hyper-night-owl
3 |
4 |
5 |
6 |
7 |
8 |
9 | hyper-night-owl is a beautiful theme for the Hyper terminal based on the [Night Owl VS Code dark theme](https://github.com/sdras/night-owl-vscode-theme), which is optimized for working at night, accessibility, and colorblindness.
10 |
11 | This code for this theme is based on the [Verminal Hyper terminal theme](https://github.com/defringe/verminal).
12 |
13 |
14 |

15 |
16 |
17 |
18 | ## INTRODUCTION
19 |
20 | [![version][version-badge]][package]
21 | [![downloads][downloads-badge]][npmtrends]
22 | [![MIT License][license-badge]][license]
23 |
24 | [![PRs Welcome][prs-badge]][prs]
25 | [![Code of Conduct][coc-badge]][coc]
26 |
27 | ## 🛠 Install
28 |
29 | Installing the hyper-night-owl theme for your Hyper terminal couldn't be easier.
30 |
31 | ###### Hyper's built-in CLI (hyper)
32 |
33 | 1. `hyper i hyper-night-owl`
34 | 1. Enjoy hyper-night-owl.
35 |
36 | ###### Manually
37 |
38 | 1. Open `~/.hyper.js` in your favorite editor.
39 | 1. Add `hyper-night-owl` to the `plugins` array.
40 | 1. Enjoy hyper-night-owl.
41 |
42 | ## ⚙️ Configure
43 |
44 | By default, hyper-night-owl aims to deliver a beautiful experience out of the box. By default, it does not supply a transparent background, however, if you'd like to have this, I recommend installing and configuring the [hyper-opacity](https://hyper.is/plugins/hyper-opacity) plugin.
45 |
46 | ## ⚡️ Contribute
47 |
48 | If you would like to help improve this themes, you're more than welcome to contribute.
49 |
50 | 1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account.
51 | 2. [Clone](https://help.github.com/articles/cloning-a-repository/) to your local device: `git clone git@github.com:/hyper-night-owl.git`
52 | 3. Run the setup script: `npm run setup`
53 |
54 | [license-badge]: https://img.shields.io/npm/l/hyper-night-owl.svg?style=flat-square
55 | [license]: https://github.com/pbomb/hyper-night-owl/blob/master/LICENSE
56 | [version-badge]: https://img.shields.io/npm/v/hyper-night-owl.svg?style=flat-square
57 | [package]: https://www.npmjs.com/package/hyper-night-owl
58 | [downloads-badge]: https://img.shields.io/npm/dw/hyper-night-owl.svg?style=flat-square
59 | [npmtrends]: http://www.npmtrends.com/hyper-night-owl
60 | [prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
61 | [prs]: http://makeapullrequest.com
62 | [coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square
63 | [coc]: https://github.com/pbomb/hyper-night-owl/blob/master/other/CODE_OF_CONDUCT.md
64 |
--------------------------------------------------------------------------------
/index.js:
--------------------------------------------------------------------------------
1 | const overlap = "rgba(0, 0, 0, .15)";
2 |
3 | exports.decorateConfig = config =>
4 | Object.assign({}, config, {
5 | backgroundColor: "#011627",
6 | foregroundColor: "#d6deeb",
7 | borderColor: "rgba(126, 87, 194, 0.3)",
8 | cursorColor: "#7e57c2",
9 | cursorAccentColor: "#ffffff",
10 | selectionColor: "rgba(248, 28, 229, 0.3)",
11 | colors: {
12 | black: "#011627",
13 | red: "#EF5350",
14 | green: "#22da6e",
15 | yellow: "#addb67",
16 | blue: "#82aaff",
17 | magenta: "#c792ea",
18 | cyan: "#21c7a8",
19 | white: "#ffffff",
20 | lightBlack: "#575656",
21 | lightRed: "#ef5350",
22 | lightGreen: "#22da6e",
23 | lightYellow: "#ffeb95",
24 | lightBlue: "#82aaff",
25 | lightMagenta: "#c792ea",
26 | lightCyan: "#7fdbca",
27 | lightWhite: "#ffffff"
28 | },
29 | css: `
30 | ${config.css}
31 | .hyper_main {
32 | border: none !important;
33 | }
34 | .header_header {
35 | background-color: ${overlap} !important;
36 | }
37 | .tabs_borderShim {
38 | border-color: transparent !important;
39 | }
40 | .tab_tab {
41 | border: 0;
42 | background-color: #010e1a;
43 | color: #5f7e97;
44 | }
45 | .tab_tab::before {
46 | background-color: #272B3B;
47 | }
48 | .tab_active {
49 | background-color: #0b2942;
50 | color: #d2dee7;
51 | }
52 | .tab_active::before {
53 | background-color: #262A39;
54 | }
55 | .tab_text {
56 | background-color: #010e1a;
57 | color: #5f7e97;
58 | }
59 | .tab_textActive {
60 | background-color: #0b2942;
61 | color: #d2dee7;
62 | }
63 | .hyper-search-wrapper {
64 | border: 0 !important;
65 | padding: 0 !important;
66 | background-color: transparent !important;
67 | display: flex;
68 | opacity: 0.8 !important;
69 | }
70 | .hyper-search-wrapper button {
71 | top: 0 !important;
72 | opacity: 0.8 !important;
73 | padding: 0 6px;
74 | cursor: pointer;
75 | }
76 | .hyper-search-wrapper button:hover {
77 | opacity: 1.0 !important;
78 | }
79 | .hyper-search-wrapper button:nth-of-type(1) {
80 | border-radius: 4px 0 0 4px !important;
81 | border-right: 1px solid #575656 !important;
82 | }
83 | .hyper-search-wrapper button:nth-of-type(2) {
84 | border-radius: 0 4px 4px 0 !important;
85 | }
86 | .hyper-search-wrapper:before {
87 | width: 20px;
88 | color: #000;
89 | position: absolute;
90 | content: "🔍";
91 | font-size: 10px;
92 | margin: 7px;
93 | z-index: 999;
94 | }
95 | #hyper-search-input {
96 | background-color: #ffffff !important;
97 | border-radius: 4px;
98 | box-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
99 | padding: 3px 6px 3px 24px !important;
100 | color: #011627 !important;
101 | opacity: 0.9 !important;
102 | margin-right: 2px;
103 | }
104 | #hyper-search-input:focus {
105 | opacity: 1.0 !important;
106 | box-shadow: 0 1px 10px rgba(0, 0, 0, 1.0);
107 | }
108 | `
109 | });
110 |
--------------------------------------------------------------------------------
/license:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) Matt Parrish
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6 |
7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8 |
9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10 |
--------------------------------------------------------------------------------
/other/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Contributor Covenant Code of Conduct
2 |
3 | ## Our Pledge
4 |
5 | In the interest of fostering an open and welcoming environment, we as
6 | contributors and maintainers pledge to making participation in our project and
7 | our community a harassment-free experience for everyone, regardless of age, body
8 | size, disability, ethnicity, gender identity and expression, level of experience,
9 | nationality, personal appearance, race, religion, or sexual identity and
10 | orientation.
11 |
12 | ## Our Standards
13 |
14 | Examples of behavior that contributes to creating a positive environment
15 | include:
16 |
17 | * Using welcoming and inclusive language
18 | * Being respectful of differing viewpoints and experiences
19 | * Gracefully accepting constructive criticism
20 | * Focusing on what is best for the community
21 | * Showing empathy towards other community members
22 |
23 | Examples of unacceptable behavior by participants include:
24 |
25 | * The use of sexualized language or imagery and unwelcome sexual attention or
26 | advances
27 | * Trolling, insulting/derogatory comments, and personal or political attacks
28 | * Public or private harassment
29 | * Publishing others' private information, such as a physical or electronic
30 | address, without explicit permission
31 | * Other conduct which could reasonably be considered inappropriate in a
32 | professional setting
33 |
34 | ## Our Responsibilities
35 |
36 | Project maintainers are responsible for clarifying the standards of acceptable
37 | behavior and are expected to take appropriate and fair corrective action in
38 | response to any instances of unacceptable behavior.
39 |
40 | Project maintainers have the right and responsibility to remove, edit, or
41 | reject comments, commits, code, wiki edits, issues, and other contributions
42 | that are not aligned to this Code of Conduct, or to ban temporarily or
43 | permanently any contributor for other behaviors that they deem inappropriate,
44 | threatening, offensive, or harmful.
45 |
46 | ## Scope
47 |
48 | This Code of Conduct applies both within project spaces and in public spaces
49 | when an individual is representing the project or its community. Examples of
50 | representing a project or community include using an official project e-mail
51 | address, posting via an official social media account, or acting as an appointed
52 | representative at an online or offline event. Representation of a project may be
53 | further defined and clarified by project maintainers.
54 |
55 | ## Enforcement
56 |
57 | Instances of abusive, harassing, or otherwise unacceptable behavior may be
58 | reported by contacting the project team at kent+coc@doddsfamily.us. All
59 | complaints will be reviewed and investigated and will result in a response that
60 | is deemed necessary and appropriate to the circumstances. The project team is
61 | obligated to maintain confidentiality with regard to the reporter of an incident.
62 | Further details of specific enforcement policies may be posted separately.
63 |
64 | Project maintainers who do not follow or enforce the Code of Conduct in good
65 | faith may face temporary or permanent repercussions as determined by other
66 | members of the project's leadership.
67 |
68 | ## Attribution
69 |
70 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71 | available at [http://contributor-covenant.org/version/1/4][version]
72 |
73 | [homepage]: http://contributor-covenant.org
74 | [version]: http://contributor-covenant.org/version/1/4/
75 |
--------------------------------------------------------------------------------
/other/MAINTAINERS.md:
--------------------------------------------------------------------------------
1 | # Maintaining
2 |
3 | This is documentation for maintainers of this project.
4 |
5 | ## Code of Conduct
6 |
7 | Please review, understand, and be an example of it. Violations of the code of conduct are
8 | taken seriously, even (especially) for maintainers.
9 |
10 | ## Issues
11 |
12 | We want to support and build the community. We do that best by helping people learn to solve
13 | their own problems. We have an issue template and hopefully most folks follow it. If it's
14 | not clear what the issue is, invite them to create a minimal reproduction of what they're trying
15 | to accomplish or the bug they think they've found.
16 |
17 | Once it's determined that a code change is necessary, point people to
18 | [makeapullrequest.com](http://makeapullrequest.com) and invite them to make a pull request.
19 | If they're the one who needs the feature, they're the one who can build it. If they need
20 | some hand holding and you have time to lend a hand, please do so. It's an investment into
21 | another human being, and an investment into a potential maintainer.
22 |
23 | Remember that this is open source, so the code is not yours, it's ours. If someone needs a change
24 | in the codebase, you don't have to make it happen yourself. Commit as much time to the project
25 | as you want/need to. Nobody can ask any more of you than that.
26 |
27 | ## Pull Requests
28 |
29 | As a maintainer, you're fine to make your branches on the main repo or on your own fork. Either
30 | way is fine.
31 |
32 | When we receive a pull request, a travis build is kicked off automatically (see the `.travis.yml`
33 | for what runs in the travis build). We avoid merging anything that breaks the travis build.
34 |
35 | Please review PRs and focus on the code rather than the individual. You never know when this is
36 | someone's first ever PR and we want their experience to be as positive as possible, so be
37 | uplifting and constructive.
38 |
39 | When you merge the pull request, 99% of the time you should use the
40 | [Squash and merge](https://help.github.com/articles/merging-a-pull-request/) feature. This keeps
41 | our git history clean, but more importantly, this allows us to make any necessary changes to the
42 | commit message so we release what we want to release. See the next section on Releases for more
43 | about that.
44 |
45 | ## Release
46 |
47 | Our releases are automatic. They happen whenever code lands into `master`. A travis build gets
48 | kicked off and if it's successful, a tool called
49 | [`semantic-release`](https://github.com/semantic-release/semantic-release) is used to
50 | automatically publish a new release to npm as well as a changelog to GitHub. It is only able to
51 | determine the version and whether a release is necessary by the git commit messages. With this
52 | in mind, **please brush up on [the commit message convention][commit] which drives our releases.**
53 |
54 | > One important note about this: Please make sure that commit messages do NOT contain the words
55 | > "BREAKING CHANGE" in them unless we want to push a major version. I've been burned by this
56 | > more than once where someone will include "BREAKING CHANGE: None" and it will end up releasing
57 | > a new major version. Not a huge deal honestly, but kind of annoying...
58 |
59 | ## Thanks!
60 |
61 | Thank you so much for helping to maintain this project!
62 |
63 | [commit]: https://github.com/conventional-changelog-archived-repos/conventional-changelog-angular/blob/ed32559941719a130bb0327f886d6a32a8cbc2ba/convention.md
64 |
--------------------------------------------------------------------------------
/other/owl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pbomb/hyper-night-owl/268ea4ad1e511f600648b3eb1e67c0b1b40a3f8d/other/owl.png
--------------------------------------------------------------------------------
/other/terminal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pbomb/hyper-night-owl/268ea4ad1e511f600648b3eb1e67c0b1b40a3f8d/other/terminal.png
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "hyper-night-owl",
3 | "version": "0.0.0-semantically-released",
4 | "description": "A Hyper theme based on night-owl-vscode-theme.",
5 | "author": "Matt Parrish (http://twitter.com/mattparrish)",
6 | "license": "MIT",
7 | "repository": {
8 | "type": "git",
9 | "url": "https://github.com/pbomb/hyper-night-owl.git"
10 | },
11 | "bugs": {
12 | "url": "https://github.com/pbomb/hyper-night-owl/issues"
13 | },
14 | "homepage": "https://github.com/pbomb/hyper-night-owl#readme",
15 | "files": [
16 | "index.js"
17 | ],
18 | "keywords": [
19 | "hyper",
20 | "hyper-theme",
21 | "hyperterm",
22 | "theme",
23 | "ui",
24 | "terminal",
25 | "vibrancy",
26 | "zeit",
27 | "pbomb"
28 | ],
29 | "scripts": {
30 | "add-contributor": "kcd-scripts contributors add",
31 | "lint": "kcd-scripts lint",
32 | "precommit": "kcd-scripts precommit",
33 | "setup": "npm install && npm run validate -s",
34 | "test": "echo There are no tests!",
35 | "validate": "kcd-scripts validate lint"
36 | },
37 | "devDependencies": {
38 | "kcd-scripts": "^0.38.1"
39 | }
40 | }
41 |
--------------------------------------------------------------------------------