Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable Colors / Colorblind Compatibility #24

Open
VoltCruelerz opened this issue Mar 5, 2023 · 2 comments
Open

Configurable Colors / Colorblind Compatibility #24

VoltCruelerz opened this issue Mar 5, 2023 · 2 comments

Comments

@VoltCruelerz
Copy link

VoltCruelerz commented Mar 5, 2023

As I am colorblind, the green and red used here are nearly indistinguishable.

This is the relevant snippet in extension.ts

const calledLineColor = "rgba(50, 240, 50, 0.1)";
const calledLinesDecorationType = vscode.window.createTextEditorDecorationType({
  isWholeLine: true,
  backgroundColor: calledLineColor,
  overviewRulerColor: calledLineColor,
  rangeBehavior: vscode.DecorationRangeBehavior.ClosedClosed,
});

const missedLineColor = "rgba(240, 50, 50, 0.1)";
const missedLinesDecorationType = vscode.window.createTextEditorDecorationType({
  isWholeLine: true,
  backgroundColor: missedLineColor,
  overviewRulerColor: missedLineColor,
  rangeBehavior: vscode.DecorationRangeBehavior.ClosedClosed,
});

It would be appreciated if they could be configured in the settings.

@VoltCruelerz
Copy link
Author

VoltCruelerz commented Mar 5, 2023

for example, these settings are more clear to me:
image

const calledLineColor = "rgba(50, 50, 240, 0.2)";
const missedLineColor = "rgba(240, 240, 50, 0.2)";

@usmanmehmoodSSP
Copy link

Hi.

Although I am not colorblind, the shades of green and red used by the dev are wayyy to light to be easily noticeable. It'd be great if they can make it a configurable setting.

Happy to contribute if I knew where to start 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants