How to change the UI font size

What I’m trying to do

Hi. How does one change the font size of the UI elements (e.g. folder / file names)?

Things I have tried

Looking through the settings I can see only a way to select the UI font name, not the size. Changing the size of the note content font makes no change to the UI elements.

You can use a CSS snippet to take care of this. e.g.

body {
    --nav-item-size: 16px; /* default 13px */
    & .search-result-file-matches {
        --font-ui-smaller: 14px; /* default 12px */ 
    }
}

The --nav-item-size takes care of most fonts in all sidebar tabs and the .search-result-file-matches bumps up the search results a bit in the Search tab (I find them a bit small at times).

If that’s too broad or you’d like something more specific, let us know exactly where and folks can offer more suggestions.