atom-community / sync-settings

Synchronize all your settings and packages across atom instances
https://atom.io/packages/sync-settings
MIT License
1.14k stars 105 forks source link

Diff view red/green colors don't match remove/add #742

Closed 1951FDG closed 2 years ago

1951FDG commented 2 years ago

Describe the bug text in red should be green text in green should be red

To Reproduce Steps to reproduce the behavior:

  1. Packages > Synchronize Settings > Check for updated backup
  2. On notification message, Click 'View Diff' button

Expected behavior

Screenshots image

Versions

Additional context Using together with location package, https://atom.io/packages/sync-settings-git-location

UziTech commented 2 years ago

Ya so if you restore from backup the red will be removed and the green will be added. There is no right answer here it depends on your perspective.

UziTech commented 2 years ago

You can actually change this locally if you want. Open your Atom stylesheet (Application: Open Your Stylesheet) and paste the following:

@import 'ui-variables';

.sync-settings-diff-view {
    .local {
        color: @text-color-success;
    }

    .backup {
        color: @text-color-error;
    }
}
1951FDG commented 2 years ago

Thanks for the snippet!