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.ts 747B

12345678910111213141516171819202122232425262728293031
  1. import BaseTheme from '../../../base/ui/components/BaseTheme.native';
  2. // eslint-disable-next-line lines-around-comment
  3. // @ts-ignore
  4. import { INDICATOR_DISPLAY_THRESHOLD } from '../AbstractConnectionIndicator';
  5. export const CONNECTOR_INDICATOR_LOST = BaseTheme.palette.ui05;
  6. export const CONNECTOR_INDICATOR_OTHER = BaseTheme.palette.action01;
  7. export const CONNECTOR_INDICATOR_COLORS = [
  8. // Full (3 bars)
  9. {
  10. color: BaseTheme.palette.success01,
  11. percent: INDICATOR_DISPLAY_THRESHOLD
  12. },
  13. // 2 bars.
  14. {
  15. color: BaseTheme.palette.warning01,
  16. percent: 10
  17. },
  18. // 1 bar.
  19. {
  20. color: BaseTheme.palette.iconError,
  21. percent: 0
  22. }
  23. ];
  24. export const iconStyle = {
  25. fontSize: 14
  26. };