2024-03-27 15:53:11 +01:00
|
|
|
/*
|
|
|
|
|
* 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 {
|
|
|
|
|
|
|
|
|
|
/**
|
2025-12-04 16:40:28 +01:00
|
|
|
* Creates a ``WebIdThemeV4`` to use in light mode or standard mode.
|
2024-03-27 15:53:11 +01:00
|
|
|
*/
|
2025-12-04 16:40:28 +01:00
|
|
|
internal static func getLightVersion() -> WebIdThemeV4 {
|
|
|
|
|
WebIdThemeV4.makeLightTheme { config in
|
|
|
|
|
// customize theming here
|
|
|
|
|
}
|
2024-03-27 15:53:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
2025-12-04 16:40:28 +01:00
|
|
|
* Creates a ``WebIdThemeV4`` to use in dark mode.
|
2024-03-27 15:53:11 +01:00
|
|
|
*/
|
2025-12-04 16:40:28 +01:00
|
|
|
internal static func getDarkVersion() -> WebIdThemeV4 {
|
|
|
|
|
WebIdThemeV4.makeDarkTheme { config in
|
|
|
|
|
// customize theming here
|
|
|
|
|
}
|
2024-03-27 15:53:11 +01:00
|
|
|
}
|
|
|
|
|
}
|