您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

styles.ts 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import { MD_ITEM_HEIGHT } from '../../../base/dialog/components/native/styles';
  2. import { createStyleSheet } from '../../../base/styles/functions.any';
  3. import BaseTheme from '../../../base/ui/components/BaseTheme.native';
  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: BaseTheme.spacing[3]
  20. },
  21. /**
  22. * Style for the {@code Icon} element in a row.
  23. */
  24. deviceIcon: {
  25. color: BaseTheme.palette.icon01,
  26. fontSize: BaseTheme.spacing[4]
  27. },
  28. /**
  29. * Style for the {@code Text} element in a row.
  30. */
  31. deviceText: {
  32. color: BaseTheme.palette.text01,
  33. fontSize: 16,
  34. marginLeft: BaseTheme.spacing[5]
  35. },
  36. /**
  37. * Style for a row which is marked as selected.
  38. */
  39. selectedText: {
  40. color: BaseTheme.palette.action01
  41. }
  42. });