Scaling Text in Mac App

Hi all,
I'm currently developing a macOS desktop app, and I’d like to implement a feature that allows users to adjust the font size using hotkeys, leveraging the .keyboardShortcut modifier. Alternatively, I’m considering using the HotKey package

While I can scale the fonts using the .scaleEffect modifier, this doesn’t seem like the most elegant approach and I want to continue to use fonts such as .largeTitle, .title, .headline, etc instead of setting custom sizes although perhaps I should be open to this direction. Does anyone have a more efficient or cleaner solution for achieving this? Thanks!