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.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
/// 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;
|
||||
}
|
||||
Reference in New Issue
Block a user