CODE_DARK_THEME

const
Components

Shiki theme name used by useCode for dark mode. Maps to GitHub's dark theme — best contrast and nicest defaults. Override at the composable level for a different palette.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Resolved value

Ecosystem

Used by

Composables and components that consume this constant.

  • OrigamCode

Usage

Examples

Ready-to-paste code snippets using this constant.

Referencing CODE_DARK_THEME to build a custom highlighter

typescript