termimad icon indicating copy to clipboard operation
termimad copied to clipboard

Light Theme Display

Open tusharmath opened this issue 9 months ago • 3 comments

Currently termimad display monospace content ignoring the terminal theme:

  1. Ideally the BG should have been a bit lighter in the light theme (BUG perhaps?)

  2. Is there a way to configure the theme/colors?

SCREENSHOT

Image

tusharmath avatar Mar 20 '25 03:03 tusharmath

I'm not sure of what you exactly request: a change in the default light theme (a PR with screenshots would make sense), or how to change it yourself in your application ?

Canop avatar Mar 20 '25 06:03 Canop

Thanks for responding @Canop! I updated the issue.

tusharmath avatar Mar 21 '25 04:03 tusharmath

Configuring a skin is easy, most examples in the repository do it. In your case, the properties you want to change are https://docs.rs/termimad/latest/termimad/struct.MadSkin.html#structfield.code_block and https://docs.rs/termimad/latest/termimad/struct.MadSkin.html#structfield.inline_code.

You can determine yourself whether to tune your skin for a dark, medium, or light terminal with https://github.com/Canop/terminal-light

Canop avatar Mar 21 '25 07:03 Canop