Repository navigation
feat(native): add contrast, glass and theme library - #127
Merged
Merged
Conversation
rynfar
force-pushed
the
nw/1-appearance-themes
branch
from
November 3, 2026 13:49
5fbf292 to
5752253
Compare
This was referenced Nov 3, 2026
Open
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.
Native Appearance only offered built-in themes and could not apply the web's contrast or glass settings. This slice ports the remaining color controls and the theme library while keeping the theme editor separate.
Refs #1. ST-APPEARANCE and AP-THEME stay partial: theme editing and clipboard import are outside this slice. Duplicate saves a copy directly because the editor is absent. Marketplace search/download is not part of this file-import slice. Multi-file import, import-name collision resolution across files, and automatic light/dark VS Code file pairing remain an explicit gap; Add theme currently accepts one file at a time. Earlier typography gaps (real embedded previews, non-monospace rejection UI, font inventory refresh) remain.
Validation: 1,138 native workspace tests pass. Workspace Clippy with warnings denied; snapshot build; theme generation, parity sync and client-runtime conformance checks;
vp run check:changed. Core tests compare all default/built-in palette tokens to generated web output, seed colors to fixtures produced by the web's pure derivation, and exercise import validation, VS Code JSONC/alpha/readability, library preservation, half fallback, removal and streamed themes.Offscreen evidence against a copied smoke home (local PNGs, not uploaded):
/private/tmp/native-1-evidence/before-appearance.png/private/tmp/native-1-evidence/default-appearance.png,/private/tmp/native-1-evidence/default-thread.png/private/tmp/native-1-evidence/high-contrast-appearance.png,/private/tmp/native-1-evidence/high-contrast-thread.png/private/tmp/native-1-evidence/glass-40-appearance.png,/private/tmp/native-1-evidence/glass-40-thread.png/private/tmp/native-1-evidence/imported-appearance.png,/private/tmp/native-1-evidence/imported-thread.png/private/tmp/native-1-evidence/environment-selected.png/private/tmp/native-1-evidence/duplicate-appearance.png,/private/tmp/native-1-evidence/remove-confirmation.png/private/tmp/native-1-evidence/vscode-import.pngThe final workspace run passed after an isolated pass of the existing SSH launch-PID test, which had failed once during the preceding concurrent run. Logs:
/private/tmp/native-1-review-final2-clippy.log,/private/tmp/native-1-review-final3-workspace.log,/private/tmp/native-1-review-final2-check-changed.log,/private/tmp/native-1-review-ssh-diagnostic.log.Unverified: real native file dialogs and real-window blur (offscreen-only factory), remote/relay/tunnel visual checks, marketplace flows. No server or provider behavior changed; no turns, server writes, new servers, clipboard access, live install access, or edits to #124's file boundaries.
Additional review evidence:
/private/tmp/native-1-evidence/before-light-composer.png,/private/tmp/native-1-evidence/review-light-composer.png,/private/tmp/native-1-evidence/review-reimport.png,/private/tmp/native-1-evidence/review-update.png,/private/tmp/native-1-evidence/review-copy.png,/private/tmp/native-1-evidence/review-collection.png,/private/tmp/native-1-evidence/review-collection-variants.png,/private/tmp/native-1-evidence/review-environment.png,/private/tmp/native-1-evidence/review-p3.png. Failing-first logs:/private/tmp/native-1-review-red-core.log,/private/tmp/native-1-review-red-client.log,/private/tmp/native-1-review-red-worker.log.Built with GPT-6.1 Sol in Codex