Skip to content

Commit

Permalink
#5, #9, #13, #14 - Update color palette, dracula theme full reload, h…
Browse files Browse the repository at this point in the history
…yper and vim and bash prompt
  • Loading branch information
dangvanthanh committed Mar 24, 2020
1 parent 0df001c commit 5e859d1
Show file tree
Hide file tree
Showing 7 changed files with 71 additions and 57 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

[*.txt]
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"singleQuote": true
}
4 changes: 2 additions & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
Add `hyper-dracula` to the plugins list in your `~/.hyper.js` config file.

plugins: [
"hyper-dracula"
'hyper-dracula'
]

#### Activating theme

1. Start Hyper
2. Go to `View -> Full Reload`
2. Go to `View -> Full Reload` or pressing `Cmd + Shft + R`
70 changes: 32 additions & 38 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,53 +1,47 @@
'use strict'
'use strict';

const foregroundColor = '#f8f8f2'
const backgroundColor = '#282a36'
const black = '#44475a'
const red = '#ff5555'
const green = '#50fa7b'
const yellow = '#f1fa8c'
const blue = '#c0a8fa'
const magenta = '#ff79c6'
const cyan = '#8be9fd'
const gray = '#666666'
const brightBlack = '#999999'
const brightWhite = '#ffffff'
const backgroundColor = '#282a36';
const foregroundColor = '#f8f8f2';
const borderColor = '#44475a';
const cursorColor = 'f8f8f2';
const colors = {
black: '#000000',
red: '#ff5555',
green: '#50fa7b',
yellow: '#f1fa8c',
blue: '#bd93f9',
magenta: '#ff79c6',
cyan: '#8be9fd',
white: 'bfbfbf',
lightBlack: '#4d4d4d',
lightRed: '#ff6e67',
lightGreen: '#5af78e',
lightYellow: '#f4f99d',
lightBlue: '#caa9fa',
lightMagenta: '#ff92d0',
lightCyan: '#9aedfe',
lightWhite: '#e6e6e6'
};

exports.decorateConfig = config => {
return Object.assign({}, config, {
backgroundColor,
foregroundColor,
borderColor: black,
cursorColor: brightBlack,
colors: {
black,
red,
green,
yellow,
blue,
magenta,
cyan,
gray,

// bright
brightBlack,
red,
green,
yellow,
blue,
magenta,
cyan,
brightWhite
},
borderColor,
cursorColor,
colors,
termCSS: `
${config.termCSS || ''}
`,
css: `
${config.css || ''}
.tabs_list .tab_tab.tab_active .tab_text {
background: ${backgroundColor};
}
.tab_active:before {
border-color: rgb(68, 71, 90);
border-color: ${borderColor};
}
`
})
}
});
};
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"name": "hyper-dracula",
"version": "0.1.8",
"version": "0.1.9",
"main": "index.js",
"homepage": "https://draculatheme.com/hyper",
"description": "A dark theme for Hyper",
"license": "MIT",
"repository": "dracula/hyper",
"author": {
"name": "Dang Van Thanh",
"email": "[email protected]",
"url": "http://dangthanh.org"
"repository": {
"type": "git",
"url": "https://github.com/dracula/hyper.git"
},
"files": [
"index.js"
],
"keywords": [
"dracula-theme",
"hyperterm",
"hyper",
"hyper-theme",
"hyper-dracula"
]
"hyper.app",
"hyper dracula",
"hyper theme",
"dracula-theme"
],
"author": "Dang Van Thanh <[email protected]>",
"license": "MIT"
}
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ The screenshot shown is a combination of the following additional software:

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

[![Dang Van Thanh](https://avatars2.githubusercontent.com/u/2674850?v=3&s=70)](https://github.com/dangvanthanh) |
--- |
Dang Van Thanh |
[![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) |
--- | --- | --- | --- | --- |
Dang Van Thanh | Zeno Rocha | Haeseong Je | Beau Allison | Brandonptucker |

## License

Expand Down

0 comments on commit 5e859d1

Please sign in to comment.