plato icon indicating copy to clipboard operation
plato copied to clipboard

Add settings for custom UI fonts

Open marcoms opened this issue 1 year ago • 0 comments

Added basic support for changing the sans-serif + serif fonts used in the UI via Settings.toml. It currently re-uses the reader.font-path setting for backwards compatibility, but perhaps this could be a separate toplevel setting as well. This can also be extended to the other variants like monospace etc, but thought it was worth creating a POC for now.

Example config + result:

font-family-sans = "Inter"
font-family-serif = "Copernicus"

Screenshot 2025-03-06 at 4 34 02 PM

(Let me know if this is out of scope for the project)

Fixes #389

marcoms avatar Mar 06 '25 16:03 marcoms