ThemesConfig.js 632 B

123456789101112131415161718192021222324
  1. import React from "react";
  2. import { View } from "react-native";
  3. import app from '../../app.json';
  4. export const MyRefreshProps = () => ({
  5. title: global.$t('common.pulldown2Refresh'),
  6. titleColor: textCancel,
  7. colors: [colorAccent, colorPrimary],
  8. tintColor: colorAccent
  9. })
  10. export const UploadThemes = {
  11. cropperStatusBarColor: app.isWhitelabel ? "#CCCCCC" : colorPrimary,
  12. cropperToolbarColor: app.isWhitelabel ? colorLight : colorPrimary,
  13. //cropperTintColor: colorAccent,
  14. cropperActiveWidgetColor: colorAccent,
  15. cropperToolbarWidgetColor: pageTitleTint
  16. }
  17. export const TestThemes = () => {
  18. return (
  19. <View/>
  20. )
  21. }