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

Feature Request: Keep tokens stylex inside diffs #3

Open
mcgrealife opened this issue Jan 24, 2023 · 0 comments
Open

Feature Request: Keep tokens stylex inside diffs #3

mcgrealife opened this issue Jan 24, 2023 · 0 comments

Comments

@mcgrealife
Copy link

Currently, torchlight diffs will make all tokens inside the diff either green or red
current

Rather, I wish the text could remain styled, and add/remove would only affect the background color of the lines.
desired

The reason this might have been avoided is that some themes already color tokens red or green, so it could be hard to distinguish text from the background, without having theme-specific diff color overrides.

Maybe the solution could take inspiration from github or gitlab diff UIs
github diff

#2 highlighting individual words like github diffs might help too

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

1 participant