Fixed cursor color being black

This commit is contained in:
Mikayla Maki 2022-10-18 22:26:14 -07:00
parent b0ddbeb0ad
commit 571636c526
2 changed files with 3 additions and 3 deletions

View file

@ -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: {

View file

@ -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(),