Skip to content

Commit eaff67e

Browse files
committed
fix!: remove defunct hid option
1 parent 7cce31d commit eaff67e

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

docs/content/2.usage/3.configuration.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export default defineNuxtConfig({
1313
colorMode: {
1414
preference: 'system', // default value of $colorMode.preference
1515
fallback: 'light', // fallback value if not system preference found
16-
hid: 'nuxt-color-mode-script',
1716
globalName: '__NUXT_COLOR_MODE__',
1817
componentName: 'ColorScheme',
1918
classPrefix: '',

src/module.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import type { ColorModeStorage } from './runtime/types'
1111
const DEFAULTS: ModuleOptions = {
1212
preference: 'system',
1313
fallback: 'light',
14-
hid: 'nuxt-color-mode-script',
1514
globalName: '__NUXT_COLOR_MODE__',
1615
componentName: 'ColorScheme',
1716
classPrefix: '',
@@ -94,10 +93,6 @@ export interface ModuleOptions {
9493
* @default `light`
9594
*/
9695
fallback: string
97-
/**
98-
* @default `nuxt-color-mode-script`
99-
*/
100-
hid: string
10196
/**
10297
* @default `__NUXT_COLOR_MODE__`
10398
*/

0 commit comments

Comments
 (0)