From cd6a8e6f4485f5ade5b62dba6c0a1a49c674422b Mon Sep 17 00:00:00 2001 From: Wei Cheng Date: Sat, 28 Feb 2026 12:18:05 +0000 Subject: [PATCH] update gallery --- index.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 6d5098e..8be5fa7 100644 --- a/index.html +++ b/index.html @@ -189,8 +189,8 @@ border-radius: 999px; background: var(--button-bg); color: var(--btn-text); - padding: 8px 16px; - font-size: 0.86rem; + padding: 8px 12px; + font-size: 1.1rem; font-weight: 800; cursor: pointer; transition: transform 0.2s ease, filter 0.2s ease; @@ -568,7 +568,7 @@ CVPR 2026 - +

OmniLottie: Generating Vector Animations via Parameterized Lottie Tokens

@@ -716,7 +716,11 @@ localStorage.setItem(THEME_KEY, mode); const btn = document.getElementById('themeToggle'); if (btn) { - btn.textContent = mode === 'dark' ? 'Bright Mode' : 'Dark Mode'; + const icon = btn.querySelector('i'); + if (icon) { + icon.className = mode === 'dark' ? 'fa-solid fa-sun' : 'fa-solid fa-moon'; + } + btn.setAttribute('aria-label', mode === 'dark' ? 'Bright Mode' : 'Dark Mode'); } }