Skip to content

Add remaining missing icons sourced from Phosphor for the lightspeed collection - #24

Merged
krugazul merged 2 commits into
developfrom
feature/ls-3229-source-remaining-lightspeed-icons
Sep 9, 2026
Merged

Add remaining missing icons sourced from Phosphor for the lightspeed collection#24
krugazul merged 2 commits into
developfrom
feature/ls-3229-source-remaining-lightspeed-icons

Conversation

@brandonmarshal

Copy link
Copy Markdown
Collaborator

Summary

Adds the 5 icons still missing from the lightspeed icon collection after #21, closing out the remainder of LS-3229's "Missing icons" cross-batch tracking list — the last icon-block instances across ls-theme that couldn't be converted to core/icon yet because no matching lightspeed/* icon existed.

New icons

  • notepad.svg — used by the homepage "Commercial" card (homepage-where-to-start.php)
  • clipboard-text.svg — used by the homepage "Process" card (homepage-where-to-start.php)
  • github.svg — used by the footer social-icon row (footer.php)
  • rocket-launch.svg — used by the services feature card (section-card-services.php)
  • buildings.svg — used by the consultation thank-you page (thank-you-consultation.php)

All 5 are sourced from phosphor-icons/core's assets/regular set and verified byte-for-byte against the SVG paths already embedded in the corresponding ls-theme icon-block instances (or, for rocket-launch/buildings, the plugin's own bundled icon name, which maps 1:1 to the same Phosphor identifier). Each file follows this collection's existing convention: viewBox="0 0 256 256", fill="currentColor" on <path> (not the <svg> root), matching assets/icons/lightspeed/README.md.

No PHP changes — LS_Plugin\Icons auto-registers every .svg dropped into assets/icons/lightspeed/ on init.

Test plan

  • npm run plugin:validate — passes
  • npm run security:scan — no new issues introduced by this branch (2 pre-existing warnings in taxonomy-filter/render.php, unrelated to this change)
  • xmllint --noout on all 5 new SVG files — valid XML
  • Each new SVG's <path d="..."> verified byte-for-byte against Phosphor's assets/regular source and/or the existing embedded SVG it replaces
  • Confirm all 5 new icons appear correctly in the block editor's icon picker on WordPress 7.1+
  • Visual comparison of each icon against the theme instance it's intended to replace, once ls-theme picks these up

Tracked under LS-3229.

Icons Added
- notepad.svg
- clipboard-text.svg
- github.svg
- rocket-launch.svg
- buildings.svg

Source
- Pulled from phosphor-icons/core assets/regular, byte-matched against the embedded SVGs already used in ls-theme's skipped icon-block instances
- fill="currentColor" placed on <path>, matching the sanitizer-safe convention documented in assets/icons/lightspeed/README.md

Context
- Closes the remaining gap in LS-3229's "Missing icons" tracking list
- Auto-registered by LS_Plugin\Icons on init — no PHP changes needed
@brandonmarshal brandonmarshal added area:block-editor Block/site editor work area:design-system Tokens/components guidelines labels Sep 9, 2026
@linear-code

linear-code Bot commented Sep 9, 2026

Copy link
Copy Markdown

LS-3229

@brandonmarshal brandonmarshal self-assigned this Sep 9, 2026
Context
- Documents the 5 new lightspeed icons added in PR #24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The changes are limited to new SVG assets that match the existing collection conventions, plus a straightforward changelog entry.

Pull request overview

This PR completes the lightspeed SVG icon collection by adding the remaining five missing Phosphor-sourced icons, enabling the outstanding ls-theme icon-block instances to migrate to core/icon without missing lightspeed/* mappings.

Changes:

  • Added five new SVGs to assets/icons/lightspeed/, following the collection’s single-path fill="currentColor" convention.
  • Updated the Unreleased changelog to record the new icons and the LS-3229 tracking closure.
File summaries
File Description
CHANGELOG.md Adds an Unreleased entry documenting the five new lightspeed icons and the LS-3229 closure.
assets/icons/lightspeed/rocket-launch.svg New Phosphor-sourced icon (sanitiser-compatible fill="currentColor" on <path>).
assets/icons/lightspeed/notepad.svg New Phosphor-sourced icon (sanitiser-compatible fill="currentColor" on <path>).
assets/icons/lightspeed/github.svg New Phosphor-sourced icon (sanitiser-compatible fill="currentColor" on <path>).
assets/icons/lightspeed/clipboard-text.svg New Phosphor-sourced icon (sanitiser-compatible fill="currentColor" on <path>).
assets/icons/lightspeed/buildings.svg New Phosphor-sourced icon (sanitiser-compatible fill="currentColor" on <path>).
Review details
  • Files reviewed: 1/6 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@krugazul
krugazul merged commit 145c44c into develop Sep 9, 2026
1 check passed
@krugazul
krugazul deleted the feature/ls-3229-source-remaining-lightspeed-icons branch September 9, 2026 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:block-editor Block/site editor work area:design-system Tokens/components guidelines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants