fix(web): the tutorial bulb is an svg, not an emoji #96

Merged
yuuhikaze merged 1 commit from fix/bulb-emoji into master 2026-10-25 19:29:39 -05:00
Owner

Closes #94

  • Replace the U+1F4A1+VS15 text glyph with a tiny inline SVG bulb outline (stroke="currentColor", fill="none", 24 viewBox, stroke-width 2), so rendering no longer depends on the font honoring text-presentation hints (Android ignores VS15 for emoji-default codepoints and shows the yellow color emoji).
  • Keep the surrounding [ ] brackets as text; the SVG inherits the amber --bulb color via the existing .bulb CSS and sits on the baseline (vertical-align: -0.15em, 1em x 0.95em).
  • Add aria-hidden="true" + focusable="false" to the SVG and drop the now-unused BULB const. Verified with desktop (1440x900@2x) and mobile-emulated (390x844@3x, Android UA) screenshots of the editor page: the bulb renders as a thin monochrome amber outline at ~14px in both.
Closes #94 - Replace the U+1F4A1+VS15 text glyph with a tiny inline SVG bulb outline (`stroke="currentColor"`, `fill="none"`, 24 viewBox, stroke-width 2), so rendering no longer depends on the font honoring text-presentation hints (Android ignores VS15 for emoji-default codepoints and shows the yellow color emoji). - Keep the surrounding `[ ` ` ]` brackets as text; the SVG inherits the amber `--bulb` color via the existing `.bulb` CSS and sits on the baseline (`vertical-align: -0.15em`, 1em x 0.95em). - Add `aria-hidden="true"` + `focusable="false"` to the SVG and drop the now-unused `BULB` const. Verified with desktop (1440x900@2x) and mobile-emulated (390x844@3x, Android UA) screenshots of the editor page: the bulb renders as a thin monochrome amber outline at ~14px in both.
fix(web): the tutorial bulb is an svg, not an emoji
All checks were successful
ci / web (pull_request) Successful in 6m32s
ci / rust (pull_request) Successful in 10m4s
ci / image (oven/bun:1.4.2-debian=docker-image://git.yhkze.net/actions/bun:1.4.2-debian node:22-bookworm-slim=docker-image://git.yhkze.net/actions/node:22-bookworm-slim , web, web.Dockerfile, rgxr-web) (pull_request) Has been skipped
ci / image (rust:1-slim-bookworm=docker-image://git.yhkze.net/actions/rust:1-slim-bookworm debian:bookworm-slim=docker-image://git.yhkze.net/actions/debian:bookworm-slim , ., api.Dockerfile, rgxr-api) (pull_request) Has been skipped
c7322cfed3
The tutorial bulb in the topbar was the U+1F4A1 emoji codepoint with a
VS15 text-presentation selector. Desktop fonts honor VS15, but Android
ignores it for emoji-default codepoints and renders the yellow color
emoji, breaking the terminal look. Replace it with a small inline SVG
bulb outline (stroke: currentColor) so rendering is font-independent,
keeping the brackets as text and the amber color from --bulb.

Closes #94
yuuhikaze merged commit 415a49b0c8 into master 2026-10-25 19:29:39 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
k8s-services/rgxr!96
No description provided.