Repository navigation
feat: add native Xcode 27 workspace themes - #24
Open
kylereddoch wants to merge 1 commit into
Open
kylereddoch wants to merge 1 commit into
kylereddoch wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Xcode 27 can import the existing classic themes, but in my Xcode 27.1 test the conversion changed their RGB values. This adds native
.xcworkspacecolorthemefiles for all four flavors, preserving the intended palette values and directly corresponding syntax assignments.Related to #22. This contribution is adapted from my native Xcode theme project, with the comparison and original test record linked for context.
Changes
themes/xcode-27/, with 38 explicit native color overrides, solid backgrounds and light/dark metadata.Validation
Tested Xcode 27.1 (27A9269) on macOS 27.2 (26B5091g). All four legacy flavors imported successfully with colors enabled and fonts/cursor shape disabled. For example, Mocha text displayed as
#D6DFF6after classic import versus the source/native#CDD6F4.All four native themes loaded through direct installation. Their Plain Text and Debugger controls matched the intended values; Latte's light-appearance syntax controls were also spot-checked. The generated native files in this PR are byte-identical to those tested files.
Local checks pass:
python3 scripts/generate_native.py --checkpython3 -m unittest discover -s tests -v— four tests covering all flavors, direct color parity, exhaustive legacy setting classification, native metadata/fallbacks and input validationgit diff --checkScope for review
This does not claim complete visual parity with every legacy setting. Separate console colors, rendered markup, scrollbar markers and some syntax subcategories lack a verified one-to-one native control. Fonts remain separate. Broader console/diagnostic/workspace and language-specific visual review is still needed; the documentation distinguishes those gaps from the verified assignments.
I am happy to adjust the native generation layout or palette choices to the maintainers' preferred approach.