NCAppBranding.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /**
  2. * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-License-Identifier: GPL-3.0-or-later
  4. */
  5. #import <Foundation/Foundation.h>
  6. #import <UIKit/UIKit.h>
  7. NS_ASSUME_NONNULL_BEGIN
  8. @interface NCAppBranding : NSObject
  9. // App configuration
  10. extern NSString * const talkAppName;
  11. extern NSString * const filesAppName;
  12. extern NSString * const copyright;
  13. extern NSString * const bundleIdentifier;
  14. extern NSString * const groupIdentifier;
  15. extern NSString * const appsGroupIdentifier;
  16. extern NSString * const pushNotificationServer;
  17. extern NSString * const privacyURL;
  18. extern BOOL const isBrandedApp;
  19. extern BOOL const multiAccountEnabled;
  20. extern BOOL const useAppsGroup;
  21. extern BOOL const forceDomain;
  22. extern NSString * const domain;
  23. extern BOOL const customNavigationLogo;
  24. + (NSString *)getAppVersionString;
  25. // Theming
  26. + (UIColor *)brandColor;
  27. + (UIColor *)brandTextColor;
  28. + (UIColor *)themeColor;
  29. + (UIColor *)themeTextColor;
  30. + (UIColor *)elementColor;
  31. + (NSString *)navigationLogoImageName;
  32. + (UIColor *)placeholderColor;
  33. + (UIColor *)backgroundColor;
  34. + (UIColor *)avatarPlaceholderColor;
  35. + (UIColor *)chatForegroundColor;
  36. + (UIStatusBarStyle)statusBarStyleForBrandColor;
  37. + (UIStatusBarStyle)statusBarStyleForThemeColor;
  38. + (void)styleViewController:(UIViewController *)controller;
  39. @end
  40. NS_ASSUME_NONNULL_END