Dark tabs for Zenith! Mirror of https://github.com/mac-user669/ZenithDark
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

35 行
1.0KB

  1. /*
  2. Dark Mode for Zenith's Grabber view!
  3. Copyright 2020 J.K. Hayslip (@iKilledAppl3) & ToxicAppl3 INSDC/iKilledAppl3 LLC.
  4. All code was written for learning purposes and credit must be given to the original author.
  5. Written for Cooper Hull, (@mac-user669).
  6. ZenithDark Header file to keep the tweak.x file clean!
  7. */
  8. #import <Cephei/HBPreferences.h>
  9. #import <CepheiPrefs/HBRootListController.h>
  10. #import <CepheiPrefs/HBAppearanceSettings.h>
  11. #include <CSColorPicker/CSColorPicker.h>
  12. @import UIKit;
  13. @interface ZNGrabberAccessoryView : UIImageView
  14. @end
  15. NSMutableDictionary *prefs;
  16. #define kDarkModeColor [UIColor colorWithWhite:0.0 alpha:0.44]
  17. #define kLightModeColor [UIColor colorWithWhite:1.0 alpha:0.7]
  18. #define kColor1 [UIColor redColor] // Color used for testing
  19. #define kColor2 [UIColor greenColor] // Color used for testing
  20. #define kColor3 [UIColor blueColor] // Color used for testing
  21. #define kColor4 [UIColor cyanColor] // Color used for testing
  22. #define PLIST_PATH @"/var/mobile/Library/Preferences/com.mac-user669.zenithdark.plist"