From ff2419c54b6ace5da53c078214632b2c12c54d6f Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Thu, 7 Jul 2016 20:37:58 -0700 Subject: [PATCH] border color configuration support --- app/hyperterm.js | 5 +++-- app/tabs.js | 10 +++++++--- config-default.js | 5 ++++- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/app/hyperterm.js b/app/hyperterm.js index b750f92c..bce4dfb6 100644 --- a/app/hyperterm.js +++ b/app/hyperterm.js @@ -69,13 +69,14 @@ export default class HyperTerm extends Component { } render () { - const { backgroundColor } = this.props.config; + const { backgroundColor, borderColor } = this.props.config; return
-
+
{ const title = this.state.titles[uid]; return null != title ? title : 'Shell'; diff --git a/app/tabs.js b/app/tabs.js index f33e00e0..7ca0508a 100644 --- a/app/tabs.js +++ b/app/tabs.js @@ -1,12 +1,12 @@ import React from 'react'; import classes from 'classnames'; -export default function ({ data = [], active, activeMarkers = [], onChange, onClose }) { +export default function ({ data = [], borderColor, active, activeMarkers = [], onChange, onClose }) { return