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 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // @flow
  2. import { MD_ITEM_HEIGHT } from '../../../base/dialog';
  3. import { ColorPalette, createStyleSheet } from '../../../base/styles';
  4. /**
  5. * The React {@code Component} styles of {@code AudioRoutePickerDialog}.
  6. *
  7. * It uses a {@code BottomSheet} and these have been implemented as per the
  8. * Material Design guidelines:
  9. * {@link https://material.io/guidelines/components/bottom-sheets.html}.
  10. */
  11. export default createStyleSheet({
  12. /**
  13. * Base style for each row.
  14. */
  15. deviceRow: {
  16. alignItems: 'center',
  17. flexDirection: 'row',
  18. height: MD_ITEM_HEIGHT
  19. },
  20. /**
  21. * Style for the {@code Icon} element in a row.
  22. */
  23. deviceIcon: {
  24. color: ColorPalette.white,
  25. fontSize: 24
  26. },
  27. /**
  28. * Style for the {@code Text} element in a row.
  29. */
  30. deviceText: {
  31. color: ColorPalette.white,
  32. fontSize: 16,
  33. marginLeft: 32
  34. },
  35. /**
  36. * Style for a row which is marked as selected.
  37. */
  38. selectedText: {
  39. color: ColorPalette.blue
  40. }
  41. });