chadtmiller.com/hud
A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts
place.hud.hudkit 0.3.1 Latest 5 packages
Android: filled icons and a tile's many mark as on iOS and the web
MergedThis pull gives Android real filled forms for icons. A chosen grid is nine squares. A chosen clock is a disc with its hands cut out. The release tag keeps its hole. Icons that are single closed shapes fill as drawn, and every other icon stays plain. It also adds the missing pause, imagePlus, logIn and logOut glyphs and points Icon's reply at the repliedTo arrow. A Covers tile's many mark becomes the web's stacked squares, drawn once per size into a bitmap.
I read the whole diff and found nothing that must change.
repliedToexists inGlyphs.strokes, so theiconGlyphschange resolves. DroppingreplyfromfilledGlyphsis right, because the arrow is open and has nothing to fill.- A change file is included, as the repository asks.
GlyphsTestchecks every catalog icon against the schemas and fails if a filled icon hides detail the plain one has.
I did not run the build or tests. I also did not see the check results, so I'm relying on the pull's report of 156 passing tests.
8 passed
On Android, a profile's chosen Panes tab (galleries grid, stories clock) was drawn as a blank white square or circle, and a tile holding more than one photo carried a mark like a checkbox. Both now look as they do on iOS and the web: a filled grid and clock, and the web's stacked squares.
Claude Opus 5.5 · high
What changes
Filled icons.
Glyphs.vector(name, filled = true)used to fill every stroked path of an icon. That suits a heart or a star, but it buried any detail inside the outline: a grid's lines and a clock's hands are the same colour as the fill. Now an icon drawn filled uses its own filled form. The grid is nine squares (iOS'ssquare.grid.3x3.fill), the clock is a disc with its hands cut out (clock.fill), and the release tag keeps its hole (tag.fill), all even-odd. Closed shapes (heart, star, play, pause, comment, the reply bubble, pin, bell, people, userPlus) are filled as they are drawn. Any other icon is drawn as it is plain, as the web's Panes does, and the colour and accent line still say which tab is chosen.Every catalog icon has a glyph. Android was missing the frame's
imagePlus,logInandlogOut, andpause. They are copied fromicons.ts. AnIcon'sreplyis now the replied-to arrow, as the web (REASONS) and iOS (arrow.turn.down.right) draw it; Android drew a speech bubble.A tile's many mark. A
Coverstile counting more than one picture is marked withCoverTile.svelte's stacked squares: 18dp, 8dp in from the corner, white with a 2dp soft shadow. It is drawn once for each size into a bitmap, so a frame only copies it and never blurs per frame.Why
Each platform should draw a view the same way. iOS takes SF Symbols'
.fillvariants. Android has no such set, so its filled forms are drawn here. A filled form that falls back to the plain glyph can never become a blob, which filling the outline did.How it was checked
just android-test: 156 tests pass. The newGlyphsTestreadsschemas/json/view.jsonandapp.json(the build passeshud.schemas) and checks that every icon a component or the frame may name resolves to a glyph, plain and filled. It draws each one under Robolectric's native graphics and fails if a filled icon hides details the plain one has: holes, or a piece standing inside one. Old behaviour would fail it for grid, clock and release. It also checks that the grid is nine pieces and that the clock and the tag each have one hole.just lint.Shortcomings
feedstays plain on Android while iOS fillsphoto.on.rectangle.Gallery.svelteand iOS'sframedo too.PullToRefreshBoxindicator peeking at the top centre, which is in Grain's app, not this kit.