Repository navigation
feat(editor): light mode - #36
Merged
Merged
Conversation
Follows the system theme, with a header button cycling system/light/dark (remembered). The page colors are CSS variables for both palettes; the 3D viewport (background, edges, grid, axes, vertex points, selection), the code editor and the loading veil switch with it, in place. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
What
Light mode for
sca edit.localStorage["sca-theme"]). A small script inindex.htmlsets the theme before first paint, so there is no flash.html.darkrestores the existing dark look); the Tailwind black/white literals (about 25 sites) became tokens. Light keeps the square black-and-white look with the four meaning inks darkened for contrast.src/scene/theme.ts): background, edge color, grid, axis gizmo, vertex points and the selection highlight.BRepRenderer.setThemerecolors in place, so the model, camera and picked selection are untouched.Checked (ego-browser)
systemfollows the emulated OS theme live; switching keeps the camera and the selection overlay.npm run build(tsc + vite) andpytest test/test_editor.pypass.Notes
LazyLoader ... 'cryptography' package is not installedwarning still shows in the first cell's output; unrelated to this change.