# configuration/tokens/walk.tokens.ts

> 31 lines of code and 7 definitions.

Tree: GovLab Patterns
Language: typescript
Layer: product
Canonical: https://banes-lab.com/anatomy/patterns#file-patterns-configuration-tokens-walk-tokens-ts
Source text: https://banes-lab.com/source/patterns/configuration/tokens/walk.tokens.ts.txt

Listed in [configuration/tokens](https://banes-lab.com/api/source/patterns/configuration/tokens.md).

## Definitions

- `COLOR_FALLBACK` (lexical_declaration, line 10, exported)
- `MUTED_COLOR` (lexical_declaration, line 12, exported)
- `FLAG_FALLBACK` (lexical_declaration, line 14, exported)
- `STATE_COLOR` (lexical_declaration, line 16, exported)
- `SEVERITY_COLOR` (lexical_declaration, line 25, exported)
- `FLOW_COLOR` (lexical_declaration, line 31, exported)
- `DEPENDENTS_COLOR` (lexical_declaration, line 38, exported)

## Contained in

- [configuration/tokens](https://banes-lab.com/anatomy/patterns/folder-patterns-configuration-tokens.md)

## Source

```typescript
import {
    STATE_CALL,
    STATE_CONTROL,
    STATE_DECLARE,
    STATE_READ,
    STATE_STRUCT,
    STATE_WRITE,
} from "#configuration/constants/walk.constants";

export const COLOR_FALLBACK = "#c9d1d9";

export const MUTED_COLOR = "#8b949e";

export const FLAG_FALLBACK = "#f0c000";

export const STATE_COLOR: ReadonlyMap<string, string> = new Map([
    [STATE_READ, "#58a6ff"],
    [STATE_CALL, "#d29922"],
    [STATE_WRITE, "#f85149"],
    [STATE_DECLARE, "#3fb950"],
    [STATE_CONTROL, "#bc8cff"],
    [STATE_STRUCT, "#586274"],
]);

export const SEVERITY_COLOR: ReadonlyMap<string, string> = new Map([
    ["high", "#f85149"],
    ["medium", "#d29922"],
    ["low", MUTED_COLOR],
]);

export const FLOW_COLOR: ReadonlyMap<string, string> = new Map([
    ["entry", "#d29922"],
    ["relay", "#58a6ff"],
    ["leaf", "#3fb950"],
    ["isolated", "#f85149"],
]);

export const DEPENDENTS_COLOR = "#bc8cff";
```
