Set titles and headings in Poppins Bold, subheadings regular
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d81f7bd856
commit
3dfc31fd85
30 changed files with 50 additions and 47 deletions
|
|
@ -166,7 +166,7 @@ function SaveToDrive({ clip, onSaved }: { clip: Job; onSaved: () => void }) {
|
|||
function Card({ title, children }: { title: string; children: ReactNode }) {
|
||||
return (
|
||||
<section className="mt-6 border border-brand/20 bg-surface p-5">
|
||||
<h2 className="text-lg font-semibold text-body">{title}</h2>
|
||||
<h2 className="text-lg font-bold text-body">{title}</h2>
|
||||
<div className="mt-4">{children}</div>
|
||||
</section>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -328,7 +328,7 @@ function FeedbackCard({ row, onChange, onRemove, canWrite, canRemove }) {
|
|||
</span>
|
||||
</div>
|
||||
|
||||
{row.subject && <h2 className="mt-4 text-lg font-semibold text-body">{row.subject}</h2>}
|
||||
{row.subject && <h2 className="mt-4 text-lg font-bold text-body">{row.subject}</h2>}
|
||||
<p className={`${row.subject ? "mt-2" : "mt-4"} whitespace-pre-wrap text-body`}>{row.message}</p>
|
||||
{row.feedback_type === "content" && <RequestDetails row={row} />}
|
||||
{row.files?.length > 0 && <RequestFiles row={row} canWrite={canWrite} canRemove={canRemove} />}
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ function NavCard({ item }) {
|
|||
return (
|
||||
<div className="group relative flex flex-col border border-brand/20 bg-surface p-5 transition-all hover:border-brand/60 hover:shadow-sm">
|
||||
<div className="flex items-baseline gap-3">
|
||||
<h3 className="text-base font-semibold text-link">
|
||||
<h3 className="text-base font-bold text-link">
|
||||
<Link
|
||||
to={to}
|
||||
className="after:absolute after:inset-0 after:content-['']"
|
||||
|
|
@ -82,7 +82,7 @@ function CardBlock({ title, blurb, children }) {
|
|||
return (
|
||||
<div className="mt-10">
|
||||
<div className="flex items-baseline gap-3">
|
||||
<h2 className="text-lg font-semibold text-link">{title}</h2>
|
||||
<h2 className="text-lg font-bold text-link">{title}</h2>
|
||||
{blurb && <p className="text-sm text-muted">{blurb}</p>}
|
||||
</div>
|
||||
<div className="mt-4 grid gap-4 sm:grid-cols-2 xl:grid-cols-3">{children}</div>
|
||||
|
|
@ -93,7 +93,7 @@ function CardBlock({ title, blurb, children }) {
|
|||
function PanelSection({ title, children }) {
|
||||
return (
|
||||
<section className="border-b border-brand/10 px-5 py-4 last:border-b-0">
|
||||
<h2 className="text-xs font-semibold uppercase tracking-wider text-muted/70">
|
||||
<h2 className="text-xs font-bold uppercase tracking-wider text-muted/70">
|
||||
{title}
|
||||
</h2>
|
||||
<div className="mt-2.5 text-sm text-muted">{children}</div>
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ function Block({ title, note, children }: any) {
|
|||
return (
|
||||
<section className="mt-8 first:mt-0">
|
||||
<div className="flex items-baseline gap-3">
|
||||
<h2 className="text-lg font-semibold text-link">{title}</h2>
|
||||
<h2 className="text-lg font-bold text-link">{title}</h2>
|
||||
{note && <p className="text-sm text-muted">{note}</p>}
|
||||
</div>
|
||||
<div className="mt-3">{children}</div>
|
||||
|
|
|
|||
|
|
@ -458,7 +458,7 @@ export default function EntityEdit() {
|
|||
{/* Field groups */}
|
||||
{groups.map((group) => (
|
||||
<section key={group.legend} id={sectionId(group.legend)} className={CARD}>
|
||||
<h2 className="text-lg font-semibold text-body">{group.legend}</h2>
|
||||
<h2 className="text-lg font-bold text-body">{group.legend}</h2>
|
||||
{group.note && <p className="mt-1 text-sm text-muted">{group.note}</p>}
|
||||
<div className="mt-4">
|
||||
<FieldGrid>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue