diff --git a/CHANGELOG.md b/CHANGELOG.md index fffe4d9..cfb4d5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,6 @@ - Add focus timer, native sidebar toggle, current/previous turn navigation, and latest-message navigation. - Hide quota details in ChatGPT mode. -- Use a fixed Codex-native dark palette with no third-party theme detection. +- Use a consistent Codex-native dark palette. - Add verified portable Node.js fallback, one-click Windows install, live verification, and reversible uninstall. diff --git a/README.md b/README.md index 9f1cb9a..e649eb8 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![test](https://github.com/Alert886/Codex-Native-Dock/actions/workflows/test.yml/badge.svg)](https://github.com/Alert886/Codex-Native-Dock/actions/workflows/test.yml) -把“剩余额度细条”和“右下角快捷控制栏”合并成一个轻量组件,保持固定的 **Codex 原生深色配色**。它不会读取或自动适配 Dream Skin、长夜月、满穗或其他第三方主题。 +把“剩余额度细条”和“右下角快捷控制栏”合并成一个轻量组件,保持固定的 **Codex 原生深色配色**。 ![Codex Native Dock preview](docs/preview.svg) diff --git a/src/native-dock.css b/src/native-dock.css index 08ae416..a45c944 100644 --- a/src/native-dock.css +++ b/src/native-dock.css @@ -1,5 +1,4 @@ -/* Fixed Codex-native palette. This project deliberately does not inspect or - adapt to Dream Skin, wallpaper, character, or third-party theme state. */ +/* Fixed Codex-native palette. */ #codex-native-dock-root { --cnd-bg: rgb(24 24 27 / .94); --cnd-bg-raised: rgb(32 33 36 / .97); diff --git a/tests/source-contract.test.mjs b/tests/source-contract.test.mjs index 4ca2aea..986c9fd 100644 --- a/tests/source-contract.test.mjs +++ b/tests/source-contract.test.mjs @@ -28,10 +28,10 @@ test("meter follows the live composer without geometry transitions", () => { assert.match(css, /#codex-native-dock-root \.cnd-usage[\s\S]*?transition: none !important/); }); -test("palette is fixed and does not inspect third-party theme state", () => { +test("palette remains fixed", () => { assert.match(css, /--cnd-bg: rgb\(24 24 27/); assert.match(renderer, /adaptiveTheme: false/); - assert.doesNotMatch(renderer, /CodexDreamSkin|active-theme|wallpaper|data-theme|prefers-color-scheme/); + assert.doesNotMatch(renderer, /active-theme|wallpaper|data-theme|prefers-color-scheme/); }); test("ChatGPT hides quota while controls remain available", () => {