mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-25 01:34:02 +00:00
Fixed cursor color being black
This commit is contained in:
parent
b0ddbeb0ad
commit
571636c526
2 changed files with 3 additions and 3 deletions
|
@ -50,7 +50,7 @@ export default function app(colorScheme: ColorScheme): Object {
|
|||
},
|
||||
updateNotification: updateNotification(colorScheme),
|
||||
tooltip: tooltip(colorScheme),
|
||||
terminal: terminal(colorScheme.lowest),
|
||||
terminal: terminal(colorScheme.lowest, colorScheme.players[0].cursor),
|
||||
colorScheme: {
|
||||
...colorScheme,
|
||||
lowest: {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { Elevation } from "../themes/common/colorScheme";
|
||||
|
||||
export default function terminal(elevation: Elevation) {
|
||||
export default function terminal(elevation: Elevation, cursor_color: string) {
|
||||
/**
|
||||
* Colors are controlled per-cell in the terminal grid.
|
||||
* Cells can be set to any of these more 'theme-capable' colors
|
||||
|
@ -37,7 +37,7 @@ export default function terminal(elevation: Elevation) {
|
|||
/**
|
||||
* Default color for the cursor
|
||||
*/
|
||||
cursor: elevation.ramps.blue(0).hex(),
|
||||
cursor: cursor_color,
|
||||
dimBlack: elevation.ramps.neutral(1).hex(),
|
||||
dimRed: elevation.ramps.red(0.75).hex(),
|
||||
dimGreen: elevation.ramps.green(0.75).hex(),
|
||||
|
|
Loading…
Reference in a new issue