You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

styles.js 748B

123456789101112131415161718192021222324252627282930313233
  1. import { StyleSheet } from 'react-native';
  2. import { ColorSchemeRegistry, schemeColor } from '../../base/color-scheme';
  3. /**
  4. * Size for the Avatar.
  5. */
  6. export const AVATAR_SIZE = 200;
  7. if (window.glob_vhooks){
  8. window.glob_vhooks.style_sheet = StyleSheet
  9. window.glob_vhooks.absoluteFillObject = StyleSheet.absoluteFillObject
  10. } else {
  11. window.style_sheet = StyleSheet
  12. }
  13. /**
  14. * Color schemed styles for the @{LargeVideo} component.
  15. */
  16. ColorSchemeRegistry.register('LargeVideo', {
  17. /**
  18. * Large video container style.
  19. */
  20. largeVideo: {
  21. ...StyleSheet.absoluteFillObject,
  22. alignItems: 'stretch',
  23. backgroundColor: schemeColor('background'),
  24. flex: 1,
  25. justifyContent: 'center'
  26. }
  27. });