dendronhq / dendron

The personal knowledge management (PKM) tool that grows as you do!
https://wiki.dendron.so
Apache License 2.0
6.53k stars 247 forks source link

Dendron preview theme 'light' does not render table borders if VSCode theme is 'dark' #3913

Open astdt opened 1 year ago

astdt commented 1 year ago

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

Describe the bug

Setting preview -> theme property to "light" whilst having a dark VSCode theme does not render table borders.

To Reproduce

  1. In VScode, set "workbench.colorTheme" to any dark theme.
  2. In dendron.yml, set "theme: light" for preview setting.
  3. Enable dendron preview for any .md file that renders a table.
  4. Observe the bug. 4b. Ctrl + Shift + P -> Toggle between Light/Dark themes and observe the bug corrected whilst switching to light theme.

Expected behavior

Table's CSS renders properly.

Screenshots

image image

Desktop (please complete the following information)

Additional context

Dendron Log file