feat(qbz-slint): add the Lucide icon set

Adds 28 Lucide icons (the same set the QBZ Svelte app uses) as SVGs
under ui/assets/icons/, plus a QbzIcon primitive — an Image wrapper that
applies `colorize` so a monochrome SVG renders in any theme color.

cc
This commit is contained in:
vicrodh committed 2026-05-18 14:58:58 -06:00
1 parent 6b772b41b0
commit 636b3e8a06
29 files changed
+157

No files matched your search

@@ -0,0 +1,14 @@
// Monochrome Lucide icon.
//
// Slint's `@image-url` needs a literal path, so the caller supplies the
// `source` (an `@image-url` of an SVG in ui/assets/icons/) and a `tint`
// theme color; QbzIcon applies `colorize` and a contain fit.
import { Theme } from "../foundation/semantic-colors.slint";
export component QbzIcon inherits Image {
in property <color> tint: Theme.text-secondary;
colorize: root.tint;
image-fit: contain;
}