Font in Dashboard only visible when in editing mode

I created a new custom theme with a different font in it.
The theme is only selected for the dashboard and not the whole Home Assistant frontend. Somehow I can only see the font when the Dashboard is in editing mode like this:

When I exit the editing mode, the font goes back to default again. Why?

The theme is only applied to the dashboard, not to the whole Home Assistant. But if I apply the theme to the whole Home Assistant, then the font gets displayed correctly.

But I want the theme to only be visible for my dashboard. Any ideas?

Any idea someone?

If you post your theme yaml maybe somebody can help you.

My first guess is a cache issue in the browser. Have you cleared the cache?

1 Like