You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My computer is set to dark mode. In the browser, this causes web pages which respect my system's mode to show up with a dark theme. Web pages which don't respect the mode are fixed to white (usually) or some other color.
My Neovim background is dark, so it visually integrates quite nicely with websites that respect my mode. But on sites that don't (which is most of them), the mismatching colors between my embedded Neovim instance and the page surrounding it is very jarring.
So a very nice improvement to firenvim's UX would be to allow it to dynamically match or at least approximate the text box's existing background color. For instance, could firenvim access and steal the color from the underlying HTML or CSS, and run vim.api.nvim_set_hl or something in the background to set the bg or whatever to the same value?
The text was updated successfully, but these errors were encountered:
firenvim should :set bg=light or :set bg=dark depending on whether the page is in light or dark mode.
If it's impossible or crazy difficult to exactly/closely match a site's specific background color, then a simple light mode/dark mode toggle would certainly be better than nothing!
I'd volunteer, but this is quite outside of my wheelhouse 😅
Consider this scenario:
My computer is set to dark mode. In the browser, this causes web pages which respect my system's mode to show up with a dark theme. Web pages which don't respect the mode are fixed to white (usually) or some other color.
My Neovim background is dark, so it visually integrates quite nicely with websites that respect my mode. But on sites that don't (which is most of them), the mismatching colors between my embedded Neovim instance and the page surrounding it is very jarring.
So a very nice improvement to
firenvim
's UX would be to allow it to dynamically match or at least approximate the text box's existing background color. For instance, couldfirenvim
access and steal the color from the underlying HTML or CSS, and runvim.api.nvim_set_hl
or something in the background to set thebg
or whatever to the same value?The text was updated successfully, but these errors were encountered: