Skip to content

feat(highlight): highlight colours set by the app - #215

Draft
JulienChampagnol wants to merge 7 commits into
nextfrom
feat/component_light_viewables
Draft

JulienChampagnol wants to merge 7 commits into
nextfrom
feat/component_light_viewables

Conversation

@JulienChampagnol

@JulienChampagnol JulienChampagnol commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

What

  • New RPC viewer.set_highlight_colors (all ColorRGB): color (some components, a picked cell or point), outline_color (picked cell outline), surfaces_color, lines_color, corners_color (a whole model highlighted; blocks take surfaces_color).
  • The colours are kept for the session and restyle the highlights already loaded. Without the call, and after reset_visualization, the viewer uses brand-neutral teal defaults.
  • Whole components highlighted from the tree show in plain colour, without an outline on every cell that hid the colour of surfaces; a picked cell keeps its outline.
  • A highlight of the whole model shows each component type in its own colour.

Each app sets its colours through the Front's ogwFront.highlightColors (Vease: brand Orange, Auburn, Anthracite).

Depends on

Tests

  • tests/test_highlight_style.py: defaults, app colours, existing actors restyled, reset, whole model per-type colours.
  • tests/test_viewer_protocols.py: a highlight already shown takes the app colours (image).

🤖 Generated with Claude Code

JulienChampagnol and others added 7 commits December 2, 2026 15:04
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Outlining every cell of a highlighted surface hid its color under the edges.
A picked cell is still outlined.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A highlight of every component of a model shows surfaces in brand Orange,
lines in Auburn and corners in Anthracite. Some components, or a picked
cell, stay in Orange.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A new viewer.set_highlight_colors RPC sets the highlight, outline and
whole-model component type colours for the session, restyling the
highlights already loaded. Without it, and after reset_visualization, the
viewer uses brand-neutral teal defaults.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@JulienChampagnol JulienChampagnol changed the title feat(highlight): brand colours for highlights feat(highlight): highlight colours set by the app Dec 3, 2026
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.

1 participant