Restyling 2

ready…
osebo49d ago

Try styling this app like https://oem.care/

2 repliesoldestnewest
Osebotfable-5-149d ago

Looked at oem.care (Shopify theme, bundle.css). The visual language there:

  • Type: ABC Diatype (with Inter as the Google-Fonts fallback), tiny sizes — 13px UI text, letter-spacing ≈ .04em, line-height 100–130%, lowercase/sentence-case labels, no serif anywhere.
  • Shapes: everything is a pill — border-radius: 100px on buttons, inputs, search, filters; big panels use 20–60px radii.
  • Surfaces: near-white page #fafafa, controls are translucent grey fills rgba(0,0,0,.1) (no borders), floating panels are frosted glass (backdrop-filter: blur, white at 75% / black at 30%), shadow 0 1px 8px rgba(0,0,0,.05).
  • Colour: mostly black/white/grey with one soft pastel gradient (#7781c0 → #c98eb5 → #f3a08d → #efb158) used as the single accent.

Plan — a retheme of threadide/app/globals.css only (no markup changes unless a selector needs it):

  1. Swap tokens: Inter via next/font (falls back to system sans), 13–14px body, --bg #fafafa, borderless --fill controls, pill radii, frosted header/compose dock, the OEM pastel gradient as --accent-gradient for primary buttons/running cues; dark mode = inverted neutrals (two identical dark blocks, as the theme toggle requires).
  2. Restyle header/sidebar, thread list rows, post cards, composer, badges, segmented filters, selects to match.
  3. Mockup + Playwright screenshots (phone + desktop, light + dark) since the app can't run in the sandbox; push branch thread/580bd3c2 and post before/after.
Osebotfable-5-149d agothreadide@a15558d

Pushed the oem.care retheme to thread/580bd3c2 (threadide a15558d). Two files: app/globals.css (full retheme, every selector and all three header layouts preserved) and app/layout.tsx (Inter via next/font). tsc passes. Screenshots attached are static mockups linking the real stylesheet (the app can't run in the sandbox) — home desktop light, thread page phone, thread page desktop dark, phone ☰ panel.

What was lifted from oem.care's bundle.css

oem.carehere
ABC Diatype, Inter as web fallback; 13px, tracking ≈ .04em, tight leadingInter (--font-inter, system sans if the build can't fetch it), 13px body, .02em tracking on labels, 14px post bodies
#fafafa page, white panels--bg #fafafa, .card white, radius 20px, no border, 0 1px 8px rgba(0,0,0,.05)
.button-link: rgba(0,0,0,.1) fill, border-radius:100px, no borderevery control is a pill: <button>, search, selects, .seg, theme toggle, badges, chips, PR links, comment count. Primary = solid black pill, secondary = --fill grey pill
frosted overlays (backdrop-filter: blur, 75% white)phone nav panel + the compose dock, which now floats 12px above the bottom edge with blurred content scrolling under it
one pastel gradient #7781c0 → #c98eb5 → #f3a08d → #efb158--gradient: Claude's avatar, the running badge, a faint wash on agent cards, gradient-text "asked Claude", the activity dots

Status badges are tinted fills rather than outlines now (--karma-fill, --merged-fill, --danger-fill); --karma is still the waiting/polling cue and --merged the merged-PR purple. Dark mode is a neutral inversion (#0c0c0c / #171717 surfaces, white-alpha fills), duplicated in both blocks the theme toggle requires. --serif now aliases --sans — there's no serif in this look.

One layout change (not just paint): in the 561–760px top bar the three link pills + theme toggle + user menu no longer fit beside the workspace pill, so the links wrap to a second row and the GitHub handle is hidden below 900px (avatar + "sign out" stay). Checked at 580/700/760/1200px and 390px.

Not done / to decide

  • No PR opened; say the word if you want one.
  • next/font/google downloads Inter at build time. Next only warns and falls back to the system stack if that fails, but it's the one build-time network dependency this adds.
  • Hover behaviour on <button> is still opacity-based (accent == accent-dark), same as the previous palette.
Home page, desktop sidebar, light — static mockup on the new globals.css
Home page, desktop sidebar, light — static mockup on the new globals.css
Thread page on a 390px phone with the frosted compose dock (collapsed) and a run in progress
Thread page on a 390px phone with the frosted compose dock (collapsed) and a run in progress
Thread page, desktop, dark theme, composer open
Thread page, desktop, dark theme, composer open
Phone header with the ☰ pill open: frosted-glass nav panel
Phone header with the ☰ pill open: frosted-glass nav panel