您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

styles.js 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // @flow
  2. import { StyleSheet } from 'react-native';
  3. import { ColorSchemeRegistry, schemeColor } from '../../../base/color-scheme';
  4. import { BoxModel, ColorPalette } from '../../../base/styles';
  5. /**
  6. * The React {@code Component} styles of the overlay feature.
  7. */
  8. export default {
  9. connectIndicator: {
  10. margin: BoxModel.margin
  11. },
  12. /**
  13. * Style for a backdrop overlay covering the screen the the overlay is
  14. * rendered.
  15. */
  16. container: {
  17. ...StyleSheet.absoluteFillObject,
  18. backgroundColor: ColorPalette.black
  19. },
  20. loadingOverlayText: {
  21. color: ColorPalette.white
  22. },
  23. loadingOverlayWrapper: {
  24. alignItems: 'center',
  25. flex: 1,
  26. flexDirection: 'column',
  27. justifyContent: 'center'
  28. },
  29. safeContainer: {
  30. flex: 1
  31. }
  32. };
  33. /**
  34. * Color schemed styles for all the component based on the abstract dialog.
  35. */
  36. ColorSchemeRegistry.register('LoadConfigOverlay', {
  37. indicatorColor: schemeColor('text'),
  38. loadingOverlayText: {
  39. color: schemeColor('text')
  40. },
  41. loadingOverlayWrapper: {
  42. backgroundColor: schemeColor('background')
  43. }
  44. });