Skip to content

Commit 5e859d1

Browse files
committed
#5, #9, #13, #14 - Update color palette, dracula theme full reload, hyper and vim and bash prompt
1 parent 0df001c commit 5e859d1

File tree

7 files changed

+71
-57
lines changed

7 files changed

+71
-57
lines changed

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false
14+
15+
[*.txt]
16+
trim_trailing_whitespace = false

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

.prettierrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"singleQuote": true
3+
}

INSTALL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
Add `hyper-dracula` to the plugins list in your `~/.hyper.js` config file.
1010

1111
plugins: [
12-
"hyper-dracula"
12+
'hyper-dracula'
1313
]
1414

1515
#### Activating theme
1616

1717
1. Start Hyper
18-
2. Go to `View -> Full Reload`
18+
2. Go to `View -> Full Reload` or pressing `Cmd + Shft + R`

index.js

Lines changed: 32 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,47 @@
1-
'use strict'
1+
'use strict';
22

3-
const foregroundColor = '#f8f8f2'
4-
const backgroundColor = '#282a36'
5-
const black = '#44475a'
6-
const red = '#ff5555'
7-
const green = '#50fa7b'
8-
const yellow = '#f1fa8c'
9-
const blue = '#c0a8fa'
10-
const magenta = '#ff79c6'
11-
const cyan = '#8be9fd'
12-
const gray = '#666666'
13-
const brightBlack = '#999999'
14-
const brightWhite = '#ffffff'
3+
const backgroundColor = '#282a36';
4+
const foregroundColor = '#f8f8f2';
5+
const borderColor = '#44475a';
6+
const cursorColor = 'f8f8f2';
7+
const colors = {
8+
black: '#000000',
9+
red: '#ff5555',
10+
green: '#50fa7b',
11+
yellow: '#f1fa8c',
12+
blue: '#bd93f9',
13+
magenta: '#ff79c6',
14+
cyan: '#8be9fd',
15+
white: 'bfbfbf',
16+
lightBlack: '#4d4d4d',
17+
lightRed: '#ff6e67',
18+
lightGreen: '#5af78e',
19+
lightYellow: '#f4f99d',
20+
lightBlue: '#caa9fa',
21+
lightMagenta: '#ff92d0',
22+
lightCyan: '#9aedfe',
23+
lightWhite: '#e6e6e6'
24+
};
1525

1626
exports.decorateConfig = config => {
1727
return Object.assign({}, config, {
1828
backgroundColor,
1929
foregroundColor,
20-
borderColor: black,
21-
cursorColor: brightBlack,
22-
colors: {
23-
black,
24-
red,
25-
green,
26-
yellow,
27-
blue,
28-
magenta,
29-
cyan,
30-
gray,
31-
32-
// bright
33-
brightBlack,
34-
red,
35-
green,
36-
yellow,
37-
blue,
38-
magenta,
39-
cyan,
40-
brightWhite
41-
},
30+
borderColor,
31+
cursorColor,
32+
colors,
33+
termCSS: `
34+
${config.termCSS || ''}
35+
`,
4236
css: `
4337
${config.css || ''}
4438
.tabs_list .tab_tab.tab_active .tab_text {
4539
background: ${backgroundColor};
4640
}
4741
4842
.tab_active:before {
49-
border-color: rgb(68, 71, 90);
43+
border-color: ${borderColor};
5044
}
5145
`
52-
})
53-
}
46+
});
47+
};

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"name": "hyper-dracula",
3-
"version": "0.1.8",
3+
"version": "0.1.9",
4+
"main": "index.js",
5+
"homepage": "https://draculatheme.com/hyper",
46
"description": "A dark theme for Hyper",
5-
"license": "MIT",
6-
"repository": "dracula/hyper",
7-
"author": {
8-
"name": "Dang Van Thanh",
9-
"email": "[email protected]",
10-
"url": "http://dangthanh.org"
7+
"repository": {
8+
"type": "git",
9+
"url": "https://github.com/dracula/hyper.git"
1110
},
12-
"files": [
13-
"index.js"
14-
],
1511
"keywords": [
16-
"dracula-theme",
12+
"hyperterm",
1713
"hyper",
18-
"hyper-theme",
19-
"hyper-dracula"
20-
]
14+
"hyper.app",
15+
"hyper dracula",
16+
"hyper theme",
17+
"dracula-theme"
18+
],
19+
"author": "Dang Van Thanh <[email protected]>",
20+
"license": "MIT"
2121
}

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ The screenshot shown is a combination of the following additional software:
2222

2323
This theme is maintained by the following person(s) and a bunch of [awesome contributors](https://github.com/dracula/hyper/graphs/contributors).
2424

25-
[![Dang Van Thanh](https://avatars2.githubusercontent.com/u/2674850?v=3&s=70)](https://github.com/dangvanthanh) |
26-
--- |
27-
Dang Van Thanh |
25+
[![Dang Van Thanh](https://avatars2.githubusercontent.com/u/2674850?v=4&s=70)](https://github.com/dangvanthanh) | [![Zeno Rocha](https://avatars1.githubusercontent.com/u/398893?v=4&s=70)](https://github.com/zenorocha) | [![Haeseong Je](https://avatars3.githubusercontent.com/u/14370645?v=4&s=70)](https://github.com/HaeTheong) | [![Beau Allison](https://avatars1.githubusercontent.com/u/14225594?v=4&s=70)](https://github.com/beauallison) | [![Brandonptucker](https://avatars2.githubusercontent.com/u/1033893?v=4&s=70)](https://github.com/brandonptucker) |
26+
--- | --- | --- | --- | --- |
27+
Dang Van Thanh | Zeno Rocha | Haeseong Je | Beau Allison | Brandonptucker |
2828

2929
## License
3030

0 commit comments

Comments
 (0)