Skip to content

Feature Request: Keep tokens stylex inside diffs #3

@mcgrealife

Description

@mcgrealife

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions