From 799c711b6254e3a79fb5ce438ff92a2e47b09aee Mon Sep 17 00:00:00 2001 From: rashid_telecom Date: Thu, 8 Oct 2026 10:40:55 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=D1=87=D1=91=D1=80=D0=BD=D1=8B=D0=B5=20?= =?UTF-8?q?=D0=BA=D0=B2=D0=B0=D0=B4=D1=80=D0=B0=D1=82=D0=B8=D0=BA=D0=B8=20?= =?UTF-8?q?=D0=B2=20=D1=81=D0=BA=D0=B0=D1=87=D0=B0=D0=BD=D0=BD=D0=BE=D0=BC?= =?UTF-8?q?=20SVG=20=E2=80=94=20=D0=B2=D1=81=D1=82=D1=80=D0=B0=D0=B8=D0=B2?= =?UTF-8?q?=D0=B0=D1=8E=20:root=20=D1=82=D0=BE=D0=BA=D0=B5=D0=BD=D1=8B=20?= =?UTF-8?q?=D0=B8=20=D0=B1=D0=B5=D0=BB=D1=8B=D0=B9=20=D1=84=D0=BE=D0=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/index.html b/index.html index 1ceb1cf..b72373d 100644 --- a/index.html +++ b/index.html @@ -322,6 +322,15 @@ var vb = src.viewBox.baseVal; c.setAttribute("width", vb.width); c.setAttribute("height", vb.height); + var w = vb.width, h = vb.height; + var bg = document.createElementNS(NS, "rect"); + bg.setAttribute("x","0"); bg.setAttribute("y","0"); + bg.setAttribute("width", w); bg.setAttribute("height", h); + bg.setAttribute("fill", "#ffffff"); + c.insertBefore(bg, c.firstChild); + var st = document.createElementNS(NS, "style"); + st.textContent = ':root{--kt-ai-bg:#fafaf9;--kt-ai-bg-elevated:#ffffff;--kt-ai-border-strong:#78716c;--kt-ai-fg:#0c0a09;--kt-ai-fg-muted:#78716c;--kt-ai-primary:#3ba6f1;--kt-ai-primary-subtle:#c1e1f7;}'; + c.insertBefore(st, bg.nextSibling); return c; } function triggerDownload(blob, name){