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.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. marginLeft: 16
  20. },
  21. /**
  22. * Style for the {@code Icon} element in a row.
  23. */
  24. deviceIcon: {
  25. color: ColorPalette.white,
  26. fontSize: 24
  27. },
  28. /**
  29. * Style for the {@code Text} element in a row.
  30. */
  31. deviceText: {
  32. color: ColorPalette.white,
  33. fontSize: 16,
  34. marginLeft: 32
  35. },
  36. /**
  37. * Style for a row which is marked as selected.
  38. */
  39. selectedText: {
  40. color: ColorPalette.blue
  41. }
  42. });