From cef7441ff95ca6d6d80ffffa975cf736fd10ccd9 Mon Sep 17 00:00:00 2001 From: "LAPTOP-O016UC3M\\Qi Chen" <16399091+binaricat@users.noreply.github.com> Date: Thu, 18 Dec 2025 23:05:13 +0800 Subject: [PATCH] Improves HTML formatting and code consistency Refactors indentation and element formatting for better readability. Enhances maintainability and visual structure without changing logic. --- index.html | 69 +++++++++++++++++++++++++++++------------------------- 1 file changed, 37 insertions(+), 32 deletions(-) diff --git a/index.html b/index.html index a63c1fb3a..5de55fb66 100755 --- a/index.html +++ b/index.html @@ -144,36 +144,38 @@ } @keyframes spin { - to { transform: rotate(360deg); } + to { + transform: rotate(360deg); + } } - - - - + + if (color) { + root.style.setProperty('--primary', color); + root.style.setProperty('--accent', color); + root.style.setProperty('--ring', color); + } + + if (lang) root.lang = lang; + } catch (e) { + // ignore + } + })(); + + +
@@ -181,10 +183,13 @@
@@ -193,4 +198,4 @@ - + \ No newline at end of file