Skip to content

add extra for codex#51

Open
stefanofusai wants to merge 2 commits into
webhooked:mainfrom
stefanofusai:feat/codex-extra
Open

add extra for codex#51
stefanofusai wants to merge 2 commits into
webhooked:mainfrom
stefanofusai:feat/codex-extra

Conversation

@stefanofusai

@stefanofusai stefanofusai commented Feb 24, 2026

Copy link
Copy Markdown

Summary

  • add extras/codex/ with Kanso Ink, Mist, Pearl, and Zen .tmTheme files
  • map TextMate scopes to each palette's syntax/UI colors
  • add Codex extras link in README

Notes

Copilot AI review requested due to automatic review settings February 24, 2026 18:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new “Codex” extra by introducing TextMate .tmTheme theme files for the four Kansō palettes and linking the new extra from the main README.

Changes:

  • Add four new TextMate theme files for Codex: Ink, Mist, Pearl, and Zen.
  • Define base UI colors plus TextMate scope mappings for common syntax/markup/diff scopes.
  • Add an entry in the README “Extras” list pointing to extras/codex/.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
extras/codex/kanso-ink.tmTheme New TextMate theme file for the Ink palette.
extras/codex/kanso-mist.tmTheme New TextMate theme file for the Mist palette.
extras/codex/kanso-pearl.tmTheme New TextMate theme file for the Pearl palette.
extras/codex/kanso-zen.tmTheme New TextMate theme file for the Zen palette.
README.md Adds a link in the Extras list to the new Codex directory.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +203 to +206
<string>Invalid / Deprecated</string>
<key>scope</key>
<string>invalid, invalid.deprecated, markup.deleted.git_gutter</string>
<key>settings</key>

Copilot AI Feb 24, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The “Invalid / Deprecated” rule includes the scope markup.deleted.git_gutter, which is unrelated to invalid/deprecated tokens and can cause Git gutter deletions to inherit the invalid styling (e.g., strikethrough/gray). Consider removing markup.deleted.git_gutter from this rule and, if needed, adding a dedicated rule for git_gutter scopes.

Copilot uses AI. Check for mistakes.
Comment on lines +299 to +316
<string>Diff Added</string>
<key>scope</key>
<string>markup.inserted, markup.inserted.diff, meta.diff.header.from-file</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#6E915F</string>
<key>background</key>
<string>#B7D0AE</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Diff Removed</string>
<key>scope</key>
<string>markup.deleted, markup.deleted.diff, meta.diff.header.to-file</string>
<key>settings</key>

Copilot AI Feb 24, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The diff header scopes look swapped: meta.diff.header.from-file is grouped under “Diff Added” and meta.diff.header.to-file under “Diff Removed”. Typically “from-file” corresponds to deletions and “to-file” to additions; consider swapping these (or removing the header scopes from these rules) so headers match the correct diff side.

Copilot uses AI. Check for mistakes.
Comment on lines +203 to +206
<string>Invalid / Deprecated</string>
<key>scope</key>
<string>invalid, invalid.deprecated, markup.deleted.git_gutter</string>
<key>settings</key>

Copilot AI Feb 24, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The “Invalid / Deprecated” rule includes the scope markup.deleted.git_gutter, which is unrelated to invalid/deprecated tokens and can cause Git gutter deletions to inherit the invalid styling (e.g., strikethrough/gray). Consider removing markup.deleted.git_gutter from this rule and, if needed, adding a dedicated rule for git_gutter scopes.

Copilot uses AI. Check for mistakes.
Comment on lines +299 to +316
<string>Diff Added</string>
<key>scope</key>
<string>markup.inserted, markup.inserted.diff, meta.diff.header.from-file</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#76946A</string>
<key>background</key>
<string>#2B3328</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Diff Removed</string>
<key>scope</key>
<string>markup.deleted, markup.deleted.diff, meta.diff.header.to-file</string>
<key>settings</key>

Copilot AI Feb 24, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The diff header scopes look swapped: meta.diff.header.from-file is grouped under “Diff Added” and meta.diff.header.to-file under “Diff Removed”. Typically “from-file” corresponds to deletions and “to-file” to additions; consider swapping these (or removing the header scopes from these rules) so headers match the correct diff side.

Copilot uses AI. Check for mistakes.
Comment on lines +203 to +206
<string>Invalid / Deprecated</string>
<key>scope</key>
<string>invalid, invalid.deprecated, markup.deleted.git_gutter</string>
<key>settings</key>

Copilot AI Feb 24, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The “Invalid / Deprecated” rule includes the scope markup.deleted.git_gutter, which is unrelated to invalid/deprecated tokens and can cause Git gutter deletions to inherit the invalid styling (e.g., strikethrough/gray). Consider removing markup.deleted.git_gutter from this rule and, if needed, adding a dedicated rule for git_gutter scopes.

Copilot uses AI. Check for mistakes.
Comment on lines +299 to +316
<string>Diff Added</string>
<key>scope</key>
<string>markup.inserted, markup.inserted.diff, meta.diff.header.from-file</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#76946A</string>
<key>background</key>
<string>#2B3328</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Diff Removed</string>
<key>scope</key>
<string>markup.deleted, markup.deleted.diff, meta.diff.header.to-file</string>
<key>settings</key>

Copilot AI Feb 24, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The diff header scopes look swapped: meta.diff.header.from-file is grouped under “Diff Added” and meta.diff.header.to-file under “Diff Removed”. Typically “from-file” corresponds to deletions and “to-file” to additions; consider swapping these (or removing the header scopes from these rules) so headers match the correct diff side.

Copilot uses AI. Check for mistakes.
<key>name</key>
<string>Invalid / Deprecated</string>
<key>scope</key>
<string>invalid, invalid.deprecated, markup.deleted.git_gutter</string>

Copilot AI Feb 24, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The “Invalid / Deprecated” rule includes the scope markup.deleted.git_gutter, which is unrelated to invalid/deprecated tokens and can cause Git gutter deletions to inherit the invalid styling (e.g., strikethrough/gray). Consider removing markup.deleted.git_gutter from this rule and, if needed, adding a dedicated rule for git_gutter scopes.

Suggested change
<string>invalid, invalid.deprecated, markup.deleted.git_gutter</string>
<string>invalid, invalid.deprecated</string>

Copilot uses AI. Check for mistakes.
Comment on lines +299 to +316
<string>Diff Added</string>
<key>scope</key>
<string>markup.inserted, markup.inserted.diff, meta.diff.header.from-file</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#76946A</string>
<key>background</key>
<string>#2B3328</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Diff Removed</string>
<key>scope</key>
<string>markup.deleted, markup.deleted.diff, meta.diff.header.to-file</string>
<key>settings</key>

Copilot AI Feb 24, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The diff header scopes look swapped: meta.diff.header.from-file is grouped under “Diff Added” and meta.diff.header.to-file under “Diff Removed”. Typically “from-file” corresponds to deletions and “to-file” to additions; consider swapping these (or removing the header scopes from these rules) so headers match the correct diff side.

Copilot uses AI. Check for mistakes.
@stefanofusai

Copy link
Copy Markdown
Author

Codex 0.105.0 has now been released! https://github.com/openai/codex/releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants