---
title: "@nuxtjs/color-mode 4.0.0 Breaking Changes on npm | Since.dev"
description: "What each @nuxtjs/color-mode release removed, renamed or changed: 7 breaking changes in 1 version on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@nuxtjs/color-mode
last_updated: 2026-12-04
---

# @nuxtjs/color-mode breaking changes

@nuxtjs/color-mode 4.0.0 (November 11, 2025) is its newest release with breaking changes, 7 of them. The first: v4 requires Nuxt 3+ and drops Nuxt Bridge in @nuxtjs/color-mode 4.0.0. Every breaking API change we have recorded in @nuxtjs/color-mode on npm: 7 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.2.0`, released December 4, 2026. [Source repository](https://github.com/nuxt-modules/color-mode)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

## @nuxtjs/color-mode 4.0.0 breaking changes

@nuxtjs/color-mode 4.0.0, released November 11, 2025: 7 breaking changes.

- **Removed**  

Projects on Nuxt Bridge must stay on v3; upgrade to Nuxt 3+ to use v4. [color-mode.nuxtjs.org](https://color-mode.nuxtjs.org/advanced/migration)
- **Removed**  

Nuxt Bridge is no longer supported; projects still on Bridge must stay on v3. [github.com](https://github.com/nuxt-modules/color-mode/releases/tag/v4.0.0)
- **Removed**  

The module no longer provides CommonJS builds; projects must use ESM. [github.com](https://github.com/nuxt-modules/color-mode/releases/tag/v4.0.0)
- **Removed** `ModuleOptions.hid`  

The defunct hid option is removed; delete it from the config. [npmjs.com](https://www.npmjs.com/package/@nuxtjs/color-mode/v/4.0.0)
- **Behavior changed** `colorMode.value`  

Setting colorMode.value is disallowed; set colorMode.preference instead. [github.com](https://github.com/nuxt-modules/color-mode/releases/tag/v4.0.0)
- **Default changed** `classSuffix`  

The default class suffix is no longer applied, so users relying on the -mode suffix must set classSuffix in their config or update CSS classes. [github.com](https://github.com/nuxt-modules/color-mode/releases/tag/v4.0.0)
- **Signature changed** `default`  

Was const \_default: \_nuxt_schema.NuxtModule<{preference: string; fallback: string; hid: string; globalName: string; componentName: string; classPrefix: string; classSuffix: string; dataValue: string; storageKey: string; storage... [npmjs.com](https://www.npmjs.com/package/@nuxtjs/color-mode/v/4.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
