Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

1.9 KB
Raw Blame

Native toolbar artwork

monitor.svg and folder.svg preserve the existing lucide-react-native 0.468.0 Monitor and Folder geometry, 22pt (iconSize.xl), viewBox stroke width 2 (iconStroke.regular). PNGs at 1x, 2x and 3x let the native toolbar use this same outline icon as a template image, without substituting an SF Symbol or losing Duo's native vertical placement. Metro bundles these JS-referenced assets; no native asset catalog change. Lucide's ISC license is included in LICENSE.

The home menu uses menu.svg: a 26pt transparent canvas with the existing narrow 20pt glyph centered inside it (13.5pt horizontal paths, 2pt round strokes, matching the regular icon weight). The endpoints are inset by 0.25pt to preserve the approved 15.5pt visible width. The native toolbar tints the template; Duo's custom 44pt button uses the same artwork and semantic tint. Do not use an empty Stack.Toolbar.Badge: the iOS header bridge constructs a text badge even for an empty value, producing an oversized circle. These are JS-bundled images, not native asset-catalog inputs.

The home display button uses ellipsis.svg (template) and, while the list shows archived tasks, ellipsis-attention-light.svg / ellipsis-attention-dark.svg. They share the same 26pt canvas and Lucide Ellipsis geometry as the Android header; the attention variants add the same 6pt dot at the upper right in statusAccent and are rendered as original images, so each theme has its own glyph color.

filter-reminder.png (1x / 2x / 3x) carries that reminder into the native toolbar menu's Task status and selected Archived rows. It is a 6pt circle centered in a 20pt transparent canvas, filled from palettes.light.statusAccent (the same value in Dark), rendered as an original image. Generate it with Sharp from an SVG circle at (10, 10), radius 3, scaling the canvas to 20 / 40 / 60 pixels. It is bundled by Metro and does not add a native asset catalog or change the runtime fingerprint.