The icon format of Sinty OS. An icon is written as flat SVG layers with a
manifest for shadows, rims and small-size retouches, and compiled into a
.iride file of bitmaps for each size in pixels. An icon can also carry a short
motion of its own pieces that ends on the still icon.
Drawing happens at build time with GtkSvg, the renderer of the toolkit, so a device does not need to support SVG filters to show an icon.
In development, the format can change without notice. SIT, the toolkit, shows an
.iride file installed next to the SVG of the same name and libsingularity plays
its motion. Light, dark and accent variants are not implemented yet.
cmd/iride/: the compiler,build,checkandexportto a freedesktop icon themelibiride/: C ABI reader and motion compositor with header and Vala binding, no dependencies, also builds for wasm32pixbuf/: gdk-pixbuf loader and MIME type, for thumbnails and previews of.iridefilestestdata/: a source icon for trying the compiler
iride build testdata/ring ring.iride
iride check ring.iride
iride export ring.iride icons/hicolor appsThe source and file layouts are in SPEC.md.
Zig 0.16. The compiler also needs GTK 4.22 or later and Cairo, -Dtool=false builds the library alone, -Dpixbuf=true adds the gdk-pixbuf loader.
zig build
zig build test
zig build -Dtool=falseGPL-3.0-only, see LICENSE. Contributions under the CLA.
Maintainers may use generative AI tools as assistants while working on iride. Non-trivial assisted commits disclose the tool, model, and scope of the work.
AI tools may assist with code comments, documentation, repetitive code, and issue triage. Maintainers make project decisions and review every assisted change before it is merged.
Use these trailers for non-trivial assisted commits:
Assisted-by: <tool>:<model-version>
AI-Scope: <what the tool generated and the prompt or a short prompt summary>
Single-line completions, renames, and formatting changes do not need trailers.
Coding agents must also follow AGENTS.md before changing files, creating commits, or opening pull requests.