lunacookies / vim-colors-xcode

Xcode 11’s dark and light colourschemes for Vim
ISC License
607 stars 60 forks source link

Pick dark or light version depending on background #30

Closed micampe closed 1 year ago

micampe commented 2 years ago

This change adds two more color schemes: xcode and xcodehc that are identical to the existing ones, but dynamically switch between the light or dark versions depending on the value of the background variable.

With this, the separate light/dark versions could be removed, but I left them for backwards compatibility.

I also regenerated all the other color schemes from the new templates to verify there weren't unexpected changes, the only change was the build timestamp and some formatting that changed in the generator so I didn't include them in the change.

I used the technique explained in https://github.com/lifepillar/vim-colortemplate/issues/10#issuecomment-423798959

bronzehedwick commented 1 year ago

This is great, thanks so much @micampe!