# @bpmn-io/cm-theme

> A CodeMirror 6 syntax highlighting theme for FEEL expressions

Latest version **0.2.2** (published 2026-06-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install @bpmn-io/cm-theme
pnpm add @bpmn-io/cm-theme
yarn add @bpmn-io/cm-theme
bun add @bpmn-io/cm-theme
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2026-06-29 |
| First published | 2023-03-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >= 20.12.0 |
| Dependencies | 2 |
| Unpacked size | 29.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | bpmn.io contributors |
| Maintainers | bpmn-io-admin, nikku, barmac, philippfromme, maxtru, skaiir-camunda, vsgoulart, barinali, jarekdanielak, ev-camunda, alekseymanetov |
| Keywords | codemirror, feel, theme, syntax-highlighting |

## Links

- npm: https://www.npmjs.com/package/@bpmn-io/cm-theme
- Repository: https://github.com/bpmn-io/cm-theme
- Homepage: https://github.com/bpmn-io/cm-theme#readme
- Issues: https://github.com/bpmn-io/cm-theme/issues
- npm.io page: https://npm.io/package/@bpmn-io/cm-theme

## Dependencies (2)

- [@lezer/highlight](https://npm.io/package/@lezer/highlight.md) ^1.2.3
- [@codemirror/language](https://npm.io/package/@codemirror/language.md) ^6.12.3

## Alternatives

- [@oh-my-pi/pi-natives](https://npm.io/package/@oh-my-pi/pi-natives.md) — 51.8K weekly downloads
- [@capgo/capacitor-light-sensor](https://npm.io/package/@capgo/capacitor-light-sensor.md) — 3.0K weekly downloads
- [@heyhuynhgiabuu/pi-diff](https://npm.io/package/@heyhuynhgiabuu/pi-diff.md) — 492 weekly downloads
- [@lotsa/verdant-lang-asm](https://npm.io/package/@lotsa/verdant-lang-asm.md) — 38 weekly downloads
- [new-era-syntax](https://npm.io/package/new-era-syntax.md) — 20 weekly downloads

## Recent versions

- 0.2.2 (latest) — 2026-06-29
- 0.2.1 — 2026-06-29
- 0.2.0 — 2026-06-04
- 0.1.0-alpha.2 — 2023-03-28
- 0.1.0-alpha.0 — 2023-03-27

## README

# @bpmn-io/cm-theme

The [CM theme](https://github.com/bpmn-io/cm-theme) for the [CodeMirror code editor](https://codemirror.net/).

[Try it out](https://bpmn-io.github.io/cm-theme/).


## Usage

```javascript
import { EditorState } from '@codemirror/state';
import { EditorView } from '@codemirror/view';

import { feelLight } from '@bpmn-io/cm-theme';

// use as a codemirror extension
const view = new EditorView({
  state: EditorState.create({
    extensions: [
      ...,
      feelLight
    ]
  })
});
```


## License

MIT

---
_Source: https://npm.io/package/@bpmn-io/cm-theme · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
