diff --git a/src/components/App/App.tsx b/src/components/App/App.tsx index c7c9555..2fa8207 100644 --- a/src/components/App/App.tsx +++ b/src/components/App/App.tsx @@ -65,8 +65,10 @@ const getClockStyleFromSettings = ( settings: SettingsState, ): { fontFamily: string; fontSize: string } => { const { fontSize, fontFamily } = settings; + const fallbackFont = + "system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif"; return { - fontFamily, + fontFamily: `${fontFamily}, ${fallbackFont}`, fontSize: `${fontSize}rem`, }; }; @@ -86,7 +88,6 @@ const App = () => { - setSettingsOpen(!isSettingsOpen)} />