Skip to content

Agent Zero AI framework

Polish stop icon with a filled rounded square

Alessandro33b539702391
diff --git a/webui/AGENTS.md b/webui/AGENTS.md
index c4261d26b..09e33ac64 100644
--- a/webui/AGENTS.md
+++ b/webui/AGENTS.md
@@ -32,6 +32,7 @@
- Startup scripts in `index.html` must be local and non-parser-blocking: use ES modules, `defer`, or `async` for every script with `src`.
- Baseline main and login pages must load scripts, styles, fonts, and images from same-origin vendored or first-party assets so they remain usable without internet access.
- Native checkboxes use dark surfaces and the `--color-input` accent in dark mode; the mixed state uses the native light-scheme mark for contrast; retain native checkmarks, indeterminate marks, keyboard focus, disabled behavior, and light-mode appearance. This shared rule lives in `index.css`.
+- `index.css` renders every `<x-icon name="stop">` as a filled, subtly rounded square using `currentColor`, retaining the shared icon box and font-loading visibility guard.
- Rubik (`--font-family-main`) is the default WebUI text and control font; use the code/mono font tokens only for code, logs, paths, and fixed-width data.
- Hover, focus, and active border treatments should follow existing neutral border/background patterns; avoid hard-coded blue border highlights unless matching an established specialized surface.
- Keep transient UI affordances such as Bootstrap tooltips and notification toasts above normal and legacy modal layers while confirmation dialogs remain on top.
diff --git a/webui/index.css b/webui/index.css
index f96828948..330c91a76 100644
--- a/webui/index.css
+++ b/webui/index.css
@@ -1360,6 +1360,11 @@ nav ul li a img {
vertical-align: middle;
}
+x-icon[name="stop"] {
+ background-color: currentColor;
+ clip-path: inset(25% round 0.08em);
+}
+
/* Animations */
@keyframes fadeIn {
from {