I have observed in several presentations and documents that simplified window frames are used when displayed content is related to something on a computer (e.g. a terminal). The result is very pleasant, so I thought it would be nice to have a package for that purpose. The pacakge has predefined functions for ~6 themes (with customization options and of course the possibility of making a theme from scratch) as well as a couple default typical elements to draw (tabs bar, browser bar).
I will keep in mind that if I update the package I should include some minimal use example in the readme.
Keep in mind that the window does not adapt to the size of the title. This is because it and the buttons need ot be positioned with place to allow the frame to auto-adjust to contents.
Thank you. Another observation is that computer-framer warns of several fonts, microsoft sans serif, sf pro and segoe ui that are missing. This is non-fatal of course but warnings are still disconcerting. I’d like to not see them.
Please give us the details on dealing with this, as it’s unexpected and it would be useful to avoid generating the warnings given how many we Typst users have to look at as we learn to write with it.
Users might choose to search for and install these hopefully free fonts but my personal policy is to avoid any Microsoft packages on my Linux machine especially Microsoft Sans Serif, in spite of it being a free download. I assume it’s in support of the Retro theme.
There is also something to be said for not installing fonts unless it’s absolutely necessary. I’ve already got way more fonts installed than I’m comfortable with.
By default, the themes try to use the fonts associated to the aesthetics by which they are inspired.
The font however can be changed by passing the font parameter to all the theme functions.
Im not aware of a more elegant solution to have an out of the box font configuration, though again the readme should have included some clarification. Tempted to make some small asset additions in the near future and use the opportunity to update the readme