Quiz audience pages look broken: clashing skins, unreadable label, missing fonts #1

Closed
opened 2026-11-30 11:02:49 +00:00 by hmajid2301 · 0 comments
Owner

The audience quiz pages (/quiz/...) look broken next to the rest of Banterbus. Seen on the go-simd talk preview (haseebmajid-slides.fly.dev).

Join page (internal/views/pages/quiz.templ)

  • quiz-skin quiz-neutral paints a near-white card (#f6f7f9 / #fff) inside the dark bg-surface0 layout card, on the dark sunburst background: white box in a dark box.
  • components.TextInput is the dark Catppuccin input (bg-surface1, text-text2 label), so the Nickname label is pale lavender on white (unreadable) and a dark input sits inside a white panel.
  • The components.Button (bg-text2 text-black) is a pale lilac slab that barely contrasts with the panel, and its Noyh/Coiny button font clashes with the DM Sans heading.
  • DM Sans and Pixelify Sans are referenced in --quiz-display / .quiz-skin but never loaded (@font-face only defines Noyh R, Noyh R Black, Coiny), so headings fall back to system fonts.

Lobby / waiting view (internal/views/sections/quiz.templ, arcade skin)

  • quiz-arcade puts a bright blue (#2c5cc5) slab inside the grey layout card, so it's three nested frames (grey → blue → navy panels).
  • Pixelify Sans isn't loaded, so the "arcade" heading is generic monospace.
  • "Latest:" and the nickname are on separate lines with no list styling; the joined count isn't emphasised.

Suggested direction

  • Drop the light quiz-neutral palette or make the quiz skins inherit Banterbus's Catppuccin tokens (surface0/1, text, blue) so join → lobby → question look like one app.
  • Don't nest skins inside the layout card: either render the quiz with the wide/bare layout or make .quiz-skin transparent and let .quiz-panel be the only card.
  • Use one input/button style on the quiz pages (either the existing components or quiz-specific ones), not a mix.
  • Self-host DM Sans / Pixelify Sans under static/fonts (no Google Fonts; CSP), or drop them for the existing Noyh/Coiny fonts.
  • Check on a phone at 360px width: this is a phone-first page.

Screenshots

Join: join
Lobby: lobby

The audience quiz pages (`/quiz/...`) look broken next to the rest of Banterbus. Seen on the go-simd talk preview (haseebmajid-slides.fly.dev). ### Join page (`internal/views/pages/quiz.templ`) - `quiz-skin quiz-neutral` paints a near-white card (`#f6f7f9` / `#fff`) inside the dark `bg-surface0` layout card, on the dark sunburst background: white box in a dark box. - `components.TextInput` is the dark Catppuccin input (`bg-surface1`, `text-text2` label), so the **Nickname** label is pale lavender on white (unreadable) and a dark input sits inside a white panel. - The `components.Button` (`bg-text2 text-black`) is a pale lilac slab that barely contrasts with the panel, and its Noyh/Coiny button font clashes with the `DM Sans` heading. - `DM Sans` and `Pixelify Sans` are referenced in `--quiz-display` / `.quiz-skin` but never loaded (`@font-face` only defines Noyh R, Noyh R Black, Coiny), so headings fall back to system fonts. ### Lobby / waiting view (`internal/views/sections/quiz.templ`, arcade skin) - `quiz-arcade` puts a bright blue (`#2c5cc5`) slab inside the grey layout card, so it's three nested frames (grey → blue → navy panels). - Pixelify Sans isn't loaded, so the "arcade" heading is generic monospace. - "Latest:" and the nickname are on separate lines with no list styling; the joined count isn't emphasised. ### Suggested direction - Drop the light `quiz-neutral` palette or make the quiz skins inherit Banterbus's Catppuccin tokens (`surface0/1`, `text`, `blue`) so join → lobby → question look like one app. - Don't nest skins inside the layout card: either render the quiz with the `wide`/bare layout or make `.quiz-skin` transparent and let `.quiz-panel` be the only card. - Use one input/button style on the quiz pages (either the existing components or quiz-specific ones), not a mix. - Self-host DM Sans / Pixelify Sans under `static/fonts` (no Google Fonts; CSP), or drop them for the existing Noyh/Coiny fonts. - Check on a phone at 360px width: this is a phone-first page. ### Screenshots **Join:** ![join](https://forgejo.haseebmajid.dev/attachments/7b8424a8-c6c2-41b8-8a8e-afacfa5923c4) **Lobby:** ![lobby](https://forgejo.haseebmajid.dev/attachments/a7cb0b99-8363-4cf4-85e8-010b5a67e6e7)
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
hmajid2301/banterbus#1
No description provided.