Skip to content

fix: icon color matches badge background, making it invisible - #53

Merged
aesslinger merged 2 commits into
mainfrom
fix/icon-invisible-against-badge
Aug 25, 2026
Merged

fix: icon color matches badge background, making it invisible#53
aesslinger merged 2 commits into
mainfrom
fix/icon-invisible-against-badge

Conversation

@aesslinger

Copy link
Copy Markdown
Collaborator

Summary

  • The driver badge color in .tabularium (#336791) is identical to the icon SVG's fill/stroke (#336791), so the icon is invisible against its own badge on every connection using this driver.
  • Switches the icon's fill/stroke to white (#ffffff), giving ~5.9:1 contrast against the fixed #336791 badge background — passes WCAG AA and is unaffected by app light/dark theme since the badge color itself doesn't change with theme.

Closes #52

Test plan

  • Load the plugin in Tabularis and confirm the PostgreSQL icon is visible on connection cards/badges

…ible

.tabularium sets the driver badge color to #336791, and the icon SVG
used the same #336791 for fill/stroke, so the mark had zero contrast
against its own badge. Switch the icon to white so it reads on the
fixed badge background regardless of app theme.
@aesslinger aesslinger added the prerelease:beta Version suggestion targets a beta prerelease label Aug 25, 2026
@aesslinger aesslinger self-assigned this Aug 25, 2026
@github-actions

Copy link
Copy Markdown

Version suggestion

Based on this PR's title (fix) and the prerelease:beta label:

Current 1.0.0-beta.8
Suggested next tag v1.0.0-beta.9

This is informational only — no tag or release is created automatically yet.

@aesslinger
aesslinger merged commit ba05eff into main Aug 25, 2026
7 checks passed
@aesslinger
aesslinger deleted the fix/icon-invisible-against-badge branch August 25, 2026 13:44
aesslinger added a commit that referenced this pull request Aug 25, 2026
Continuation of the beta line after PR #53 (driver icon rendered
invisible because .tabularium's badge color and the icon SVG's
fill/stroke were both #336791) and PR #50 (uuid 1.24.0 -> 1.24.1
patch bump, non-ASCII parse-diagnostics fix, no overlap with this
plugin's v4 generation/serde usage).

Verified: .tabularium re-validated as valid JSON; cargo build/test
(114 unit + 8 live-DB against the local pg-tabularis-test container)/
clippy/fmt all pass; markdownlint clean on CHANGELOG.md.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

prerelease:beta Version suggestion targets a beta prerelease

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PostgreSQL driver icon is invisible: badge color matches SVG fill/stroke

1 participant