Fixed the cursor's color (#2520)

* 🐛 Fix underline cursor color

* 🐛 Fix unfocused box when cursor is underline

* 🐛 Fix BAR color and make BAR and UNDERLINE transparent when not in focus

* 🐛 Bring back the box when unfocused

* 🐛 Add cursorColor to unfocused underline and bar
This commit is contained in:
Albin Ekblom 2017-12-04 22:15:45 +01:00 committed by Leo Lamprecht
parent 744707e29c
commit da10f01a00

View file

@ -99,7 +99,7 @@ export default class StyleSheet extends React.PureComponent {
content: "";
display: block;
position: absolute;
background-color: #fff;
background-color: ${cursorColor};
}
.terminal.xterm-cursor-style-bar .terminal-cursor::before {
top: 0;
@ -119,7 +119,7 @@ export default class StyleSheet extends React.PureComponent {
}
.terminal.xterm-cursor-style-bar.focus.xterm-cursor-blink .terminal-cursor::before,
.terminal.xterm-cursor-style-underline.focus.xterm-cursor-blink .terminal-cursor::before {
background-color: #fff;
background-color: ${cursorColor};
}
.terminal .composition-view {