Agent Zero AI framework
Make Rubik the default WebUI font
Alessandro983fc50a7714
diff --git a/webui/AGENTS.md b/webui/AGENTS.mdindex 27cce4b4f..2185539e0 100644--- a/webui/AGENTS.md+++ b/webui/AGENTS.md@@ -25,6 +25,7 @@- Component HTML loaded by the shared loader may include `<title>`, module scripts, body content, and scoped styles; modal content uses the same loader path.- Do not bypass WebSocket origin/auth/CSRF assumptions from frontend code.- Avoid editing vendored files unless intentionally updating the vendor asset.+- 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.## Work Guidancediff --git a/webui/index.css b/webui/index.cssindex e3fbd64db..3a408a7ef 100644--- a/webui/index.css+++ b/webui/index.css@@ -84,6 +84,9 @@/* Font families */--font-family-main: "Rubik", Arial, Helvetica, sans-serif;--font-family-code: "Roboto Mono", monospace;+ --font-family-mono: var(--font-family-code);+ --font-family-monospace: var(--font-family-code);+ --font-mono: var(--font-family-code);/* Other variables */--border-radius: 1.125rem;@@ -116,12 +119,15 @@}-/* Reset and Base Styles */-body,html {+ font-family: var(--font-family-main);+}++/* Reset and Base Styles */+body {background-color: var(--color-background);color: var(--color-text);- font-family: var(--font-family-main);+ font-family: inherit;width: 100%;height: 100%;min-width: 320px !important;@@ -140,6 +146,19 @@ body {overflow-x: hidden;}+button,+input,+textarea,+select,+option,+optgroup {+ font-family: var(--font-family-main);+}++::file-selector-button {+ font-family: var(--font-family-main);+}+x-extension:not(:empty) {display: contents;}diff --git a/webui/login.css b/webui/login.cssindex 997bfe3de..2fd2c70a6 100644--- a/webui/login.css+++ b/webui/login.css@@ -1,3 +1,5 @@+@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");+body {background-color: #131313;color: #d4d4d4;@@ -9,6 +11,11 @@ body {margin: 0;}+button,+input {+ font-family: "Rubik", Arial, Helvetica, sans-serif;+}+.login-container {display: flex;justify-content: center;