Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

styles.native.ts 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. import { StyleSheet } from 'react-native';
  2. import { ColorPalette } from '../../../base/styles/components/styles/ColorPalette';
  3. import { createStyleSheet } from '../../../base/styles/functions.native';
  4. export default createStyleSheet({
  5. // XXX The names below were preserved for the purposes of compatibility
  6. // with the existing CSS class names on Web.
  7. /**
  8. * The style of {@code CalleeInfo}.
  9. */
  10. ringing: {
  11. ...StyleSheet.absoluteFillObject,
  12. alignItems: 'center',
  13. backgroundColor: ColorPalette.black,
  14. flex: 0,
  15. flexDirection: 'column',
  16. justifyContent: 'center',
  17. opacity: 0.8
  18. },
  19. 'ringing__avatar': {
  20. borderRadius: 50,
  21. flex: 0,
  22. height: 100,
  23. width: 100
  24. },
  25. 'ringing__caller-info': {
  26. alignItems: 'center',
  27. flex: 0,
  28. flexDirection: 'row',
  29. justifyContent: 'center'
  30. },
  31. 'ringing__content': {
  32. alignItems: 'center',
  33. flex: 0,
  34. flexDirection: 'column',
  35. justifyContent: 'center'
  36. },
  37. /**
  38. * The style of {@code Text} within {@code CalleeInfo}.
  39. */
  40. 'ringing__text': {
  41. color: ColorPalette.white
  42. }
  43. });