From 2a522977e906731d90d368d056f4581a7938b9d8 Mon Sep 17 00:00:00 2001 From: Schwitzz Date: Mon, 26 Oct 2026 23:53:43 -0500 Subject: [PATCH] feat(ui): incorporate PubScript logo as favicon & Topbar mark MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Recreate the gold-rimmed 'PS' typewriter-tile emblem as scalable SVGs: - public/logo.svg — dark-ground emblem used as the app favicon - public/logo-mark.svg — transparent mark placed in the Topbar beside the page title, with a subtle hover scale Add to index.html and a .ps-topbar-logo rule in AppShell.css. --- apps/web/index.html | 1 + apps/web/public/logo-mark.svg | 37 +++++++++++++++++++++++++ apps/web/public/logo.svg | 43 ++++++++++++++++++++++++++++++ apps/web/src/components/Topbar.tsx | 9 ++++++- packages/ui/src/AppShell.css | 10 +++++++ 5 files changed, 99 insertions(+), 1 deletion(-) create mode 100644 apps/web/public/logo-mark.svg create mode 100644 apps/web/public/logo.svg diff --git a/apps/web/index.html b/apps/web/index.html index 6558e8f..e6afc51 100644 --- a/apps/web/index.html +++ b/apps/web/index.html @@ -6,6 +6,7 @@ PubScript +
diff --git a/apps/web/public/logo-mark.svg b/apps/web/public/logo-mark.svg new file mode 100644 index 0000000..a9d3d1b --- /dev/null +++ b/apps/web/public/logo-mark.svg @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + P + + + + + + S + + diff --git a/apps/web/public/logo.svg b/apps/web/public/logo.svg new file mode 100644 index 0000000..839afda --- /dev/null +++ b/apps/web/public/logo.svg @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + P + + + + + + S + + diff --git a/apps/web/src/components/Topbar.tsx b/apps/web/src/components/Topbar.tsx index 04fd521..c4f7ed8 100644 --- a/apps/web/src/components/Topbar.tsx +++ b/apps/web/src/components/Topbar.tsx @@ -29,7 +29,14 @@ export function Topbar({ onOpenPalette, onOpenExport }: TopbarProps) { return (
-

{title}

+ PubScript + +

{title}

{autoSave && ✓ autosave on} diff --git a/packages/ui/src/AppShell.css b/packages/ui/src/AppShell.css index 8181184..5441431 100644 --- a/packages/ui/src/AppShell.css +++ b/packages/ui/src/AppShell.css @@ -113,6 +113,16 @@ body { border-bottom: 1px solid var(--ps-border); background: var(--ps-surface); } +.ps-topbar-logo { + height: 26px; + width: auto; + border-radius: 6px; + transition: transform 0.15s ease, opacity 0.15s ease; +} +.ps-topbar-logo:hover { + transform: scale(1.05); + opacity: 0.9; +} .ps-main { grid-area: main; overflow: auto;