From fd1c483adac8a41ba2fb8d6ee899bc58db1e213b Mon Sep 17 00:00:00 2001 From: Ali Ehsanfar Date: Mon, 9 Nov 2026 16:42:58 +0330 Subject: [PATCH] feat(demo): refresh playground UI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - add a single System → Light → Dark theme cycle button - link the header title home and keep icons on one row - move speed to the right and drop the replay/reset buttons - turn dropdowns into single-row controls with ellipsized values - fit the tab bar on mobile without a scrollbar - match slider and toggle geometry/colors to the reference - summarize the demo changes in the changelog --- CHANGELOG.md | 4 + demo/index.html | 43 ++----- demo/inline-slider.css | 24 ++-- demo/inline-slider.ts | 8 +- demo/landing/site.css | 224 +++++++++++++++++++++------------ demo/landing/theme.ts | 72 ++++++++--- demo/landing/ui.ts | 37 ++++-- demo/playground/index.html | 46 +++---- demo/playground/main.ts | 36 ++---- demo/playground/playground.css | 40 +++--- 10 files changed, 308 insertions(+), 226 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44e3ceb..2d15ee4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `play()` no longer starts automatic cycling when `autoplay` is disabled. - Playground examples animate again after switching to another example and back. +### Demo + +- UI refinement across the playground: header, theme cycle, toolbar, tabs, dropdowns, sliders and switches. + ## [0.1.0] - 2026-11-08 ### Added diff --git a/demo/index.html b/demo/index.html index 58a9146..a1a9d53 100644 --- a/demo/index.html +++ b/demo/index.html @@ -69,7 +69,7 @@