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

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