Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fix(web): finish label floor and indicator tokens (RX-204)

Amruth Pillai8095c4aca7fd
diff --git a/apps/web/DESIGN.md b/apps/web/DESIGN.md
index d355ce0c8..06759915e 100644
--- a/apps/web/DESIGN.md
+++ b/apps/web/DESIGN.md
@@ -24,6 +24,7 @@ colors:
warn: "#D29922"
warn-soft: "#FCEDCD"
warn-text: "#81520A"
+ warn-ink: "#22190A"
info-soft: "#E0F1FF"
info-text: "#1D5B92"
dark:
@@ -47,6 +48,7 @@ colors:
warn: "#E4B750"
warn-soft: "#3E2D10"
warn-text: "#EFCC83"
+ warn-ink: "#22190A"
info-soft: "#192F46"
info-text: "#9DC9F7"
paper: "#FFFFFF"
@@ -141,7 +143,7 @@ Resume templates retain their Pokémon names, fonts, and palettes. App typograph
- **Surfaces:** `bg` for the app desk; `surface` for panels and cards; `raised` for menus, dialogs, and inputs; `sunken` for wells, tracks, and the page canvas.
- **Text:** `ink` for primary text, `ink-2` for secondary text, and `ink-3` for metadata and placeholders. Use no lighter text token, and check contrast on tinted backgrounds.
-- **Signals:** `danger` for errors and irreversible actions; `warn` for issues to review; `info-soft` and `info-text` for neutral guidance. Success uses `accent-soft` and `accent-text`.
+- **Signals:** `danger` for errors and irreversible actions; `warn` for issues to review; `warn-ink` for text on a solid `warn` fill, such as issue-marker numbers; `info-soft` and `info-text` for neutral guidance. Success uses `accent-soft` and `accent-text`.
- **Overlays:** `hover` and `press` are translucent interaction states; `scrim` and `scrim-sheet` dim the background behind layers.
- **Paper:** `--paper` remains white in both themes. Switching the app theme must not invert documents.
- **Stages:** `stage-saved`, `stage-applied`, `stage-screening`, `stage-interview`, `stage-offer`, and `stage-closed` identify application stages. Use small dots or stepper bars beside stage names.
diff --git a/apps/web/src/features/applications/components/application-form-sheet.tsx b/apps/web/src/features/applications/components/application-form-sheet.tsx
index 755ea694c..4717554f0 100644
--- a/apps/web/src/features/applications/components/application-form-sheet.tsx
+++ b/apps/web/src/features/applications/components/application-form-sheet.tsx
@@ -197,7 +197,7 @@ function JobDescriptionAutofill({ value, onChange, onFill }: JobDescriptionAutof
onPaste={(event) => runAutofill(event.clipboardData.getData("text"))}
/>
<div className="flex items-center justify-between gap-2">
- <p className="text-[11px] text-ink-3">
+ <p className="text-xs text-ink-3">
{autofill.isPending ? (
<Trans>Reading the posting…</Trans>
) : (
@@ -476,7 +476,7 @@ export function ApplicationFormSheet({ open, onOpenChange, application: requeste
attachLabel={t`Or upload a resume PDF`}
onChange={(value) => set("resumeFile", value)}
/>
- <p className="text-[11px] text-ink-3">
+ <p className="text-xs text-ink-3">
<Trans>Link a Reactive Resume to use a fit check against each requirement and tailoring.</Trans>
</p>
</div>
diff --git a/apps/web/src/features/applications/components/calendar-view.tsx b/apps/web/src/features/applications/components/calendar-view.tsx
index bffd7080d..f7efc3882 100644
--- a/apps/web/src/features/applications/components/calendar-view.tsx
+++ b/apps/web/src/features/applications/components/calendar-view.tsx
@@ -225,7 +225,7 @@ export function ApplicationCalendar({
render={
<button
type="button"
- className="self-start rounded-md px-1.5 py-0.5 text-[11px] text-ink-3 transition-colors hover:bg-sunken hover:text-ink"
+ className="self-start rounded-md px-1.5 py-0.5 text-xs text-ink-3 transition-colors hover:bg-sunken hover:text-ink"
/>
}
>
@@ -385,11 +385,10 @@ function InterviewChip({ item, time, onOpen }: InterviewChipProps) {
<button
type="button"
title={`${time} · ${kind?.label ?? item.interview.kind} · ${item.application.company} — ${item.application.role}`}
- className="flex min-w-0 items-center gap-1.5 rounded-md border-s-2 bg-sunken/60 px-1.5 py-0.5 text-start text-[11px] leading-tight transition-colors hover:bg-sunken max-sm:justify-center max-sm:border-s-0 max-sm:bg-transparent"
- style={{ borderInlineStartColor: kind?.color }}
+ className="flex min-w-0 items-center gap-1.5 rounded-md bg-sunken/60 px-1.5 py-0.5 text-start text-xs leading-tight transition-colors hover:bg-sunken max-sm:justify-center max-sm:bg-transparent"
onClick={onOpen}
>
- <span className="size-2 shrink-0 rounded-sm sm:hidden" style={{ background: kind?.color }} />
+ <span className="size-2 shrink-0 rounded-sm" style={{ background: kind?.color }} />
<span className="flex min-w-0 items-baseline gap-1.5 max-sm:hidden">
<span className="shrink-0 text-ink-3 tabular-nums">{time}</span>
<span dir="auto" className="truncate font-medium">
diff --git a/apps/web/src/features/applications/components/insights-view.tsx b/apps/web/src/features/applications/components/insights-view.tsx
index 08eed9b38..7525e24e1 100644
--- a/apps/web/src/features/applications/components/insights-view.tsx
+++ b/apps/web/src/features/applications/components/insights-view.tsx
@@ -184,7 +184,7 @@ export function ApplicationInsights({ applications, onSaveJob, onClearFilters }:
{timeline.map((bucket, index) => (
<div key={bucket.label} className="flex flex-1 flex-col items-center gap-1">
<div className="flex h-28 w-full flex-col justify-end">
- <span className="mb-1 text-center text-[10px] text-ink-3 tabular-nums">{bucket.count || ""}</span>
+ <span className="mb-1 text-center text-xs text-ink-3 tabular-nums">{bucket.count || ""}</span>
<div
className="w-full origin-bottom rounded-t bg-accent transition-[scale] delay-(--stagger) duration-emphasized ease-enter motion-reduce:delay-0 starting:scale-y-0"
style={{
@@ -193,7 +193,7 @@ export function ApplicationInsights({ applications, onSaveJob, onClearFilters }:
}}
/>
</div>
- <span className="text-[10px] text-ink-3 tabular-nums">{bucket.label}</span>
+ <span className="text-xs text-ink-3 tabular-nums">{bucket.label}</span>
</div>
))}
</div>
diff --git a/apps/web/src/features/applications/components/tag-chips.tsx b/apps/web/src/features/applications/components/tag-chips.tsx
index 9c51b1dd5..184ae6924 100644
--- a/apps/web/src/features/applications/components/tag-chips.tsx
+++ b/apps/web/src/features/applications/components/tag-chips.tsx
@@ -7,12 +7,12 @@ export function TagChips({ tags }: { tags: readonly string[] }) {
<span
key={tag}
dir="auto"
- className="max-w-24 truncate rounded-sm bg-sunken px-1.5 text-[11px] leading-4 text-ink-2"
+ className="max-w-24 truncate rounded-sm bg-sunken px-1.5 text-xs leading-4 text-ink-2"
>
{tag}
</span>
))}
- {tags.length > 2 && <span className="text-[11px] leading-4 text-ink-3">+{tags.length - 2}</span>}
+ {tags.length > 2 && <span className="text-xs leading-4 text-ink-3">+{tags.length - 2}</span>}
</span>
);
}
diff --git a/apps/web/src/features/career/knowledge/facts.tsx b/apps/web/src/features/career/knowledge/facts.tsx
index 8e5ff185f..1ef8c11a2 100644
--- a/apps/web/src/features/career/knowledge/facts.tsx
+++ b/apps/web/src/features/career/knowledge/facts.tsx
@@ -382,7 +382,7 @@ const FactRow = memo(function FactRow({ fact, onStatus, onCorrect, onShare, onFo
{categoryLabel(categoryOf(fact))}
<span
className={cn(
- "h-[18px] rounded-lg px-1.5 font-sans text-[11px] leading-[18px] normal-case",
+ "h-[18px] rounded-lg px-1.5 font-sans text-xs leading-[18px] normal-case",
company === null ? "bg-sunken text-ink-2" : "bg-info-soft text-info-text",
)}
>
@@ -448,7 +448,7 @@ const FactRow = memo(function FactRow({ fact, onStatus, onCorrect, onShare, onFo
<ol className="mt-1 grid gap-1 border-t border-line pt-2">
{fact.revisions.toReversed().map((revision) => (
<li key={revision.at} className="text-ink-3">
- <span className="font-mono text-[11px]">{date(revision.at)}</span> · {revision.text}
+ <span className="font-mono text-xs">{date(revision.at)}</span> · {revision.text}
</li>
))}
</ol>
diff --git a/apps/web/src/features/career/knowledge/stories.tsx b/apps/web/src/features/career/knowledge/stories.tsx
index 13945d71e..3e677deea 100644
--- a/apps/web/src/features/career/knowledge/stories.tsx
+++ b/apps/web/src/features/career/knowledge/stories.tsx
@@ -244,7 +244,7 @@ function PartTiles({ story }: { story: Story }) {
key={part.key}
title={part.label}
className={cn(
- "h-5 w-[22px] rounded-md text-center font-mono text-[11px] leading-5 font-semibold",
+ "h-5 w-[22px] rounded-md text-center font-mono text-xs leading-5 font-semibold",
story.data[part.key].trim() ? "bg-accent-soft text-accent-text" : "bg-sunken text-ink-3",
)}
>
diff --git a/apps/web/src/features/career/today.tsx b/apps/web/src/features/career/today.tsx
index c33e7fec8..d4470eb89 100644
--- a/apps/web/src/features/career/today.tsx
+++ b/apps/web/src/features/career/today.tsx
@@ -848,7 +848,7 @@ function ComingUp({ now, className }: ComingUpProps) {
</Eyebrow>
<div className="flex items-start gap-3">
<span className="flex w-11 shrink-0 flex-col items-center rounded-lg bg-sunken py-1.5">
- <span className="font-mono text-[11px] font-medium text-ink-3">{format(start, { weekday: "short" })}</span>
+ <span className="font-mono text-xs font-medium text-ink-3">{format(start, { weekday: "short" })}</span>
<span className="font-display text-[22px] leading-[26px]">{format(start, { day: "numeric" })}</span>
</span>
<div className="grid min-w-0 gap-0.5">
diff --git a/apps/web/src/features/career/workspace/shell.tsx b/apps/web/src/features/career/workspace/shell.tsx
index f49b98862..fcbbbd1a0 100644
--- a/apps/web/src/features/career/workspace/shell.tsx
+++ b/apps/web/src/features/career/workspace/shell.tsx
@@ -386,7 +386,7 @@ function TabBadge({ tone, children }: { tone: "accent" | "warn" | "info" | "plai
return (
<span
className={cn(
- "inline-flex h-[18px] min-w-[18px] items-center justify-center rounded-sm px-1.5 font-mono text-[11px] font-medium",
+ "inline-flex h-[18px] min-w-[18px] items-center justify-center rounded-sm px-1.5 font-mono text-xs font-medium",
tone === "accent" && "bg-accent-soft text-accent-text",
tone === "warn" && "bg-warn-soft text-warn-text",
tone === "info" && "bg-info-soft text-info-text",
diff --git a/apps/web/src/features/documents/document-card.tsx b/apps/web/src/features/documents/document-card.tsx
index defa0f7bf..97c53685d 100644
--- a/apps/web/src/features/documents/document-card.tsx
+++ b/apps/web/src/features/documents/document-card.tsx
@@ -193,7 +193,7 @@ export function DocumentCard({
{/* Bottom of the paper: its top is where every template prints the person's name. */}
<span className="absolute start-2 bottom-2 flex gap-1">
{isNew && (
- <span className="rounded bg-accent px-1.5 text-[11px] leading-[18px] font-semibold text-on-accent">
+ <span className="rounded bg-accent px-1.5 text-xs leading-[18px] font-semibold text-on-accent">
<Trans>New</Trans>
</span>
)}
@@ -344,7 +344,7 @@ export function DocumentRow({
</OpenLink>
)}
{isNew && (
- <span className="rounded bg-accent px-1.5 text-[11px] leading-[18px] font-semibold text-on-accent">
+ <span className="rounded bg-accent px-1.5 text-xs leading-[18px] font-semibold text-on-accent">
<Trans>New</Trans>
</span>
)}
diff --git a/apps/web/src/features/resume/editor/check/check-panel.tsx b/apps/web/src/features/resume/editor/check/check-panel.tsx
index 2f20594a2..2d16bbfe8 100644
--- a/apps/web/src/features/resume/editor/check/check-panel.tsx
+++ b/apps/web/src/features/resume/editor/check/check-panel.tsx
@@ -223,7 +223,7 @@ function IssueCard({ issue, selected, locked, primary }: IssueCardProps) {
<div className="flex items-start gap-2.5">
<span
aria-hidden="true"
- className="grid size-[22px] shrink-0 place-items-center rounded-sm bg-warn text-[12px] font-semibold text-[oklch(0.22_0.03_80)]"
+ className="grid size-[22px] shrink-0 place-items-center rounded-sm bg-warn text-xs font-semibold text-warn-ink"
>
{issue.number}
</span>
diff --git a/apps/web/src/features/resume/editor/check/page-layer.tsx b/apps/web/src/features/resume/editor/check/page-layer.tsx
index 85fc95455..0e020d7f5 100644
--- a/apps/web/src/features/resume/editor/check/page-layer.tsx
+++ b/apps/web/src/features/resume/editor/check/page-layer.tsx
@@ -179,7 +179,7 @@ export function CheckPageLayer({ pageIndex, pageMap }: CheckPageLayerProps) {
onClick={() => pickIssue(issue)}
style={marginStyle(node, page, stack, onPage)}
className={cn(
- "pointer-events-auto absolute grid size-[22px] place-items-center rounded-sm border-2 border-white bg-warn text-[11px] font-semibold text-[oklch(0.22_0.03_80)] shadow-[0_1px_3px_oklch(0_0_0/0.25)]",
+ "pointer-events-auto absolute grid size-[22px] place-items-center rounded-sm border-2 border-paper bg-warn text-xs font-semibold text-warn-ink shadow-[0_1px_3px_oklch(0_0_0/0.25)]",
isSelected && "outline-2 outline-offset-1 outline-warn",
)}
>
@@ -203,7 +203,7 @@ export function CheckPageLayer({ pageIndex, pageMap }: CheckPageLayerProps) {
title={getPdfFindingMessage(finding.code).title}
onClick={() => useEditorStore.setState({ exportReportOpen: true })}
style={marginStyle(box, page, 0, onPage)}
- className="pointer-events-auto absolute grid size-[22px] place-items-center rounded-sm border-2 border-white bg-info-text text-bg shadow-[0_1px_3px_oklch(0_0_0/0.25)]"
+ className="pointer-events-auto absolute grid size-[22px] place-items-center rounded-sm border-2 border-paper bg-info-text text-bg shadow-[0_1px_3px_oklch(0_0_0/0.25)]"
>
<Icon name="file-pdf" size={13} />
</button>
@@ -214,7 +214,7 @@ export function CheckPageLayer({ pageIndex, pageMap }: CheckPageLayerProps) {
<span
key={`marker:${number}`}
aria-hidden="true"
- className="absolute grid size-5 place-items-center rounded-sm bg-accent text-[11px] font-semibold text-on-accent"
+ className="absolute grid size-5 place-items-center rounded-sm bg-accent text-xs font-semibold text-on-accent"
style={marginStyle(node, page, 0, onPage)}
>
{number}
diff --git a/apps/web/src/features/resume/editor/check/parser-view.tsx b/apps/web/src/features/resume/editor/check/parser-view.tsx
index 891f1ff13..4b50f0d0c 100644
--- a/apps/web/src/features/resume/editor/check/parser-view.tsx
+++ b/apps/web/src/features/resume/editor/check/parser-view.tsx
@@ -49,7 +49,7 @@ const issueOnLine = (issues: readonly CheckIssue[], line: string) =>
function IssueChip({ issue }: { issue: CheckIssue }) {
return (
- <span className="h-[18px] shrink-0 rounded-sm bg-warn-soft px-1.5 font-sans text-[10px] leading-[18px] font-semibold whitespace-nowrap text-warn-text">
+ <span className="h-[18px] shrink-0 rounded-sm bg-warn-soft px-1.5 font-sans text-xs leading-[18px] font-semibold whitespace-nowrap text-warn-text">
<Trans>issue {issue.number}</Trans>
</span>
);
diff --git a/apps/web/src/features/resume/editor/check/writing-tab.tsx b/apps/web/src/features/resume/editor/check/writing-tab.tsx
index 57a3bf234..60024c1bd 100644
--- a/apps/web/src/features/resume/editor/check/writing-tab.tsx
+++ b/apps/web/src/features/resume/editor/check/writing-tab.tsx
@@ -301,7 +301,7 @@ function WritingNoteCard({ note }: { note: WritingNote }) {
<span className="font-mono text-xs text-ink-3">{note.location}</span>
<span
className={cn(
- "h-[18px] rounded px-1.5 text-[11px] leading-[18px] font-semibold",
+ "h-[18px] rounded px-1.5 text-xs leading-[18px] font-semibold",
note.impact === "high" ? "bg-warn-soft text-warn-text" : "bg-sunken text-ink-2",
)}
>
diff --git a/apps/web/src/features/resume/editor/chrome/shell.tsx b/apps/web/src/features/resume/editor/chrome/shell.tsx
index dbc64deec..61fbe3e97 100644
--- a/apps/web/src/features/resume/editor/chrome/shell.tsx
+++ b/apps/web/src/features/resume/editor/chrome/shell.tsx
@@ -229,7 +229,7 @@ export function MobileTabBar<V extends MobileView>({ tabs, view, onModeChange }:
if (tab !== "page") onModeChange(tab as Exclude<V, "page">);
}}
className={cn(
- "relative flex min-h-[52px] flex-1 flex-col items-center justify-center gap-0.5 text-[11px] transition-[color,scale] duration-quick ease-enter active:scale-[0.97]",
+ "relative flex min-h-[52px] flex-1 flex-col items-center justify-center gap-0.5 text-center text-xs break-words transition-[color,scale] duration-quick ease-enter active:scale-[0.97]",
active ? "font-semibold text-ink" : "text-ink-2",
)}
>
diff --git a/apps/web/src/features/resume/editor/page-overlay.tsx b/apps/web/src/features/resume/editor/page-overlay.tsx
index bac10e427..8b1c8dd9c 100644
--- a/apps/web/src/features/resume/editor/page-overlay.tsx
+++ b/apps/web/src/features/resume/editor/page-overlay.tsx
@@ -105,7 +105,7 @@ export function PageOverlay({ pageIndex, pageMap, onSelect }: PageOverlayProps)
style={boxOf(node)}
>
{/* On the outline's lower end, clear of the section heading that sits right above an entry. */}
- <div className="absolute end-1 -bottom-2 flex gap-1 text-[8px] leading-3 font-semibold">
+ <div className="absolute end-1 -bottom-2 flex gap-1 text-xs leading-4 font-semibold">
<span aria-hidden="true" className="rounded-md bg-accent px-1 text-on-accent">
<Trans>Editing</Trans>
</span>
diff --git a/apps/web/src/features/resume/editor/proposals/proposal-list.tsx b/apps/web/src/features/resume/editor/proposals/proposal-list.tsx
index 38308b583..eb9361edd 100644
--- a/apps/web/src/features/resume/editor/proposals/proposal-list.tsx
+++ b/apps/web/src/features/resume/editor/proposals/proposal-list.tsx
@@ -328,7 +328,7 @@ function ProposalItem(props: ProposalItemProps) {
>
<span
aria-hidden="true"
- className="grid size-5 shrink-0 place-items-center rounded-sm bg-sunken text-[11px] font-semibold text-ink-3"
+ className="grid size-5 shrink-0 place-items-center rounded-sm bg-sunken text-xs font-semibold text-ink-3"
>
{number}
</span>
@@ -372,7 +372,7 @@ function ProposalItem(props: ProposalItemProps) {
<div className="flex items-center gap-2">
<span
aria-hidden="true"
- className="grid size-5 shrink-0 place-items-center rounded-sm bg-accent text-[11px] font-semibold text-on-accent"
+ className="grid size-5 shrink-0 place-items-center rounded-sm bg-accent text-xs font-semibold text-on-accent"
>
{number}
</span>
diff --git a/apps/web/src/features/resume/share/download-tab.tsx b/apps/web/src/features/resume/share/download-tab.tsx
index a6021f2a7..eff45a0ed 100644
--- a/apps/web/src/features/resume/share/download-tab.tsx
+++ b/apps/web/src/features/resume/share/download-tab.tsx
@@ -108,11 +108,11 @@ export function FormatRadioGroup<Id extends string>({ formats, value, onChange }
<span className="grid min-w-0 flex-1 gap-0.5">
<span className="flex flex-wrap items-center gap-2">
<span className="text-sm font-semibold">{option.label}</span>
- <span className="font-mono text-[11px] font-medium text-ink-3 group-data-checked/format:text-ink-2">
+ <span className="font-mono text-xs font-medium text-ink-3 group-data-checked/format:text-ink-2">
{option.extension}
</span>
{option.id === "pdf" && (
- <span className="rounded bg-accent-soft px-1.5 text-[11px] leading-[18px] font-semibold text-accent-text">
+ <span className="rounded bg-accent-soft px-1.5 text-xs leading-[18px] font-semibold text-accent-text">
<Trans>Best for applying</Trans>
</span>
)}
diff --git a/apps/web/src/features/resume/share/share-panel.tsx b/apps/web/src/features/resume/share/share-panel.tsx
index 3906e31eb..a415bd7bc 100644
--- a/apps/web/src/features/resume/share/share-panel.tsx
+++ b/apps/web/src/features/resume/share/share-panel.tsx
@@ -529,7 +529,7 @@ function ViewsAndDownloads({ isPublic }: { isPublic: boolean }) {
/>
))}
</div>
- <div className="flex justify-between font-mono text-[11px] font-medium text-ink-3">
+ <div className="flex justify-between font-mono text-xs font-medium text-ink-3">
<span>
{firstDay
? new Date(`${firstDay}T00:00:00`).toLocaleDateString(i18n.locale, { month: "short", day: "numeric" })
diff --git a/apps/web/src/routes/builder/$resumeId/-components/editor-bar.tsx b/apps/web/src/routes/builder/$resumeId/-components/editor-bar.tsx
index 66697f3eb..160d4496e 100644
--- a/apps/web/src/routes/builder/$resumeId/-components/editor-bar.tsx
+++ b/apps/web/src/routes/builder/$resumeId/-components/editor-bar.tsx
@@ -119,7 +119,7 @@ function ModeTabs() {
{labels[mode]}
{mode === "check" && <CheckBadge count={issueCount} />}
{mode === "share" && isPublic && (
- <span className="size-1.5 rounded-full bg-accent" aria-hidden="true" title={t`Public`} />
+ <span className="size-1.5 rounded-sm bg-accent" aria-hidden="true" title={t`Public`} />
)}
</TabsTrigger>
))}
@@ -140,7 +140,7 @@ function CheckBadge({ count }: { count: number }) {
}
return (
- <span className="inline-flex h-[18px] min-w-[18px] items-center justify-center rounded-sm bg-warn-soft px-[5px] text-[11px] font-semibold text-warn-text">
+ <span className="inline-flex h-[18px] min-w-[18px] items-center justify-center rounded-sm bg-warn-soft px-[5px] text-xs font-semibold text-warn-text">
<span aria-hidden="true">{count}</span>
<span className="sr-only">
<Plural value={count} one="# open issue" other="# open issues" />
diff --git a/apps/web/src/routes/builder/$resumeId/-components/page-canvas.tsx b/apps/web/src/routes/builder/$resumeId/-components/page-canvas.tsx
index f4e8e8671..76d5eda1d 100644
--- a/apps/web/src/routes/builder/$resumeId/-components/page-canvas.tsx
+++ b/apps/web/src/routes/builder/$resumeId/-components/page-canvas.tsx
@@ -239,7 +239,7 @@ function ResumePageCaption(props: ResumePageCaptionProps) {
if (overflow?.spills.some((spill) => spill.pages.includes(pageNumber))) {
return (
<figcaption className="relative mb-2.5 border-t-[1.5px] border-dashed border-warn">
- <span className="absolute end-0 -top-2.5 rounded bg-sunken px-1.5 text-[11px] font-semibold text-warn-text">
+ <span className="absolute end-0 -top-2.5 rounded bg-sunken px-1.5 text-xs font-semibold text-warn-text">
<Trans>Page {pageNumber}</Trans>
</span>
</figcaption>
diff --git a/apps/web/src/routes/dashboard/-components/app-shell.tsx b/apps/web/src/routes/dashboard/-components/app-shell.tsx
index 3ff5aa8e3..e58897ac7 100644
--- a/apps/web/src/routes/dashboard/-components/app-shell.tsx
+++ b/apps/web/src/routes/dashboard/-components/app-shell.tsx
@@ -240,7 +240,7 @@ function Sidebar() {
>
<Avatar className="size-7">
<AvatarImage src={session.user.image ?? undefined} />
- <AvatarFallback className="text-[11px]">{getInitials(session.user.name)}</AvatarFallback>
+ <AvatarFallback>{getInitials(session.user.name)}</AvatarFallback>
</Avatar>
<span className="grid min-w-0">
<span className="truncate text-sm font-medium">{session.user.name}</span>
@@ -329,7 +329,7 @@ function Rail() {
<button type="button" aria-label={t`Account`} className="rounded-sm">
<Avatar className="size-8">
<AvatarImage src={session.user.image ?? undefined} />
- <AvatarFallback className="text-[11px]">{getInitials(session.user.name)}</AvatarFallback>
+ <AvatarFallback>{getInitials(session.user.name)}</AvatarFallback>
</Avatar>
</button>
)}
@@ -385,7 +385,9 @@ function MobileTabs() {
>
{current && <MobileTabIndicator />}
<Icon name={icon} size={24} filled={current} />
- <span className={cn("text-[11px]", current ? "font-semibold text-ink" : "text-ink-2")}>{label}</span>
+ <span className={cn("text-center text-xs break-words", current ? "font-semibold text-ink" : "text-ink-2")}>
+ {label}
+ </span>
</Link>
);
};
@@ -405,7 +407,7 @@ function MobileTabs() {
<span className="grid h-[26px] w-[34px] place-items-center rounded-sm bg-accent text-on-accent">
<Icon name="plus" size={20} />
</span>
- <span className="text-[11px] text-ink-2">
+ <span className="text-center text-xs break-words text-ink-2">
<Trans>New</Trans>
</span>
</button>
diff --git a/packages/ui/src/components/avatar.tsx b/packages/ui/src/components/avatar.tsx
index edfe1c132..664676cd9 100644
--- a/packages/ui/src/components/avatar.tsx
+++ b/packages/ui/src/components/avatar.tsx
@@ -39,7 +39,7 @@ function AvatarFallback({ className, ...props }: AvatarPrimitive.Fallback.Props)
<AvatarPrimitive.Fallback
data-slot="avatar-fallback"
className={cn(
- "flex size-full items-center justify-center rounded-sm bg-sunken text-xs font-semibold text-ink-2 group-data-[size=sm]/avatar:text-[11px]",
+ "flex size-full items-center justify-center rounded-sm bg-sunken text-xs font-semibold text-ink-2",
className,
)}
{...props}
diff --git a/packages/ui/src/styles/globals.css b/packages/ui/src/styles/globals.css
index 5e60f0644..82aebb627 100644
--- a/packages/ui/src/styles/globals.css
+++ b/packages/ui/src/styles/globals.css
@@ -43,6 +43,7 @@
--warn: oklch(0.72 0.14 80); /* #D29922 check issues, stale edits */
--warn-soft: oklch(0.95 0.045 85); /* #FCEDCD */
--warn-text: oklch(0.48 0.1 70); /* #81520A */
+ --warn-ink: oklch(0.22 0.03 80); /* #22190A text on a warn fill */
--info-soft: oklch(0.95 0.03 250); /* #E0F1FF neutral guidance, assistant question */
--info-text: oklch(0.46 0.11 250); /* #1D5B92 */
--hover: oklch(0.22 0.01 95 / 0.05);
@@ -103,6 +104,7 @@
--warn: oklch(0.8 0.13 85); /* #E4B750 */
--warn-soft: oklch(0.31 0.05 80); /* #3E2D10 */
--warn-text: oklch(0.86 0.1 85); /* #EFCC83 */
+ --warn-ink: oklch(0.22 0.03 80); /* #22190A text on a warn fill */
--info-soft: oklch(0.3 0.05 250); /* #192F46 */
--info-text: oklch(0.82 0.08 250); /* #9DC9F7 */
--hover: oklch(1 0 0 / 0.06);
@@ -159,6 +161,7 @@
--color-warn: var(--warn);
--color-warn-soft: var(--warn-soft);
--color-warn-text: var(--warn-text);
+ --color-warn-ink: var(--warn-ink);
--color-info-soft: var(--info-soft);
--color-info-text: var(--info-text);
--color-hover: var(--hover);