Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

styles.js 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. ...StyleSheet.absoluteFillObject,
  25. alignItems: 'center',
  26. flex: 1,
  27. flexDirection: 'column',
  28. justifyContent: 'center'
  29. },
  30. safeContainer: {
  31. flex: 1
  32. }
  33. };
  34. /**
  35. * Color schemed styles for all the component based on the abstract dialog.
  36. */
  37. ColorSchemeRegistry.register('LoadConfigOverlay', {
  38. indicatorColor: schemeColor('text'),
  39. loadingOverlayText: {
  40. color: schemeColor('text')
  41. },
  42. loadingOverlayWrapper: {
  43. backgroundColor: schemeColor('background')
  44. }
  45. });