You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 12c0630
Browse filesBrowse the repository at this point in the historyBrowse files
feat(ui): tune dark theme colors and make ToolStrip icons visible
## Summary of changes
### ToolStrip dark adaptation (LogTabWindow.cs)
- Add ConfigureToolStripDark(): installs a ToolStripManager global renderer
with a VS Dark-derived color palette. Bypasses ToolStripContainer's
TopToolStripPanel which forces RenderMode=System on every child bar.
- Add DarkToolStripRenderer: OnRenderItemImage inverts dark-mode PNG
glyphs via ColorMatrix so toolbar icons render as light-on-transparent
against the dark bar; OnRenderItemText forces light foreground text.
- Add DarkToolStripColorTable: override ProfessionalColorTable with
VS2015 Dark Theme surface/highlight/accent colors.
### Hard-coded color fixes
- PaintHelper.cs: soft off-white foreground (220 220 220) instead of
pure #FFFFFF to reduce eye strain; centralize bookmark marker color
as BookmarkMarkerTextColor property (brighter orange on dark).
- LogWindow.cs: bookmark column colors get more saturation on dark.
- LedIndicatorService.cs: off/neutral LEDs brightened on dark; signal
colors (red/orange/yellow/green) kept theme-independent.
- ColorComboBox.cs: border / text / hatch brush adapt to Application.IsDarkModeEnabled.
- HighlightEntryDialog.cs: preview label foreground fallback chooses
Color.White on dark instead of always falling back to Color.Black.
## Test plan
- [x] Build passes with 0 errors
- [x] OnRenderItemImage called and e.Image non-null at runtime
- [ ] Run dark mode and verify: toolbar icons visible, colors readable,
dropdowns, hover/pressed states, dialog previews
## Risk
- ToolStripManager.VisualStylesEnabled = false is app-global (only set
in dark mode). Other dialogs with ToolStrips not yet verified.
- ColorMatrix inverts ALL RGB channels — correct for monochrome glyphs
but would flip semantic colored icons if any are added later.
0 commit comments