mfontanini / presenterm

A markdown terminal slideshow tool
https://mfontanini.github.io/presenterm/
BSD 2-Clause "Simplified" License
1.35k stars 34 forks source link

Image color not changing for typst even after changing in config #96

Closed mgpinf closed 10 months ago

mgpinf commented 10 months ago

Image colour (background and foreground) is not changing even after changing the config file

OS: MacOS Terminal: Wezterm

Config file:

typst:
  ppi: 300
  colors:
    background: ffffff
    foreground: 000000

From the above config, I assume background should be white and foreground should be black.

Image for reference:

image
mfontanini commented 10 months ago

Colors are always a property of your theme. See https://github.com/mfontanini/presenterm/blob/master/themes%2Fterminal-dark.yaml#L80.

You need to set this in your theme via either overriding it in your presentation or changing your theme directly. See themes for more info

mgpinf commented 10 months ago

Thank you so much for clarifying. It works now. Closing the issue.