From d5c8c65fdf661ccc12ecc25ab6037cb6bbdec013 Mon Sep 17 00:00:00 2001 From: Kharec Date: Tue, 29 Sep 2026 14:15:54 +0200 Subject: [PATCH] feat: integrate icon --- frontend/index.html | 3 ++- frontend/public/favicon.svg | 30 ++++++++++++++++++++++++++++++ frontend/src/icons.ts | 1 - frontend/src/style.css | 13 +++---------- 4 files changed, 35 insertions(+), 12 deletions(-) create mode 100644 frontend/public/favicon.svg diff --git a/frontend/index.html b/frontend/index.html index ea1f12d..2001f71 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -3,12 +3,13 @@ + Plotzilla
-
Plotzilla
+
Plotzilla
Untitled diff --git a/frontend/public/favicon.svg b/frontend/public/favicon.svg new file mode 100644 index 0000000..ba0d14b --- /dev/null +++ b/frontend/public/favicon.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/frontend/src/icons.ts b/frontend/src/icons.ts index 2224acd..c4b8387 100644 --- a/frontend/src/icons.ts +++ b/frontend/src/icons.ts @@ -1,6 +1,5 @@ // Stroke icons in the Lucide style (24×24 grid, ISC licence). const paths: Record = { - logo: '', new: '', open: '', save: '', diff --git a/frontend/src/style.css b/frontend/src/style.css index 1df2afd..8868a21 100644 --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -248,22 +248,15 @@ body.backdrop .topbar > * { letter-spacing: 0.01em; } +/* The application icon (frontend/public/favicon.svg), which draws its own + rounded tile. */ .brand .logo { - display: grid; - place-items: center; width: 30px; height: 30px; - border-radius: 9px; - color: #fff; - background: linear-gradient(135deg, #3b82f6, #6366f1); + border-radius: 7px; box-shadow: 0 4px 14px rgb(59 130 246 / 0.4); } -.brand .logo svg { - width: 17px; - height: 17px; -} - .doc { display: flex; align-items: center;