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 684B

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