[feat] add announcement dismissal and links

This commit is contained in:
dijunkun
2026-09-29 17:16:39 +08:00
parent bc8dbcbf68
commit 0031c411e5
9 changed files with 636 additions and 141 deletions
+2 -1
View File
@@ -339,6 +339,7 @@ export component MiniToggleSwitch inherits Rectangle {
export component CompactButton inherits Rectangle {
in property <string> text;
in property <length> text-size: ImGuiFontStyle.body;
in property <bool> primary: false;
in property <bool> enabled: true;
callback clicked;
@@ -355,7 +356,7 @@ export component CompactButton inherits Rectangle {
Text {
text: root.text;
color: root.enabled ? #24272d : #8e9298;
font-size: ImGuiFontStyle.body;
font-size: root.text-size;
overflow: elide;
horizontal-alignment: center;
vertical-alignment: center;