# InvalidColour

A proposed colour that was not checked, so its pairs are missing from the findings.

This is an interface exported by `@mapcairn/theme`, checked against version 0.2.0.

## Signature

```ts
import type { InvalidColour } from "@mapcairn/theme";
 
interface InvalidColour
```

## Properties

### reason

```ts
reason: InvalidColourReason;
```

Why it could not be checked.

### role

```ts
role: string;
```

The role, or the key or section that could not be used: `override` for
an override that is not a plain object, `colour` for a section that is not
(with `theme` set when it is one theme's section).

### theme

```ts
theme: ThemeName | null;
```

The theme it was proposed for, or `null` when it concerns the whole override.

### value

```ts
value: unknown;
```

The value as the host supplied it.

## See also

- [`InvalidColourReason`](https://docs.mapcairn.com/api/theme/InvalidColourReason.md)
- [`ThemeName`](https://docs.mapcairn.com/api/theme/ThemeName.md)

Source: [packages/theme/src/checkThemeContrast.ts:85](https://github.com/MapCairn/mapcairn/blob/main/packages/theme/src/checkThemeContrast.ts#L85)
