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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // @flow
  2. import { ColorPalette } from '../../../styles';
  3. /**
  4. * The styles of the feature base/participants.
  5. */
  6. export default {
  7. avatarContainer: (size: number) => {
  8. return {
  9. alignItems: 'center',
  10. borderRadius: size / 2,
  11. height: size,
  12. justifyContent: 'center',
  13. overflow: 'hidden',
  14. width: size
  15. };
  16. },
  17. avatarContent: (size: number) => {
  18. return {
  19. height: size,
  20. width: size
  21. };
  22. },
  23. initialsContainer: {
  24. alignItems: 'center',
  25. alignSelf: 'stretch',
  26. flex: 1,
  27. justifyContent: 'center'
  28. },
  29. initialsText: (size: number) => {
  30. return {
  31. color: 'rgba(255, 255, 255, 0.6)',
  32. fontSize: size * 0.5,
  33. fontWeight: '100'
  34. };
  35. },
  36. staticAvatar: {
  37. backgroundColor: ColorPalette.lightGrey,
  38. opacity: 0.4
  39. }
  40. };