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 581B

12345678910111213141516171819202122232425262728
  1. import { StyleSheet } from 'react-native';
  2. import { ColorPalette } from '../../../styles';
  3. /**
  4. * The styles of the feature base/media.
  5. */
  6. export default StyleSheet.create({
  7. /**
  8. * Make {@code Video} fill its container.
  9. */
  10. video: {
  11. flex: 1
  12. },
  13. /**
  14. * Black cover for the video, which will be animated by reducing its opacity
  15. * and create a fade-in effect.
  16. */
  17. videoCover: {
  18. backgroundColor: ColorPalette.black,
  19. bottom: 0,
  20. left: 0,
  21. position: 'absolute',
  22. right: 0,
  23. top: 0
  24. }
  25. });