Skip to content

fix: toolbar puzzle piece icon invisible in Steam themes#95

Open
AzaelMew wants to merge 1 commit into
BossSloth:mainfrom
AzaelMew:fix/puzzle-piece-toolbar-icon
Open

fix: toolbar puzzle piece icon invisible in Steam themes#95
AzaelMew wants to merge 1 commit into
BossSloth:mainfrom
AzaelMew:fix/puzzle-piece-toolbar-icon

Conversation

@AzaelMew
Copy link
Copy Markdown

Summary

The puzzle piece icon (IoExtensionPuzzleOutline) in the URL bar toolbar was invisible — Steam's CSS overrides color on elements inside buttons, causing the SVG's stroke="currentColor" to resolve to an invisible value. This is the same class of issue as #37f54f7 (invisible extension buttons on Fluenty theme), which only fixed display.

  • Force color, stroke, and fill on .extension-button svg to use $primary-text-color (white 90% opacity), overriding Steam theme CSS
  • Remove hardcoded color="gray" from IoExtensionPuzzleOutline so the CSS override takes effect instead of being masked by the inline style

Testing

Tested on Millennium 3.0.0-beta 24.

AI Usage

This PR was developed with assistance from Claude Code (Claude Opus 4.7). The analysis, diagnosis, and fix were AI-assisted.

SVG icons in the extension bar relied on `currentColor` for stroke/fill
inheritance, but Steam's CSS overrides `color` on elements inside buttons,
causing the outline puzzle piece icon to render with an invisible stroke.

- Force `color`, `stroke`, and `fill` on `.extension-button svg` to use
  `$primary-text-color` (white 90% opacity), overriding Steam theme CSS
- Remove hardcoded `color="gray"` from IoExtensionPuzzleOutline so CSS
  override takes effect instead of being masked by inline style

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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