# ep_prefer_color_scheme

> Change Etherpad-lite skin variant according to system settings

Latest version **0.0.53** (published 2026-09-21) · Apache-2.0 license license · 260 weekly downloads

## Install

```sh
npm install ep_prefer_color_scheme
pnpm add ep_prefer_color_scheme
yarn add ep_prefer_color_scheme
bun add ep_prefer_color_scheme
```

## Health

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

Positive: no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.0.53 |
| Published | 2026-09-21 |
| First published | 2023-10-25 |
| Weekly downloads | 260 |
| License | Apache-2.0 license |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=22.0.0 |
| Dependencies | 0 |
| Unpacked size | 195.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1 |
| Author | SamTV12345 |
| Maintainers | johnyma22, rhansen0, gared |
| Keywords | etherpad, color, skin, theme |

## Links

- npm: https://www.npmjs.com/package/ep_prefer_color_scheme
- Repository: https://github.com/ether/ep_prefer_color_scheme
- Issues: https://github.com/ether/ep_prefer_color_scheme/issues
- Funding: https://etherpad.org/
- npm.io page: https://npm.io/package/ep_prefer_color_scheme

## Alternatives

- [postcss-color-hex-alpha](https://npm.io/package/postcss-color-hex-alpha.md) — 6.4M weekly downloads
- [randomcolor](https://npm.io/package/randomcolor.md) — 348.0K weekly downloads
- [bows](https://npm.io/package/bows.md) — 1.3K weekly downloads
- [coc-yank](https://npm.io/package/coc-yank.md) — 61 weekly downloads
- [colour-proximity](https://npm.io/package/colour-proximity.md) — 49 weekly downloads

## Recent versions

- 0.0.53 (latest) — 2026-09-21
- 0.0.52 — 2026-06-30
- 0.0.51 — 2026-06-23
- 0.0.50 — 2026-06-18
- 0.0.49 — 2026-06-15
- 0.0.48 — 2026-05-15
- 0.0.47 — 2026-05-09
- 0.0.46 — 2026-05-09
- 0.0.45 — 2026-05-03
- 0.0.44 — 2026-05-02
- 0.0.43 — 2026-04-29
- 0.0.42 — 2026-04-28
- 0.0.41 — 2026-04-28
- 0.0.40 — 2026-04-17
- 0.0.39 — 2026-04-15
- … 25 more at https://npm.io/package/ep_prefer_color_scheme/versions

## README

![Demo](demo.gif) [![Backend Tests Status](https://github.com/ether/ep_prefer_color_scheme/actions/workflows/test-and-release.yml/badge.svg)](https://github.com/ether/ep_prefer_color_scheme/actions/workflows/test-and-release.yml)

# Make  Etherpad react to your systems default settings


For dark mode the following settings apply: 

```javascript
  const nightColors = {
    toolbar: 'dark',
    background: 'super-dark',
    editor: 'dark',
  }
```

For light mode: 

```javascript
  const dayColors = {
    toolbar: 'super-light',
    background: 'light',
    editor: 'super-light',
  }
```

## Installation

Install from the Etherpad admin UI (**Admin → Manage Plugins**,
search for `ep_prefer_color_scheme` and click *Install*), or from the Etherpad
root directory:

```sh
pnpm run plugins install ep_prefer_color_scheme
```

> ⚠️ Don't run `npm i` / `npm install` yourself from the Etherpad
> source tree — Etherpad tracks installed plugins through its own
> plugin-manager, and hand-editing `package.json` can leave the
> server unable to start.

After installing, restart Etherpad.

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