diff --git a/docs/usecolorscheme.md b/docs/usecolorscheme.md index 6b875303e02..54c0d983014 100644 --- a/docs/usecolorscheme.md +++ b/docs/usecolorscheme.md @@ -15,6 +15,8 @@ The `useColorScheme` React hook provides and subscribes to color scheme updates - `"dark"`: The user prefers a dark color theme. - `null`: The user has not indicated a preferred color theme. +> **Note:** Currently due to technical constraints, when the Chrome debugger is enabled, this hook will _always_ return `"light"`. + --- ## Example diff --git a/website/versioned_docs/version-0.64/usecolorscheme.md b/website/versioned_docs/version-0.64/usecolorscheme.md index 6b875303e02..54c0d983014 100644 --- a/website/versioned_docs/version-0.64/usecolorscheme.md +++ b/website/versioned_docs/version-0.64/usecolorscheme.md @@ -15,6 +15,8 @@ The `useColorScheme` React hook provides and subscribes to color scheme updates - `"dark"`: The user prefers a dark color theme. - `null`: The user has not indicated a preferred color theme. +> **Note:** Currently due to technical constraints, when the Chrome debugger is enabled, this hook will _always_ return `"light"`. + --- ## Example