# <a id="api-reference"></a>jg-personal-ui API reference

Every export of `jg-personal-ui@0.2.0`, 12 in all, with its signature, its errors, and an example. It's generated from the package's TSDoc.

## <a id="api-entry-main"></a>`jg-personal-ui`

- Constants: [`JG_FAVICON_PATHS`](#api-JG_FAVICON_PATHS), [`JG_MARK_PATHS`](#api-JG_MARK_PATHS), [`JG_MARK_TILE`](#api-JG_MARK_TILE), [`JG_MARK_VIEW_BOX`](#api-JG_MARK_VIEW_BOX), [`JG_PERSONAL_UI_TOKEN_NAMES`](#api-JG_PERSONAL_UI_TOKEN_NAMES)
- Types: [`IJgPersonalUiTokenName`](#api-IJgPersonalUiTokenName)

### <a id="api-constants"></a>Constants in `jg-personal-ui`

#### <a id="api-JG_FAVICON_PATHS"></a>`JG_FAVICON_PATHS`

*Constant*

Enlarged standalone slash used by the favicon.

```ts
const JG_FAVICON_PATHS: readonly [{ fill: "#6EE7B7"; d: "M22.13 53L35.71 11L41.83 11L28.33 53Z" }]
```

#### <a id="api-JG_MARK_PATHS"></a>`JG_MARK_PATHS`

*Constant*

Outlined JG letters and accent slash in their fixed brand colors.

```ts
const JG_MARK_PATHS: readonly [{ fill: "#F8FAFC"; d: "M17.26 45.62Q15.77 45.62 14.48 45.24Q13.2 44.87 11.99 44.28L13.17 41.03Q13.98 41.45 15.09 41.84Q16.19 42.23 17.09 42.23Q18.07 42.23 18.6 41.65Q19.13 41.06 19.13 39.52L19.13 28.79L13.17 28.79L13.17 25.6L23 25.6L23 39.32Q23 41.7 22.24 43.09Q21.48 44.47 20.2 45.05Q18.91 45.62 17.26 45.62ZM20.11 23.5Q19.13 23.5 18.4 22.83Q17.68 22.16 17.68 21.04Q17.68 19.89 18.4 19.23Q19.13 18.57 20.11 18.57Q21.09 18.57 21.82 19.23Q22.55 19.89 22.55 21.04Q22.55 22.16 21.82 22.83Q21.09 23.5 20.11 23.5ZM30.52 45.57Q29.17 45.57 27.88 45.29Q26.6 45.01 25.45 44.64L26.18 41.37Q27.07 41.7 28.09 42.01Q29.12 42.32 30.6 42.32Q31.94 42.32 32.69 41.91Q33.43 41.51 33.71 40.82Q33.99 40.13 33.99 39.29L33.99 38.71Q33.2 38.99 32.5 39.15Q31.8 39.32 31.02 39.32Q29.12 39.32 27.81 38.5Q26.51 37.67 25.84 36.13Q25.17 34.59 25.17 32.46Q25.17 30.03 26.08 28.42Q26.99 26.81 28.67 26.02Q30.35 25.24 32.64 25.24Q33.88 25.24 35.15 25.43Q36.42 25.63 37.88 26.02L37.88 38.51Q37.88 42.12 36.13 43.84Q34.38 45.57 30.52 45.57ZM31.8 36.19Q32.45 36.19 33.01 36.02Q33.57 35.85 33.99 35.63L33.99 28.54Q33.54 28.46 33.2 28.42Q32.87 28.37 32.48 28.37Q31.36 28.37 30.6 28.82Q29.84 29.27 29.47 30.17Q29.09 31.06 29.09 32.46Q29.09 33.67 29.38 34.49Q29.68 35.32 30.28 35.75Q30.88 36.19 31.8 36.19Z" }, { fill: "#6EE7B7"; d: "M39.3 45.48L48.06 18.38L52.01 18.38L43.3 45.48Z" }]
```

#### <a id="api-JG_MARK_TILE"></a>`JG_MARK_TILE`

*Constant*

Fixed background tile shared by the mark and favicon.

```ts
const JG_MARK_TILE: { x: 2; y: 2; width: 60; height: 60; rx: 12; fill: "#111827" }
```

#### <a id="api-JG_MARK_VIEW_BOX"></a>`JG_MARK_VIEW_BOX`

*Constant*

Shared 64px brand canvas.

```ts
const JG_MARK_VIEW_BOX: "0 0 64 64"
```

#### <a id="api-JG_PERSONAL_UI_TOKEN_NAMES"></a>`JG_PERSONAL_UI_TOKEN_NAMES`

*Constant*

custom properties supplied by the shared JG theme

```ts
const JG_PERSONAL_UI_TOKEN_NAMES: readonly ["--jg-accent", "--jg-accent-foreground", "--jg-background", "--jg-border", "--jg-border-strong", "--jg-code", "--jg-danger", "--jg-diff-added", "--jg-diff-removed", "--jg-focus", "--jg-font-mono", "--jg-font-sans", "--jg-foreground", "--jg-inverse", "--jg-inverse-accent", "--jg-inverse-foreground", "--jg-muted", "--jg-primary", "--jg-primary-foreground", "--jg-radius", "--jg-secondary", "--jg-shadow-raised", "--jg-shadow-surface", "--jg-success", "--jg-surface", "--jg-syntax-background", "--jg-syntax-foreground", "--jg-syntax-token-comment", "--jg-syntax-token-constant", "--jg-syntax-token-function", "--jg-syntax-token-keyword", "--jg-syntax-token-link", "--jg-syntax-token-parameter", "--jg-syntax-token-punctuation", "--jg-syntax-token-string", "--jg-syntax-token-string-expression", "--jg-terminal", "--jg-terminal-accent", "--jg-terminal-foreground", "--jg-warning"]
```

### <a id="api-types"></a>Types in `jg-personal-ui`

#### <a id="api-IJgPersonalUiTokenName"></a>`IJgPersonalUiTokenName`

*Type*

names accepted by the shared JG theme contract

```ts
type IJgPersonalUiTokenName = (typeof JG_PERSONAL_UI_TOKEN_NAMES)[number];
```

## <a id="api-entry-tokens"></a>`jg-personal-ui/tokens`

- Constants: [`JG_PERSONAL_UI_TOKEN_NAMES`](#api-tokens-JG_PERSONAL_UI_TOKEN_NAMES)
- Types: [`IJgPersonalUiTokenName`](#api-tokens-IJgPersonalUiTokenName)

### <a id="api-tokens-constants"></a>Constants in `jg-personal-ui/tokens`

#### <a id="api-tokens-JG_PERSONAL_UI_TOKEN_NAMES"></a>`JG_PERSONAL_UI_TOKEN_NAMES`

*Constant*

custom properties supplied by the shared JG theme

```ts
const JG_PERSONAL_UI_TOKEN_NAMES: readonly ["--jg-accent", "--jg-accent-foreground", "--jg-background", "--jg-border", "--jg-border-strong", "--jg-code", "--jg-danger", "--jg-diff-added", "--jg-diff-removed", "--jg-focus", "--jg-font-mono", "--jg-font-sans", "--jg-foreground", "--jg-inverse", "--jg-inverse-accent", "--jg-inverse-foreground", "--jg-muted", "--jg-primary", "--jg-primary-foreground", "--jg-radius", "--jg-secondary", "--jg-shadow-raised", "--jg-shadow-surface", "--jg-success", "--jg-surface", "--jg-syntax-background", "--jg-syntax-foreground", "--jg-syntax-token-comment", "--jg-syntax-token-constant", "--jg-syntax-token-function", "--jg-syntax-token-keyword", "--jg-syntax-token-link", "--jg-syntax-token-parameter", "--jg-syntax-token-punctuation", "--jg-syntax-token-string", "--jg-syntax-token-string-expression", "--jg-terminal", "--jg-terminal-accent", "--jg-terminal-foreground", "--jg-warning"]
```

### <a id="api-tokens-types"></a>Types in `jg-personal-ui/tokens`

#### <a id="api-tokens-IJgPersonalUiTokenName"></a>`IJgPersonalUiTokenName`

*Type*

names accepted by the shared JG theme contract

```ts
type IJgPersonalUiTokenName = (typeof JG_PERSONAL_UI_TOKEN_NAMES)[number];
```

## <a id="api-entry-brand"></a>`jg-personal-ui/brand`

- Constants: [`JG_FAVICON_PATHS`](#api-brand-JG_FAVICON_PATHS), [`JG_MARK_PATHS`](#api-brand-JG_MARK_PATHS), [`JG_MARK_TILE`](#api-brand-JG_MARK_TILE), [`JG_MARK_VIEW_BOX`](#api-brand-JG_MARK_VIEW_BOX)

### <a id="api-brand-constants"></a>Constants in `jg-personal-ui/brand`

#### <a id="api-brand-JG_FAVICON_PATHS"></a>`JG_FAVICON_PATHS`

*Constant*

Enlarged standalone slash used by the favicon.

```ts
const JG_FAVICON_PATHS: readonly [{ fill: "#6EE7B7"; d: "M22.13 53L35.71 11L41.83 11L28.33 53Z" }]
```

#### <a id="api-brand-JG_MARK_PATHS"></a>`JG_MARK_PATHS`

*Constant*

Outlined JG letters and accent slash in their fixed brand colors.

```ts
const JG_MARK_PATHS: readonly [{ fill: "#F8FAFC"; d: "M17.26 45.62Q15.77 45.62 14.48 45.24Q13.2 44.87 11.99 44.28L13.17 41.03Q13.98 41.45 15.09 41.84Q16.19 42.23 17.09 42.23Q18.07 42.23 18.6 41.65Q19.13 41.06 19.13 39.52L19.13 28.79L13.17 28.79L13.17 25.6L23 25.6L23 39.32Q23 41.7 22.24 43.09Q21.48 44.47 20.2 45.05Q18.91 45.62 17.26 45.62ZM20.11 23.5Q19.13 23.5 18.4 22.83Q17.68 22.16 17.68 21.04Q17.68 19.89 18.4 19.23Q19.13 18.57 20.11 18.57Q21.09 18.57 21.82 19.23Q22.55 19.89 22.55 21.04Q22.55 22.16 21.82 22.83Q21.09 23.5 20.11 23.5ZM30.52 45.57Q29.17 45.57 27.88 45.29Q26.6 45.01 25.45 44.64L26.18 41.37Q27.07 41.7 28.09 42.01Q29.12 42.32 30.6 42.32Q31.94 42.32 32.69 41.91Q33.43 41.51 33.71 40.82Q33.99 40.13 33.99 39.29L33.99 38.71Q33.2 38.99 32.5 39.15Q31.8 39.32 31.02 39.32Q29.12 39.32 27.81 38.5Q26.51 37.67 25.84 36.13Q25.17 34.59 25.17 32.46Q25.17 30.03 26.08 28.42Q26.99 26.81 28.67 26.02Q30.35 25.24 32.64 25.24Q33.88 25.24 35.15 25.43Q36.42 25.63 37.88 26.02L37.88 38.51Q37.88 42.12 36.13 43.84Q34.38 45.57 30.52 45.57ZM31.8 36.19Q32.45 36.19 33.01 36.02Q33.57 35.85 33.99 35.63L33.99 28.54Q33.54 28.46 33.2 28.42Q32.87 28.37 32.48 28.37Q31.36 28.37 30.6 28.82Q29.84 29.27 29.47 30.17Q29.09 31.06 29.09 32.46Q29.09 33.67 29.38 34.49Q29.68 35.32 30.28 35.75Q30.88 36.19 31.8 36.19Z" }, { fill: "#6EE7B7"; d: "M39.3 45.48L48.06 18.38L52.01 18.38L43.3 45.48Z" }]
```

#### <a id="api-brand-JG_MARK_TILE"></a>`JG_MARK_TILE`

*Constant*

Fixed background tile shared by the mark and favicon.

```ts
const JG_MARK_TILE: { x: 2; y: 2; width: 60; height: 60; rx: 12; fill: "#111827" }
```

#### <a id="api-brand-JG_MARK_VIEW_BOX"></a>`JG_MARK_VIEW_BOX`

*Constant*

Shared 64px brand canvas.

```ts
const JG_MARK_VIEW_BOX: "0 0 64 64"
```
