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

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