Skip to content

Feature Request: Keep tokens stylex inside diffs #3

Description

@michael-mcgreal

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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