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

Use standard colors #5

Merged
merged 1 commit into from
Mar 1, 2024
Merged

Use standard colors #5

merged 1 commit into from
Mar 1, 2024

Conversation

kaste
Copy link
Owner

@kaste kaste commented Mar 1, 2024

Since Sublime ships with the basic git support, it also has a diffing feature and with it defines standard colors for inserted/deleted lines or (intra-line) chars.

We have diff.inserted and diff.inserted.char usually in green and diff.deleted in red. Every color scheme should already define them. User can change their scheme as usual and change the colors to their liking.

Note that I add the suffix .sbs-compare to the scopes (e.g. diff.inserted.sbs-compare) so users can also target exactly our scopes.

Closes #4

Since Sublime ships with the basic git support, it also has a diffing
feature and with it defines standard colors for inserted/deleted lines
or (intra-line) chars.

We have `diff.inserted` and `diff.inserted.char` usually in green and
`diff.deleted` in red.  Every color scheme should already define them.
User can change their scheme as usual and change the colors to their
liking.

Note that I add the suffix `.sbs-compare` to the scopes (e.g.
`diff.inserted.sbs-compare`) so users can also target exactly our
scopes.

Closes #4
@kaste kaste merged commit 633f254 into master Mar 1, 2024
1 check passed
@kaste kaste deleted the use-builtin-colors branch March 1, 2024 18:34
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

Successfully merging this pull request may close these issues.

Could not load colour scheme
1 participant