
本文以 macOS、Codex Desktop 26.707.x、Codex Dream Skin Studio 1.1.1 为例。第三方项目和 Codex 都可能更新,选择器或安装细节变动时,应以仓库最新 README 和实际 DOM 为准。
./scripts/doctor-macos.sh{ "pass": true, "officialAppSignatureValid": true, "modifiesAppAsar": false}ENOENT: no such file or directory, stat '.../assets/background-....jpg'"image": "portal-hero.png"./scripts/install-dream-skin-macos.sh --no-launch内容 | 路径 |
|---|---|
引擎 | ~/.codex/codex-dream-skin-studio |
状态、日志、用户图片 | ~/Library/Application Support/CodexDreamSkinStudio |
当前主题 | ~/Library/Application Support/CodexDreamSkinStudio/theme |
原主题备份 | ~/Library/Application Support/CodexDreamSkinStudio/theme-backup.json |
~/.codex/codex-dream-skin-studio/scripts/customize-theme-macos.sh \ --image "$HOME/Pictures/robot-meadow.png" \ --name "花田里的机器人" \ --tagline "在安静里,继续创造。" \ --quote "STAY CURIOUS" \ --accent "#E65A32" \ --secondary "#2BA7D8" \ --highlight "#087F69" \ --no-applyhtml.codex-dream-skin body,html.codex-dream-skin[data-dream-shell="light"] body { background-color: #071116 !important; background-image: linear-gradient( 110deg, rgba(3, 15, 24, .58) 0%, rgba(3, 18, 25, .28) 46%, rgba(2, 16, 21, .12) 100% ), var(--dream-skin-art) !important; background-position: center, center !important; background-size: cover, cover !important; background-repeat: no-repeat, no-repeat !important; background-attachment: fixed, fixed !important;}html.codex-dream-skin aside.app-shell-left-panel,html.codex-dream-skin[data-dream-shell="light"] aside.app-shell-left-panel { background: rgba(244, 250, 250, .66) !important; border-color: rgba(255, 255, 255, .32) !important; box-shadow: 10px 0 34px rgba(2, 23, 30, .12), inset -1px 0 rgba(255, 255, 255, .28) !important; backdrop-filter: blur(22px) saturate(122%) !important; -webkit-backdrop-filter: blur(22px) saturate(122%) !important;}html.codex-dream-skin main.main-surface,html.codex-dream-skin main.main-surface:not(.dream-skin-home-shell),html.codex-dream-skin[data-dream-shell="light"] main.main-surface,html.codex-dream-skin[data-dream-shell="light"] main.main-surface:not(.dream-skin-home-shell) { background: rgba(239, 248, 249, .36) !important; border-color: rgba(255, 255, 255, .30) !important; backdrop-filter: blur(5px) saturate(112%) !important; -webkit-backdrop-filter: blur(5px) saturate(112%) !important;}html.codex-dream-skin .composer-surface-chrome,html.codex-dream-skin[data-dream-shell="light"] .composer-surface-chrome { background: rgba(255, 255, 255, .82) !important; border-color: rgba(255, 255, 255, .56) !important; backdrop-filter: blur(20px) saturate(120%) !important; -webkit-backdrop-filter: blur(20px) saturate(120%) !important;}入口 | 图形设计 |
|---|---|
新建任务 | 机器人头部+机械加号 |
已安排 | 机械时钟+花朵 |
插件 | 机械拼图+花芯 |
站点 | 温室花田 |
拉取请求 | 藤蔓分支 |
聊天 | 机器人对话框 |
macos/assets/icons/├── new-task.svg├── scheduled.svg├── plugins.svg├── sites.svg├── pull-requests.svg└── chat.svgconst SIDEBAR_ICONS = [ { id: "new-task", labels: ["新建任务", "new task", "new thread"], svg: "..." }, { id: "scheduled", labels: ["已安排", "scheduled"], svg: "..." }, { id: "plugins", labels: ["插件", "plugins", "plugin"], svg: "..." }, { id: "sites", labels: ["站点", "sites", "site"], svg: "..." }, { id: "pull-requests", labels: ["拉取请求", "pull requests", "pull request"], svg: "..." }, { id: "chat", labels: ["聊天", "chat"], svg: "..." },];const label = ( candidate.getAttribute("aria-label") || candidate.getAttribute("title") || candidate.textContent || "") .replace(/\s+/g, " ") .trim() .toLowerCase() .replace(/[⌘⌥⌃⇧]+[a-z0-9]+$/i, "") .replace(/\s+\d+$/, "") .trim();const nativeIcon = [...row.querySelectorAll("svg")] .find((node) => !node.closest(".dream-sidebar-icon"));nativeIcon?.classList.add("dream-sidebar-native-icon");if ( nativeIcon?.parentElement && nativeIcon.parentElement !== row && nativeIcon.parentElement.children.length === 1) { nativeIcon.parentElement.classList.add("dream-sidebar-native-slot");}aside.app-shell-left-panel [data-dream-icon].dream-sidebar-native-slot { display: none !important;}.dream-sidebar-icon { width: 22px; height: 22px; min-width: 22px; display: inline-grid; place-items: center; color: #087f69; pointer-events: none;}cd ~/Documents/Codex-Dream-Skin-Work/Codex-Dream-Skin/macos./scripts/install-dream-skin-macos.sh --no-launch--remote-debugging-address=127.0.0.1--remote-debugging-port=9341Codex Dream Skin.command~/.codex/codex-dream-skin-studio/scripts/start-dream-skin-macos.sh \ --restart-existing~/.codex/codex-dream-skin-studio/scripts/status-dream-skin-macos.shsession=activeport=9341injector=truetheme=花田里的机器人~/.codex/codex-dream-skin-studio/scripts/verify-dream-skin-macos.shconst nativeIcon = [...row.querySelectorAll("svg")] .find((node) => !node.closest(".dream-sidebar-icon"));Codex Dream Skin - Restore.command~/.codex/codex-dream-skin-studio/scripts/restore-dream-skin-macos.sh \ --restore-base-theme \ --restart-codex