110 |
114 |
115 |
116 | {this.props.customInnerChildren}
117 |
118 |
119 |
120 |
121 | {this.props.customChildren}
122 |
123 |
139 |
140 | {/*
141 | Add custom CSS to Hyper.
142 | We add a scope to the customCSS so that it can get around the weighting applied by styled-jsx
143 | */}
144 |
145 |
146 | );
147 | }
148 | }
149 |
150 | const HyperContainer = connect(
151 | (state: HyperState) => {
152 | return {
153 | isMac,
154 | customCSS: state.ui.css,
155 | uiFontFamily: state.ui.uiFontFamily,
156 | borderColor: state.ui.borderColor,
157 | activeSession: state.sessions.activeUid,
158 | backgroundColor: state.ui.backgroundColor,
159 | maximized: state.ui.maximized,
160 | fullScreen: state.ui.fullScreen,
161 | lastConfigUpdate: state.ui._lastUpdate
162 | };
163 | },
164 | (dispatch: Dispatch