Theme Options

  • This class gives you options to customize the theme of the library.

    The library offers by default a theme for light and dark mode. If your app supports both themes too, make sure to use UIColor.init(dynamicProvider:) when creating custom themes.

    We recommend you to start by customizing linkColor before anything else, as this is often used as a fallback color.

    See more

    Declaration

    Swift

    @objc(DTThemeConfiguration)
    @objcMembers
    public class ThemeConfiguration : NSObject