# @codemirror/theme-one-dark [![NPM version](https://img.shields.io/npm/v/@codemirror/theme-one-dark.svg)](https://www.npmjs.org/package/@codemirror/theme-one-dark) [ [**WEBSITE**](https://codemirror.net/) | [**ISSUES**](https://github.com/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/theme-one-dark/blob/main/CHANGELOG.md) ] This package implements the One Dark theme for the [CodeMirror](https://codemirror.net/) code editor. The [project page](https://codemirror.net/) has more information, a number of [examples](https://codemirror.net/examples/) and the [documentation](https://codemirror.net/docs/). This code is released under an [MIT license](https://github.com/codemirror/theme-one-dark/tree/main/LICENSE). We aim to be an inclusive, welcoming community. To make that explicit, we have a [code of conduct](http://contributor-covenant.org/version/1/1/0/) that applies to communication around the project. ## API Reference
oneDark: Extension

Extension to enable the One Dark theme (both the editor theme and the highlight style).

oneDarkTheme: Extension

The editor theme styles for One Dark.

oneDarkHighlightStyle: HighlightStyle

The highlighting style for code in the One Dark theme.

color: {chalky: string, coral: string, cyan: string, invalid: string, ivory: string, stone: string, malibu: string, sage: string, whiskey: string, violet: string, darkBackground: string, highlightBackground: string, background: string, tooltipBackground: string, selection: string, cursor: string}

The colors used in the theme, as CSS color strings.