Closed mystiquewolf closed 1 year ago
So should we file an issue there?
Sounds good to me :)
^^
Thanks, @mystiquewolf! I really appreciate your contribution! 😃
Closing due to inactivity of https://github.com/rtfpessoa/diff2html/issues/403.
@caponetto https://github.com/rtfpessoa/diff2html/issues/403 had been completed
Awesome! Seems like this is now possible for this plugin!
Awesome! Seems like this is now possible for this plugin!
Can you please elaborate how to switch on dark mode in diff viewer? Thanks!
I mean, as in this is now possible for the diff viewer, not that it has been implemented. Sorry for the confusion, hopefully @caponetto or someone else will incorporate it to the extension soon :)
IMO we'll need to have one additional property in the extension settings to change the theme, and, based on this configuration, we can pass the appropriated value of ColorSchemeType
to diff2html
. It sounds simple, but we'll probably need to tweak some CSS properties for both light and dark themes to make them look good.
I'll work on this eventually when I have some free time. If anyone wants to jump in, feel free to start. I'll be glad to give some pointers. :)
Im willing to help, but Im new to VS code extension dev, at least having the option setting present to start the tweaking is a move forward.
Great @bombillazo! I will include the theme configuration in a branch and share some pointers :)
Nice @caponetto , let me know which branch so I can take a look
@bombillazo Thanks for your availability! I started to prepare the branch but ended up doing the rest of the required changes. A new release will be done soon :)
https://github.com/caponetto/vscode-diff-viewer/assets/638737/56d7e521-2855-4bcb-ab2a-42e1f8c868f3
Beautiful, cant wait for this!
When can we expect a release?
Early November :)
You can install the current version from main
if you want to give it a try.
The artifact is available in the last CI run [1].
[1] https://github.com/caponetto/vscode-diff-viewer/actions/runs/6606054496
Hi and thanks for the great extension. It would be awesome if there was a dark mode - if VS Code has a dark theme - use dark mode in the extension. But also allow manually overriding the dark/light theme.