Skip to content

feat: real Simple Icons brand glyphs in treemap#6

Merged
singaraiona merged 1 commit into
mainfrom
feat/brand-language-icons
May 1, 2026
Merged

feat: real Simple Icons brand glyphs in treemap#6
singaraiona merged 1 commit into
mainfrom
feat/brand-language-icons

Conversation

@singaraiona
Copy link
Copy Markdown
Contributor

Summary

  • Replace hand-rolled approximate language SVG glyphs with the official Simple Icons (CC0, public domain) paths for all sixteen languages we classify.
  • Drop the unused FILE fallback constant — every key now has a real brand mark.
  • No data-side changes; lookup keys already match what `language_name()` and the plugin catalog emit.

Test plan

  • `cargo fmt --check`
  • `cargo test --lib` — 123 passed
  • Live UI smoke (`raysense . --ui 7000`) — Rust gear, C mark, TOML brackets, etc. all render in their tiles
  • Forbidden-name scan on the diff

The previous LANG_ICON map was a set of approximate single-path SVG
shapes. Recognisable but not pixel-accurate, and the FILE fallback for
TOML/YAML/JSON looked indistinguishable from any other plain-document
glyph.

Swap in the official Simple Icons (CC0, public domain) paths for all
sixteen languages we currently classify: rust, c, cpp, python,
typescript, javascript, go, java, ruby, markdown, toml, yaml, json,
html, css, shell. Each language now renders its own well-designed,
instantly recognisable brand mark in the treemap.

The lookup keys already match the names emitted by language_name() and
the standard plugin catalog, so every tile gets a glyph without further
plumbing. Drop the now-unused FILE constant.
@singaraiona singaraiona merged commit 56eb634 into main May 1, 2026
1 check passed
@singaraiona singaraiona deleted the feat/brand-language-icons branch May 1, 2026 15:46
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