Skip to content

Commit 1babacf

Browse files
committed
first commit
0 parents  commit 1babacf

File tree

8 files changed

+282
-0
lines changed

8 files changed

+282
-0
lines changed

.editorconfig

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# http://editorconfig.org/
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
end_of_line = lf
7+
indent_size = 2
8+
indent_style = space
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
12+
[{**/{actual,fixtures,expected,templates}/**,*.md}]
13+
trim_trailing_whitespace = false
14+
insert_final_newline = false

.eslintrc.json

+130
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
{
2+
"extends": [
3+
"eslint:recommended"
4+
],
5+
6+
"env": {
7+
"browser": false,
8+
"es6": true,
9+
"node": true,
10+
"mocha": true
11+
},
12+
13+
"parserOptions":{
14+
"ecmaVersion": 9,
15+
"sourceType": "module",
16+
"ecmaFeatures": {
17+
"modules": true,
18+
"experimentalObjectRestSpread": true
19+
}
20+
},
21+
22+
"globals": {
23+
"document": false,
24+
"navigator": false,
25+
"window": false
26+
},
27+
28+
"rules": {
29+
"accessor-pairs": 2,
30+
"arrow-spacing": [2, { "before": true, "after": true }],
31+
"block-spacing": [2, "always"],
32+
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
33+
"comma-dangle": [2, "never"],
34+
"comma-spacing": [2, { "before": false, "after": true }],
35+
"comma-style": [2, "last"],
36+
"constructor-super": 2,
37+
"curly": [2, "multi-line"],
38+
"dot-location": [2, "property"],
39+
"eol-last": 2,
40+
"eqeqeq": [2, "allow-null"],
41+
"generator-star-spacing": [2, { "before": true, "after": true }],
42+
"handle-callback-err": [2, "^(err|error)$" ],
43+
"indent": [2, 2, { "SwitchCase": 1 }],
44+
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
45+
"keyword-spacing": [2, { "before": true, "after": true }],
46+
"new-cap": [2, { "newIsCap": true, "capIsNew": false }],
47+
"new-parens": 2,
48+
"no-array-constructor": 2,
49+
"no-caller": 2,
50+
"no-class-assign": 2,
51+
"no-cond-assign": 2,
52+
"no-const-assign": 2,
53+
"no-control-regex": 2,
54+
"no-debugger": 2,
55+
"no-delete-var": 2,
56+
"no-dupe-args": 2,
57+
"no-dupe-class-members": 2,
58+
"no-dupe-keys": 2,
59+
"no-duplicate-case": 2,
60+
"no-empty-character-class": 2,
61+
"no-eval": 2,
62+
"no-ex-assign": 2,
63+
"no-extend-native": 2,
64+
"no-extra-bind": 2,
65+
"no-extra-boolean-cast": 2,
66+
"no-extra-parens": [2, "functions"],
67+
"no-fallthrough": 2,
68+
"no-floating-decimal": 2,
69+
"no-func-assign": 2,
70+
"no-implied-eval": 2,
71+
"no-inner-declarations": [2, "functions"],
72+
"no-invalid-regexp": 2,
73+
"no-irregular-whitespace": 2,
74+
"no-iterator": 2,
75+
"no-label-var": 2,
76+
"no-labels": 2,
77+
"no-lone-blocks": 2,
78+
"no-mixed-spaces-and-tabs": 2,
79+
"no-multi-spaces": 2,
80+
"no-multi-str": 2,
81+
"no-multiple-empty-lines": [2, { "max": 1 }],
82+
"no-native-reassign": 0,
83+
"no-negated-in-lhs": 2,
84+
"no-new": 2,
85+
"no-new-func": 2,
86+
"no-new-object": 2,
87+
"no-new-require": 2,
88+
"no-new-wrappers": 2,
89+
"no-obj-calls": 2,
90+
"no-octal": 2,
91+
"no-octal-escape": 2,
92+
"no-proto": 0,
93+
"no-redeclare": 2,
94+
"no-regex-spaces": 2,
95+
"no-return-assign": 2,
96+
"no-self-compare": 2,
97+
"no-sequences": 2,
98+
"no-shadow-restricted-names": 2,
99+
"no-spaced-func": 2,
100+
"no-sparse-arrays": 2,
101+
"no-this-before-super": 2,
102+
"no-throw-literal": 2,
103+
"no-trailing-spaces": 0,
104+
"no-undef": 2,
105+
"no-undef-init": 2,
106+
"no-unexpected-multiline": 2,
107+
"no-unneeded-ternary": [2, { "defaultAssignment": false }],
108+
"no-unreachable": 2,
109+
"no-unused-vars": [2, { "vars": "all", "args": "none" }],
110+
"no-useless-call": 0,
111+
"no-with": 2,
112+
"one-var": [0, { "initialized": "never" }],
113+
"operator-linebreak": [0, "after", { "overrides": { "?": "before", ":": "before" } }],
114+
"padded-blocks": [0, "never"],
115+
"quotes": [2, "single", "avoid-escape"],
116+
"radix": 2,
117+
"semi": [2, "always"],
118+
"semi-spacing": [2, { "before": false, "after": true }],
119+
"space-before-blocks": [2, "always"],
120+
"space-before-function-paren": [2, "never"],
121+
"space-in-parens": [2, "never"],
122+
"space-infix-ops": 2,
123+
"space-unary-ops": [2, { "words": true, "nonwords": false }],
124+
"spaced-comment": [0, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!", ","] }],
125+
"use-isnan": 2,
126+
"valid-typeof": 2,
127+
"wrap-iife": [2, "any"],
128+
"yoda": [2, "never"]
129+
}
130+
}

.gitignore

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# always ignore files
2+
*.DS_Store
3+
.idea
4+
.vscode
5+
*.sublime-*
6+
7+
# test related, or directories generated by tests
8+
test/actual
9+
actual
10+
coverage
11+
.nyc*
12+
13+
# npm
14+
node_modules
15+
npm-debug.log
16+
17+
# yarn
18+
yarn.lock
19+
yarn-error.log
20+
21+
# misc
22+
_gh_pages
23+
_draft
24+
_drafts
25+
bower_components
26+
vendor
27+
temp
28+
tmp
29+
TODO.md
30+
package-lock.json

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2018, Jon Schlinkert.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<h1 align="center">Hyper Monokai Extended - Theme</h1>
2+
3+
<p align="center">
4+
<b>Enhanced monokai theme for <a href="https://hyper.is">Hyper</a>.</b>
5+
</p>
6+
7+
<p align="center">
8+
<img src="https://github.com/jonschlinkert/hyper-monokai-extended/raw/master/example.gif" alt="Enquirer Survey Prompt" width="750"><br>
9+
<sub><a href="https://github.com/enquirer/enquirer">Enquirer</a> Survey Prompt, using Hyper Monokai Extended</sub>
10+
</p>
11+
12+
## ❯ Usage
13+
14+
### Install
15+
16+
```sh
17+
$ hyper install hyper-monokai-extended
18+
```
19+
20+
### Reload
21+
22+
Reload hyper: <kbd>View</kbd> > <kbd>Reload</kbd>.
23+
24+
25+
## License
26+
27+
Copyright © 2018, [Jon Schlinkert](https://github.com/jonschlinkert).
28+
Released under the [MIT License](LICENSE).

example.gif

264 KB
Loading

index.js

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
'use strict';
2+
3+
const colors = {
4+
black: '#222222',
5+
red: '#ec3533',
6+
green: '#a2e12e',
7+
yellow: '#fd9620',
8+
blue: '#be84ff',
9+
magenta: '#ff6ac1',
10+
cyan: '#65d9ef',
11+
white: '#ffffff',
12+
lightBlack: '#49483E',
13+
lightRed: '#F92672',
14+
lightGreen: '#A6E22E',
15+
lightYellow: '#d0d172',
16+
lightBlue: '#AE81FF',
17+
lightMagenta: '#ff6ac1',
18+
lightCyan: '#38CCD1',
19+
lightWhite: '#ffffff',
20+
colorCubes: '#ffffff',
21+
grayscale: '#F8F8F0'
22+
};
23+
24+
const backgroundColor = colors.black;
25+
const foregroundColor = colors.grayscale;
26+
const tabActiveBackground = '#424242';
27+
28+
exports.decorateConfig = config => Object.assign({}, config, {
29+
backgroundColor,
30+
foregroundColor,
31+
borderColor: '#222430',
32+
cursorColor: '#97979b',
33+
colors: colors
34+
});

package.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "hyper-monokai-extended",
3+
"description": "Enhanced monokai theme for the hyper terminal.",
4+
"version": "1.0.0",
5+
"homepage": "https://github.com/jonschlinkert/hyper-monokai-extended",
6+
"repository": "jonschlinkert/hyper-monokai-extended",
7+
"bugs": {
8+
"url": "https://github.com/jonschlinkert/hyper-monokai-extended/issues"
9+
},
10+
"license": "MIT",
11+
"files": ["index.js"],
12+
"main": "index.js",
13+
"keywords": [
14+
"extended",
15+
"hyper",
16+
"hyper.app",
17+
"hyper-theme",
18+
"hyper-monokai",
19+
"theme",
20+
"monokai-theme",
21+
"hyperterm",
22+
"terminal",
23+
"monokai"
24+
]
25+
}

0 commit comments

Comments
 (0)