Skip to content

Fix the transparent theme so &theme=transparent actually renders transparent#26

Open
eudanielhenrique wants to merge 1 commit into
Jurredr:masterfrom
eudanielhenrique:fix/transparent-theme
Open

Fix the transparent theme so &theme=transparent actually renders transparent#26
eudanielhenrique wants to merge 1 commit into
Jurredr:masterfrom
eudanielhenrique:fix/transparent-theme

Conversation

@eudanielhenrique

Copy link
Copy Markdown
Contributor

Closes #14.

The transparent theme already existed in themes.ts but was broken: background was 'ffffff00' without the leading #, and title/subtitle were missing # too, so none of them were valid SVG paint values (they'd fall back to default/invalid rendering rather than being transparent).

Fixed the hex values, and changed background to 'none' rather than an alpha-channel hex, since fill="none" is universally supported by SVG renderers — an 8-digit #RRGGBBAA alpha hex depends on renderer support that isn't guaranteed everywhere this gets embedded (e.g. some Markdown/image proxies).

Documented &theme=transparent in the README.

Test plan

  • npm run build compiles cleanly
  • Verified the compiled theme data emits fill="none" for the card background

…ers transparent

Closes Jurredr#14.

The theme already existed but was broken: background was 'ffffff00'
without the leading '#', and title/subtitle were missing '#' too, so
none of them were valid SVG paint values. Fixed the hex values and
changed the background to 'none' (rather than an alpha-channel hex)
since that's universally supported by SVG renderers, unlike 8-digit
#RRGGBBAA which depends on the renderer.
Copilot AI review requested due to automatic review settings July 14, 2026 12:42
@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

@eudanielhenrique is attempting to deploy a commit to the Jurre's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

Support transparent background

2 participants