In this video I continue building out our theme by adding adaptive fonts. I add 3 custom fonts to our theme framework and make sure that they will load with our application.
The fonts will adapt to changes in the user's accessibility settings, this means that the text dynamically sizes to the user's preferences and also will bold if the user prefers bold text.
This is really helpful for making our theme accessible so that users that need this functionality will be able to use our app. By incorporating this at the beginning of a project it makes it much easier to make our app accessible, rather than trying to make our app accessible later.
** I spelled adaptiveForegroundColor and adaptiveBackgroundColor incorrectly. I fix this in the next video **
Repo: https://github.com/sparkcode-io/theme...
SwiftUI environment value list: https://developer.apple.com/documenta...