From 1e5e3576cddcdb8f22cbd4f9873ba4a26486b3b3 Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Fri, 8 Jul 2016 14:27:41 -0700 Subject: [PATCH] implement custom CSS from config --- app/hyperterm.js | 6 ++++-- app/term.js | 21 +++++++++++++++------ 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/app/hyperterm.js b/app/hyperterm.js index 9335e804..b6eae3bf 100644 --- a/app/hyperterm.js +++ b/app/hyperterm.js @@ -74,7 +74,7 @@ export default class HyperTerm extends Component { } render () { - const { backgroundColor, borderColor } = this.props.config; + const { backgroundColor, borderColor, css } = this.props.config; return
@@ -98,12 +98,13 @@ export default class HyperTerm extends Component { this.state.sessions.map((uid, i) => { const active = i === this.state.active; const { config } = this.props; - return
+ return
Restart to apply [x]
+