Skip to content

fix: TIA-598 colour badges + tracer node legibility (v0.3.4)#22

Merged
iamjohnnymac merged 1 commit into
mainfrom
fix/audit-polish-v0.3.4
May 19, 2026
Merged

fix: TIA-598 colour badges + tracer node legibility (v0.3.4)#22
iamjohnnymac merged 1 commit into
mainfrom
fix/audit-polish-v0.3.4

Conversation

@iamjohnnymac

Copy link
Copy Markdown
Owner

Polish-pass hotfix from project audit.

  1. Blue/Black/White badge overrides so TIA-598 colour codes are visible on dark theme.
  2. Core tracer hop nodes get more breathing room (min-width + font-size bumps).

CSS only — no template/JS/model changes.

Polish-pass hotfix from the v0.3.x project audit.

Two UX issues:

1. TIA-598 strand colour badges: NetBox's default palette renders
   blue as a muted grey on dark theme, black is invisible, and white
   has poor contrast. Strand colour codes are FUNCTIONAL info -- you
   identify a fibre by its position colour -- so accuracy matters.
   Added CSS overrides for .badge.text-bg-blue (#1976d2),
   .badge.text-bg-black (#1a1a1a + light text + outline), and
   .badge.text-bg-white (light bg + dark text + outline). Global by
   design -- boosting these three is a net improvement everywhere.

2. Core tracer hop nodes were cramped at typical viewport widths.
   Bumped min-width 120 -> 160 px, font-size 12 -> 13 px, sub-font
   sizes 10/11 -> 11/12 px. No template / JS change.

Both spotted during the project-wide Chrome walkthrough on CT 109.
@iamjohnnymac iamjohnnymac merged commit ff54dc6 into main May 19, 2026
2 checks passed
@iamjohnnymac iamjohnnymac deleted the fix/audit-polish-v0.3.4 branch May 19, 2026 00:44
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