Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const noise2Png = require('./noise2');
const noise3Png = require('./noise3');
const HUE_SHIFT_INTENSITY = 4;
const BRIGHT_GREEN = '#28FC91';
const DARK_GREEN = '#0F2218';
const DARK_GREEN = 'transparent';
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thedonquixotic Exciting that this is your first PR! :)
Could you update it to avoid changing the value of DARK_GREEN? Instead, wherever we use DARK_GREEN, replace it with transparent.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For instance on line 12 and 68 we should use transparent instead

const TEXT_GREEN = '51, 255, 0';

exports.decorateConfig = (config) => {
Expand Down Expand Up @@ -41,10 +41,19 @@ exports.decorateHyper = (HyperTerm, { React, notify }) => {
const textShadow = generateTextShadow();

const overridenProps = {
backgroundColor: 'black',
backgroundColor: 'transparent',
customCSS: `
${this.props.customCSS || ''}
body {
.hyper_main {
${noiseCss}
}
.term_fit {
${noiseCss}
}
.term_wrapper {
${noiseCss}
}
.xterm_screen {
${noiseCss}
}
.tabs_nav {
Expand Down