Repository navigation
Adopt d41sys/ours icon system (brand pipeline, two-tone shelves, 16px starters) in window/ui and native - #387
Merged
Merged
Conversation
Brings all three custom icon layers from d41sys/ours on top of lucide-react
to both window/ui and native (weft):
1. Offline brand-icon pipeline (dev-only simple-icons generator):
- window/ui/scripts/build-brand-icons.mjs reads src/brandSlugs.ts and
emits 45 monochrome 24x24 marks into both window/ui/src/brandIcons.generated.ts
and native/src/brand_icons_data.rs (single source of truth, zero runtime
dependencies, zero network calls).
- Wired BrandIcon/BrandGlyph and TrademarkNote into Connectors, Connector
Catalog, Channels (Telegram, Discord), and Engine/Adapter rows (Claude
Code, Codex, opencode, Gemini CLI) in both window/ui and native.
2. Two-tone active-fill sidebar shelf & action marks:
- window/ui/src/ShelfIcons.ts (createLucideIcon with .bate-shelf-fill 16%
active wash and .bate-duo) and matching native/src/icons.rs Shelf enum +
two-tone NewConversation glyph.
3. 16x16 pixel-snapped empty-chat starter marks:
- window/ui/src/StarterIcons.ts and matching native/src/icons.rs StarterMark
enum drawn 1:1 on a 16x16 grid with 1.2px strokes and subtle two-tone wash.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Brings all three custom icon layers from
d41sys/ourson top oflucide-reactinto bothwindow/uiandnative(weft):simple-iconsdev-only generator):simple-iconsas adevDependencyinwindow/ui/package.jsonplusnpm run build:brand-icons(window/ui/scripts/build-brand-icons.mjs+window/ui/src/brandSlugs.ts).window/ui/src/brandIcons.generated.tsandnative/src/brand_icons_data.rs(zero runtime dependencies, zero network calls, build-time slug validation).BrandIcon/BrandGlyph/TrademarkNote(window/ui/src/BrandIcon.tsx,native/src/brand_icons.rs) with initials monogram fallback, wired into:Telegram,Discordglyphs)Claude Code,Codex,opencode,Gemini CLI)window/ui/src/ShelfIcons.ts(ActivityShelfIcon,ProjectShelfIcon,AddonsShelfIcon,SettingsShelfIcon,NewTalkIcon) with.bate-shelf-fill(16%currentColorwash when active) and.bate-duo, mirrored innative/src/icons.rs(Shelf+sign_shelf, two-toneGlyph::NewConversation) andnative/src/view.rs.window/ui/src/StarterIcons.ts(PlanTaskMark,ExplainFileMark,ReviewChangesMark,WriteDraftMark) drawn at 1:1 on a 16×16 grid with 1.2px strokes, mirrored innative/src/icons.rs(StarterMark+sign_starter) andnative/src/starters.rs.Evidence
connectors,connectors-catalog,channels, andlater-starters) — confirmed crisp stepped brand tiles, Telegram/Discord glyphs, active shelf wash, and 16px starter marks..tree+ paired.pngfor connectors, channels, menu-addons, and starter PNGs) and updatednative/tests/addons_metrics.rsto verify the brand-mark width and gap againstwindow/ui/src/style.css.cd window/ui && npm run build && npm test(146/146 tests includingbrandIcons.test.ts,style.test.ts,tokens.test.ts)cargo fmt --all --checkcargo clippy --workspace --all-targets --locked -- -D warningscargo test --workspace --lockedMerge Danger
window/uiandnative; no protocol, daemon, sandbox, or runtime dependency changes (simple-iconsis adevDependencyonly).Device decision