Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
3 changes: 1 addition & 2 deletions src/native-dock.css
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
4 changes: 2 additions & 2 deletions tests/source-contract.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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", () => {
Expand Down
Loading