Files
Tofu/ui/components/icon.slint
T
Inako 5eb47e45ef feat: implement client backend
This includes temporary AI-generated frontend scaffolding, none of this will be used in production. It was just used during development for the backend.
2026-10-09 19:46:02 +01:00

15 lines
428 B
Plaintext

/// TEMPORARY AI GENERATED FRONTEND \\\
/// NOT TO BE USED IN PRODUCTION \\\
import { Theme } from "../theme.slint";
// A recolourable icon. Usage: `Icon { source: Icons.hash; tint: Theme.text-muted; }`
export component Icon inherits Image {
in property <color> tint: Theme.text-muted;
in property <length> icon-size: 20px;
width: icon-size;
height: icon-size;
colorize: tint;
image-fit: contain;
}