focus property

int focus

Returns the color index value for a focus state depending on the ZetaContrast value.

For ZetaContrast.aa, it returns 80. For ZetaContrast.aaa, it returns 100.

Implementation

int get focus {
  switch (this) {
    case ZetaContrast.aa:
      return 80;
    case ZetaContrast.aaa:
      return 100;
  }
}