diff --git a/manager/core/board.html b/manager/core/board.html index ddcbc9e..fbc07dc 100644 --- a/manager/core/board.html +++ b/manager/core/board.html @@ -6,7 +6,10 @@ bench - + + @@ -23,6 +26,8 @@ --on-accent:#0a161b; --on-calm:#141a10; --shadow:0 10px 24px -18px rgba(0,0,0,.9); --pad:14px; --gap:10px; --radius:10px; --col:296px; --col-min:240px; + /* the wordmark's b-height — the one number that sizes the logo */ + --logo-h:14px; --sans:'IBM Plex Sans',system-ui,sans-serif; --mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace; } @@ -74,8 +79,13 @@ display:flex;align-items:center;gap:14px;padding:10px 18px;flex-wrap:wrap; background:var(--canvas);border-bottom:1px solid var(--border); } - .brand{display:flex;align-items:baseline;gap:10px} - .brand b{font-size:15px;font-weight:600;letter-spacing:-.01em} + /* The word is the logo — "bench" set in Zilla Slab SemiBold, tracked + -.015em. It ships as outlines, not text: this page may not fetch a font + for it, and outlines can never fall back to something else. currentColor + gives it the theme's own ink, so it is never a colour that means state, + and --logo-h scales it in one place rather than per theme. */ + .brand{display:flex;align-items:baseline;gap:11px} + .brand .mark{height:var(--logo-h);width:auto;fill:currentColor;flex:none} .brand .path{font-family:var(--mono);font-size:11.5px;color:var(--dim)} .views{display:flex;gap:2px;padding:3px;background:var(--sunken);border:1px solid var(--border-soft);border-radius:8px} .views button{padding:5px 12px;border:1px solid transparent;border-radius:6px;font-size:12.5px;font-weight:500;color:var(--muted)} @@ -476,7 +486,20 @@
-
Bench
+ +
+ + + + + + + + +
", self.html, re.DOTALL) + self.assertIsNotNone(header, "board.html lost its header") + order = re.findall(r'id="(views|syncchip|livechip|themebtn|refresh)"', + header.group(0)) + self.assertEqual(order, ["views", "syncchip", "livechip", + "themebtn", "refresh"]) + + +if __name__ == "__main__": + unittest.main()