subtle property

int subtle

Returns the color index value for a subtle visual element depending on the ZetaContrast value.

For both ZetaContrast.aa and ZetaContrast.aaa, it returns 40.

Implementation

int get subtle {
  switch (this) {
    case ZetaContrast.aa:
      return 40;
    case ZetaContrast.aaa:
      return 60;
  }
}