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

styles.js 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. import { ColorPalette, createStyleSheet } from '../../../base/styles';
  2. import { styles as platformIndependentStyles } from '../styles';
  3. /**
  4. * The base/default style of indicators such as audioMutedIndicator,
  5. * moderatorIndicator, and videoMutedIndicator.
  6. */
  7. const indicator = {
  8. textShadowColor: ColorPalette.black,
  9. textShadowOffset: {
  10. height: -1,
  11. width: 0
  12. }
  13. };
  14. /**
  15. * Native-specific styles for the film strip.
  16. */
  17. export const styles = createStyleSheet(platformIndependentStyles, {
  18. /**
  19. * Audio muted indicator style.
  20. */
  21. audioMutedIndicator: indicator,
  22. /**
  23. * Dominant speaker indicator background style.
  24. */
  25. dominantSpeakerIndicatorBackground: {
  26. borderRadius: 15,
  27. padding: 5
  28. },
  29. /**
  30. * Moderator indicator style.
  31. */
  32. moderatorIndicator: indicator,
  33. /**
  34. * Video thumbnail style.
  35. */
  36. thumbnail: {
  37. height: 80,
  38. width: 80
  39. },
  40. /**
  41. * Video muted indicator style.
  42. */
  43. videoMutedIndicator: indicator
  44. });