From 2b272eb093a220529698ff44c632f2410d920d69 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Tue, 21 Jul 2026 17:54:21 -0400 Subject: [PATCH] Give BitLogin a real vector logo, consistent across the site and widget Replace the placeholder gradient-circle favicon and the widget's plain "BitLogin" text heading with an actual brand: a monogram seal (a "B" drawn from Fraunces, the same serif already used for headings, set in a violet seal with a brass ring) plus a vector wordmark traced from the live Fraunces glyphs. Both are baked as static SVG path data (via fontkit) rather than depending on the webfont at render time, so the widget can show the exact same wordmark the site uses without loading any font of its own -- solving the "vector logo instead of a typeface" problem for a component meant to drop into arbitrary host pages. - assets/icon.svg: updated favicon/app-icon with the new monogram - assets/mark.svg (new): transparent-background version for inline use in a host site's own "Sign in with BitLogin" button - assets/wordmark.svg (new): text-only logotype, fill=currentColor - assets/lockup.svg (new): mark + wordmark combined, for anyone wanting a single-file logo - All three site pages' nav now use the same inlined mark + wordmark instead of the ad-hoc checkmark-circle SVG that was duplicated across them - 's welcome screen shows the same lockup instead of plain text, themed via --bl-fg like everything else in the widget - docs.html gains a short "showing it as one option among several" step pointing integrators at mark.svg for a compact button icon --- packages/demo/public/account.html | 22 ++++++++++---- packages/demo/public/assets/icon.svg | 4 +-- packages/demo/public/assets/lockup.svg | 20 ++++++++++++ packages/demo/public/assets/mark.svg | 15 +++++++++ packages/demo/public/assets/site.css | 9 +++--- packages/demo/public/assets/wordmark.svg | 3 ++ packages/demo/public/docs.html | 37 +++++++++++++++++++---- packages/demo/public/index.html | 22 ++++++++++---- packages/demo/public/manifest.webmanifest | 4 +-- packages/widget/src/element.ts | 14 ++++++++- packages/widget/src/styles.ts | 15 +++++++++ 11 files changed, 138 insertions(+), 27 deletions(-) create mode 100644 packages/demo/public/assets/lockup.svg create mode 100644 packages/demo/public/assets/mark.svg create mode 100644 packages/demo/public/assets/wordmark.svg diff --git a/packages/demo/public/account.html b/packages/demo/public/account.html index 234e5bd..22c4e08 100644 --- a/packages/demo/public/account.html +++ b/packages/demo/public/account.html @@ -17,13 +17,23 @@