More terminal-dark and terminal-light support
I am using the terminal-dark theme and I really enjoy it. I have two gripes through, I wish I could use it to export the pdf. Right now it says that theme is unsupported.
~~My second gripe is that I don't know the palette for the terminal-dark theme so i don't know what CSS class I should use when i want to change the color of a text.~~
~~I think if you generated a theme based off the terminal colors then it would solve both problems.~~
EDIT:
Just realized that you can see the palette/CSS classes of the terminal-dark and terminal-light themes in the themes folder lol. I still would like to be able to use that theme in the export pdf though.
My terminal has a transparent background and it would be really awesome if I could have typst (and thus latex) images have a transparent background as well. Currently they appear as boxes with a dark grey-blue background. I can change the colour to something else but can't figure out a way to set their background to be transparent. (null just uses the default blue-grey)
@droshux I just merged #535 which should fix this issue on the terminal-dark/terminal-light themes. Otherwise if you're using a custom theme, don't set typst.colors.background at all and it should work. You will need a reasonably recent version of typst (0.12.0 should do I think) as they changed the behavior of none as a filler which was was this was already using.
@droshux I just merged #535 which should fix this issue on the terminal-dark/terminal-light themes. Otherwise if you're using a custom theme, don't set
typst.colors.backgroundat all and it should work. You will need a reasonably recent version of typst (0.12.0 should do I think) as they changed the behavior ofnoneas a filler which was was this was already using.
Awesome! Thanks for the reply :)