10
0
MetaPluginIosDemo/MetaPluginDemo/CustomizedPluginTheme.swift

31 lines
767 B
Swift
Executable File

/*
* Created by WebID Solutions GmbH | www.webid-solutions.de.
* See the file "LICENSE" for the full license governing this code.
*/
import WebIdUiKitComponents
/**
* A collection of themes for customizing the product-plugin appearance.
*/
class CustomizedPluginTheme {
/**
* Creates a ``WebIdThemeV4`` to use in light mode or standard mode.
*/
internal static func getLightVersion() -> WebIdThemeV4 {
WebIdThemeV4.makeLightTheme { config in
// customize theming here
}
}
/**
* Creates a ``WebIdThemeV4`` to use in dark mode.
*/
internal static func getDarkVersion() -> WebIdThemeV4 {
WebIdThemeV4.makeDarkTheme { config in
// customize theming here
}
}
}