chomosuke / typst-preview.nvim

Low latency typst preview for Neovim
GNU General Public License v3.0
254 stars 16 forks source link

Feature Request: Add command to toggle "invert_colors" #36

Open wnhrt opened 4 months ago

wnhrt commented 4 months ago

Normally I want to use the 'auto' mode to invert colors. On some occasions I would like to toggle the active state (inverted/not inverted) manually. Currently I only see the option to edit the configuration or switch the dark mode of the browser and restart nvim/the preview.

A command or similar solution to dynamically switch the inversion state at runtime would be helpful.