From 9b8f1597dbd3746ab7152d44466445e0e3768774 Mon Sep 17 00:00:00 2001 From: Bkk1234 Date: Sat, 24 Oct 2026 00:53:09 +0700 Subject: [PATCH] sync with web-at-transit: type scale, radius, hint colour, i18n MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pulled the newer values from the Next port where it had already been aligned with DESIGN.md: - .mu-search-tab font-size .88 -> .85rem - .mu-btn border-radius 12px -> 8px (DESIGN allows 4/8/999 only) - .mu-btn.ghost colour #5b3b71 -> #7a4cc0 (brand) - .mu-search-hint colour #6f7b95 -> #5f6b83 (AA contrast) and .82 -> .85rem - locales: share.label now 'แชร์หน้านี้' / 'Share this page', stops.nearHint matches the longer English copy --- ui/_shared.css | 4 ++-- ui/index.html | 10 +++++----- ui/locales/en.json | 4 ++-- ui/locales/th.json | 2 +- ui/partials/busStop.html | 4 ++-- ui/sw.js | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/ui/_shared.css b/ui/_shared.css index 557b153..76f4d12 100644 --- a/ui/_shared.css +++ b/ui/_shared.css @@ -448,7 +448,7 @@ body:has(.mu-site-footer) .mu-footer { display: none; } gap: 6px; min-height: 44px; padding: 10px 18px; - border-radius: 12px; + border-radius: 8px; font-family: inherit; font-weight: 700; font-size: .85rem; @@ -468,7 +468,7 @@ body:has(.mu-site-footer) .mu-footer { display: none; } .mu-btn.ghost { background: #fff; border-color: #e7e2f6; - color: #5b3b71; + color: #7a4cc0; box-shadow: 0 2px 8px rgba(63, 43, 94, .05); } .mu-btn.ghost:hover { border-color: #d8c9f2; background: #faf7ff; } diff --git a/ui/index.html b/ui/index.html index d17c939..a008e2f 100644 --- a/ui/index.html +++ b/ui/index.html @@ -12,8 +12,8 @@ - - + +