@@ -20,7 +20,6 @@ import type { CSSProperties } from 'react'
2020import { useCallback , useEffect , useMemo , useRef , useState } from 'react'
2121import { ChoicesPageView } from '~/components/ChoicesPageView'
2222import { RelationshipsPageView } from '~/components/RelationshipsPageView'
23- import { Button } from '~/components/ui/button'
2423import {
2524 PageSurface ,
2625 SheetBody ,
@@ -420,7 +419,7 @@ function AccountMenuButton({ authMenu }: { authMenu: AuthMenu | undefined }) {
420419 className = "absolute right-0 top-[calc(100%+8px)] z-20 w-60 rounded-xl border border-(--color-sheet-divider) bg-white p-2 shadow-[0_18px_48px_rgba(43,38,32,0.14)]"
421420 >
422421 < div className = "px-3 py-2" >
423- < p className = "text-[11px] font-semibold uppercase tracking-[0.12em] text-(--color-sheet-ink-soft)" >
422+ < p className = "text-xs font-semibold uppercase tracking-[0.12em] text-(--color-sheet-ink-soft)" >
424423 { authMenu ?. label || 'Signed in' }
425424 </ p >
426425 { authMenu ?. detail ? (
@@ -595,10 +594,10 @@ function VipsProfileTab({
595594
596595 { facet ?. openQuestion ? (
597596 < aside className = "rounded-xl border border-(--profile-accent)/30 bg-(--profile-soft) p-4 text-(--profile-ink)" >
598- < p className = "text-[11px] font-semibold uppercase tracking-[0.16em] opacity-70" >
597+ < p className = "text-xs font-semibold uppercase tracking-[0.16em] opacity-70" >
599598 Open question
600599 </ p >
601- < p className = "mt-1 text-sm leading-6 " > { facet . openQuestion } </ p >
600+ < p className = "mt-1 text-base leading-relaxed " > { facet . openQuestion } </ p >
602601 </ aside >
603602 ) : null }
604603
@@ -609,7 +608,7 @@ function VipsProfileTab({
609608 { isPersonality ? null : (
610609 < section >
611610 < div className = "mb-3 flex items-center justify-between gap-3" >
612- < h3 className = "text-[11px] font-semibold uppercase tracking-[0.18em] text-(--color-sheet-ink-soft)" >
611+ < h3 className = "text-xs font-semibold uppercase tracking-[0.18em] text-(--color-sheet-ink-soft)" >
613612 Collection
614613 </ h3 >
615614 { selectedClaimId ? (
@@ -679,7 +678,7 @@ function VipsProfileTab({
679678
680679 < section >
681680 < div className = "mb-3 flex flex-wrap items-center justify-between gap-3" >
682- < h3 className = "text-[11px] font-semibold uppercase tracking-[0.18em] text-(--color-sheet-ink-soft)" >
681+ < h3 className = "text-xs font-semibold uppercase tracking-[0.18em] text-(--color-sheet-ink-soft)" >
683682 Timeline
684683 { selectedClaimId ? (
685684 < span className = "ml-2 normal-case tracking-normal text-(--profile-ink)" >
@@ -743,7 +742,11 @@ function ParagraphBlock({
743742 const [ expanded , setExpanded ] = useState ( false )
744743 const text = paragraph ?. trim ( )
745744 if ( ! text ) {
746- return < p className = "max-w-2xl text-sm leading-6 text-(--color-sheet-ink-soft)" > { fallback } </ p >
745+ return (
746+ < p className = "max-w-2xl text-base leading-relaxed text-(--color-sheet-ink-soft)" >
747+ { fallback }
748+ </ p >
749+ )
747750 }
748751 const { thesis, evidence } = splitThesisAndEvidence ( text )
749752 // Reset back to clamped whenever the underlying paragraph changes (e.g.
@@ -755,13 +758,13 @@ function ParagraphBlock({
755758 const showToggle = hasEvidence && evidence . length > 160
756759 return (
757760 < div className = "flex flex-col gap-3" >
758- < p className = "max-w-2xl text-[15px] font-medium leading-relaxed text-(--color-sheet-ink)" >
761+ < p className = "max-w-2xl text-base font-semibold leading-relaxed text-(--color-sheet-ink)" >
759762 { thesis }
760763 </ p >
761764 { hasEvidence ? (
762765 < p
763766 className = { cn (
764- 'max-w-2xl text-[13px] leading-6 text-(--color-sheet-ink-soft)' ,
767+ 'max-w-2xl text-base leading-relaxed text-(--color-sheet-ink-soft)' ,
765768 showToggle && ! expanded && 'line-clamp-2' ,
766769 ) }
767770 >
@@ -808,7 +811,7 @@ function TldrHero({
808811
809812 return (
810813 < section className = "rounded-2xl border border-(--profile-accent)/20 bg-[linear-gradient(135deg,var(--profile-soft),rgba(255,255,255,0.78))] p-5" >
811- < p className = "text-[11px] font-semibold uppercase tracking-[0.18em] text-(--profile-ink)" >
814+ < p className = "text-xs font-semibold uppercase tracking-[0.18em] text-(--profile-ink)" >
812815 { voiced . length >= 3
813816 ? `Top voices in your ${ PROFILE_HEADERS [ tab ] . tag } `
814817 : `In your ${ PROFILE_HEADERS [ tab ] . tag } ` }
@@ -870,7 +873,7 @@ function PersonalityTldr({ tldr }: { tldr: BigFiveTldr }) {
870873 data-testid = "personality-tldr"
871874 className = "rounded-2xl border border-(--profile-accent)/20 bg-[linear-gradient(135deg,var(--profile-soft),rgba(255,255,255,0.78))] p-5"
872875 >
873- < p className = "text-[11px] font-semibold uppercase tracking-[0.18em] text-(--profile-ink)" >
876+ < p className = "text-xs font-semibold uppercase tracking-[0.18em] text-(--profile-ink)" >
874877 { tldr . eyebrow ?? 'YOUR PERSONALITY AT A GLANCE' }
875878 </ p >
876879 { tldr . headline ? (
@@ -957,15 +960,15 @@ function BigFiveCards({ traits }: { traits: BigFiveTrait[] }) {
957960 < Icon className = "size-5" />
958961 </ span >
959962 < span className = "flex min-w-0 shrink basis-[220px] flex-col gap-0.5 max-[720px]:col-start-2 max-[720px]:row-start-1 max-[720px]:basis-auto" >
960- < span className = "text-balance text-[15px] font-semibold leading-snug tracking-tight text-(--color-sheet-ink)" >
963+ < span className = "text-balance text-lg font-semibold leading-snug tracking-tight text-(--color-sheet-ink)" >
961964 { trait . tag ?? trait . name }
962965 </ span >
963- < span className = "mt-0.5 text-[10.5px] font-semibold uppercase tracking-[0.08em] text-black/55 " >
966+ < span className = "mt-0.5 text-xs font-semibold uppercase tracking-[0.08em] text-(--color-sheet-ink-soft) " >
964967 { trait . name }
965968 </ span >
966969 </ span >
967970 < span className = "flex min-w-0 grow basis-[280px] items-center gap-3 max-[720px]:col-span-3 max-[720px]:row-start-2 max-[720px]:basis-auto max-[720px]:border-t max-[720px]:border-dashed max-[720px]:border-black/[0.08] max-[720px]:pt-1.5" >
968- < span className = "max-w-[14ch] shrink-0 text-balance text-right text-[10.5px] font-semibold uppercase leading-tight tracking-[0.06em] text-black/[0.52] max-[720px]:max-w-none max-[720px]:text-left" >
971+ < span className = "max-w-[14ch] shrink-0 text-balance text-right text-xs font-semibold uppercase leading-tight tracking-[0.06em] text-(--color-sheet-ink-soft) max-[720px]:max-w-none max-[720px]:text-left" >
969972 { trait . poleLeft }
970973 </ span >
971974 < span className = "relative h-[3px] min-w-20 grow rounded-full bg-black/10" >
@@ -975,7 +978,7 @@ function BigFiveCards({ traits }: { traits: BigFiveTrait[] }) {
975978 className = "absolute top-1/2 size-2.5 -translate-x-1/2 -translate-y-1/2 rounded-full bg-(--trait-accent) shadow-[0_0_0_3px_color-mix(in_srgb,var(--trait-accent)_22%,transparent),0_1px_0_rgba(0,0,0,0.06)] transition-[left] duration-200 ease-out"
976979 />
977980 </ span >
978- < span className = "max-w-[14ch] shrink-0 text-balance text-left text-[10.5px] font-semibold uppercase leading-tight tracking-[0.06em] text-black/[0.52] max-[720px]:max-w-none" >
981+ < span className = "max-w-[14ch] shrink-0 text-balance text-left text-xs font-semibold uppercase leading-tight tracking-[0.06em] text-(--color-sheet-ink-soft) max-[720px]:max-w-none" >
979982 { trait . poleRight }
980983 </ span >
981984 </ span >
@@ -993,7 +996,7 @@ function BigFiveCards({ traits }: { traits: BigFiveTrait[] }) {
993996 className = "border-t border-black/[0.06] px-[18px] pb-4 pt-3 max-[720px]:px-4"
994997 >
995998 { trait . schoolReadout ? (
996- < p className = "text-pretty text-[13px] leading-[1.55] text-black/[0.74] " >
999+ < p className = "text-pretty text-base leading-relaxed text-(--color-sheet-ink-soft) " >
9971000 { trait . schoolReadout }
9981001 </ p >
9991002 ) : null }
@@ -1005,15 +1008,15 @@ function BigFiveCards({ traits }: { traits: BigFiveTrait[] }) {
10051008 className = "border-t border-black/[0.06] pt-2 first:border-t-0 first:pt-0"
10061009 >
10071010 < div className = "mb-1 flex items-baseline justify-between gap-2" >
1008- < span className = "text-[12.5px] font-semibold tracking-tight text-(--trait-accent)" >
1011+ < span className = "text-sm font-semibold tracking-tight text-(--trait-accent)" >
10091012 { aspect . name }
10101013 </ span >
1011- < span className = "text-[12px] font-semibold tabular-nums text-black/60 " >
1014+ < span className = "text-xs font-semibold tabular-nums text-(--color-sheet-ink-soft) " >
10121015 { aspect . score } /20
10131016 </ span >
10141017 </ div >
10151018 { aspect . blurb ? (
1016- < p className = "text-pretty text-[12px] leading-[1.5] text-black/60 " >
1019+ < p className = "text-pretty text-sm leading-relaxed text-(--color-sheet-ink-soft) " >
10171020 { aspect . blurb }
10181021 </ p >
10191022 ) : null }
@@ -1096,7 +1099,7 @@ function TimelineQuote({
10961099 data-forgetting = { forgetting || undefined }
10971100 className = "rounded-xl border border-(--color-sheet-divider) bg-(--color-sheet-pane-left) p-4 transition-opacity data-[forgetting=true]:opacity-0"
10981101 >
1099- < p className = "text-[15px] italic leading-7 text-(--color-sheet-ink)" > "{ quote . text } "</ p >
1102+ < p className = "text-base italic leading-relaxed text-(--color-sheet-ink)" > "{ quote . text } "</ p >
11001103 < div className = "mt-3 flex flex-wrap items-center gap-2" >
11011104 < span className = "rounded-full bg-(--profile-soft) px-2.5 py-1 text-xs font-semibold text-(--profile-ink)" >
11021105 { claimLabel ( quote . canonicalClaimId ) }
@@ -1219,7 +1222,7 @@ function ShareDialog({
12191222 < h2 id = "share-dialog-title" className = "text-xl font-semibold text-(--color-sheet-ink)" >
12201223 Share your profile
12211224 </ h2 >
1222- < p className = "mt-1 text-sm leading-6 text-(--color-sheet-ink-soft)" >
1225+ < p className = "mt-1 text-base leading-relaxed text-(--color-sheet-ink-soft)" >
12231226 Generate a link for parents, teachers, or friends. Quotes are hidden by default.
12241227 </ p >
12251228 </ div >
0 commit comments