From ca04a81e81053cfa2bbe59cb17dffb90f57df33f Mon Sep 17 00:00:00 2001 From: XShine555 Date: Thu, 10 Sep 2026 09:56:16 +0200 Subject: [PATCH] Polish typography, button states, and login screen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Applies the display typeface (already used for small section labels) consistently to every major heading — page titles, hero titles on album/playlist/mix pages, the home hero, the sidebar/mobile wordmark, and empty-state titles — instead of only the smaller ones, fixing an inconsistent visual hierarchy. Also fixes a couple of real bugs found along the way: Input had a focus border color with no border width to show it, Button/IconButton had no focus-visible ring at all, and SectionHeading's letter-spacing only applied when it had an actions slot. Button's secondary/subtle variants drop their harsh border and flat grey hover for a softer accent-tinted wash. The accent (and the per-track extracted accent) is desaturated for a calmer, more pastel feel without touching lightness, so on-accent text contrast is unaffected. The login screen gets the same treatment plus a subtle ambient glow (reusing the home page's existing accent-gradient technique) and a fluid, viewport-scaled headline instead of a few fixed breakpoints, so it fills the available space on wide screens instead of staying pinned to one size. --- .../src/lib/components/MobileHeader.svelte | 2 +- web-player/src/lib/components/Sidebar.svelte | 2 +- .../src/lib/components/ui/Button.svelte | 6 ++-- .../src/lib/components/ui/EmptyState.svelte | 2 +- .../src/lib/components/ui/IconButton.svelte | 2 +- web-player/src/lib/components/ui/Input.svelte | 2 +- .../src/lib/components/ui/PageHeader.svelte | 2 +- .../lib/components/ui/SectionHeading.svelte | 6 ++-- web-player/src/lib/theme/color.ts | 2 +- web-player/src/lib/theme/palette.ts | 2 +- web-player/src/lib/theme/theme.css | 2 +- .../albums/[id]/components/AlbumHeader.svelte | 2 +- .../albums/youtube/[albumId]/+page.svelte | 2 +- .../src/routes/(app)/mixes/[id]/+page.svelte | 2 +- .../[id]/components/PlaylistHeader.svelte | 2 +- web-player/src/routes/+page.svelte | 2 +- web-player/src/routes/layout.css | 2 +- web-player/src/routes/login/+page.svelte | 30 +++++++++++++------ 18 files changed, 42 insertions(+), 30 deletions(-) diff --git a/web-player/src/lib/components/MobileHeader.svelte b/web-player/src/lib/components/MobileHeader.svelte index 2d5c29e..a8be805 100644 --- a/web-player/src/lib/components/MobileHeader.svelte +++ b/web-player/src/lib/components/MobileHeader.svelte @@ -22,7 +22,7 @@
- Musify + Musify