This includes temporary AI-generated frontend scaffolding, none of this will be used in production. It was just used during development for the backend.
15 lines
428 B
Plaintext
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;
|
|
}
|