Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ All tokens live in `src/index.css`. Do not define colors anywhere else, and do n
### Look

- **Accent**: red, `#9d0105` in light and `#da4346` in dark. Filled buttons use `--vtafarm-btn`, which is darker than the accent in dark mode so white text stays readable.
- **Fonts**: IBM Plex Sans (UI), IBM Plex Mono (labels, technical and DID strings), Instrument Serif at weight 400 (the large titles on the home and Get started pages only).
- **Fonts**: IBM Plex Sans (UI), IBM Plex Mono (labels, technical and DID strings), Inter at weight 600 (`--font-heading`, every heading and the large stat figures). Headings are upright and one color: no serif, no italics, no accent-colored words. Hierarchy comes from size and spacing.
- **Buttons**: one primary (filled) and one secondary (1px ink outline that inverts on hover), 10px corners. 52px tall for page-level calls to action, 44px compact, and the portal's denser 36px and 30px.
- **Page titles**: portal and admin pages do not show a title, because the sidebar and breadcrumb already name the page. Keep an `<h1 className="sr-only">` for screen readers. A visible `h1` is only for the name of the thing being viewed (an agent, a pool, a run), in sans.
- **Logo**: `BrandMark` in `src/components/BrandMark.tsx`. The theme switch is `ThemeToggle` in `src/components/ThemeToggle.tsx`.
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@600&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet" />
<title>VTA Farm — Verifiable Trust Infrastructure</title>
<!-- Runtime config. A classic script, so it runs before the deferred
module below reads window.__VTAFARM_CONFIG__. -->
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function CardTitle({ className, ...props }: React.ComponentProps<"div">) {
<div
data-slot="card-title"
className={cn(
"font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",
"font-heading text-base leading-snug font-semibold group-data-[size=sm]/card:text-sm",
className
)}
{...props}
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function DialogTitle({
<DialogPrimitive.Title
data-slot="dialog-title"
className={cn(
"font-heading text-base leading-none font-medium",
"font-heading text-base leading-none font-semibold",
className
)}
{...props}
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/empty.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function EmptyTitle({ className, ...props }: React.ComponentProps<"div">) {
<div
data-slot="empty-title"
className={cn(
"font-heading text-sm font-medium tracking-tight",
"font-heading text-sm font-semibold tracking-tight",
className
)}
{...props}
Expand Down
22 changes: 13 additions & 9 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ html { scroll-behavior: smooth; scroll-padding-top: 64px; }
@theme inline {
--font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
--font-mono: 'IBM Plex Mono', 'JetBrains Mono', ui-monospace, monospace;
--font-serif: 'Instrument Serif', Georgia, serif;
--font-heading: var(--font-sans);
--font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

--color-vtafarm-bg: var(--vtafarm-bg);
--color-vtafarm-surface: var(--vtafarm-surface);
Expand Down Expand Up @@ -174,6 +173,14 @@ html { scroll-behavior: smooth; scroll-padding-top: 64px; }
* { @apply border-border outline-ring/50; }
body { @apply bg-background text-foreground; }
html { @apply font-sans; }
/* Every heading shares one upright sans-serif face, one weight and one
color, as on the site. Hierarchy comes from size and spacing alone. */
h1, h2, h3, h4 {
font-family: var(--font-heading);
font-weight: 600;
font-style: normal;
letter-spacing: -0.015em;
}
a { color: inherit; text-decoration: none; }
/* Tailwind v4 preflight makes buttons cursor:default — restore pointer. */
button:not(:disabled), [role="button"]:not(:disabled) { cursor: pointer; }
Expand Down Expand Up @@ -313,13 +320,10 @@ html { scroll-behavior: smooth; scroll-padding-top: 64px; }
}

.home-simple-content h1 {
margin-top: 18px;
font-family: var(--font-serif);
color: var(--vtafarm-accent);
font-size: clamp(64px, 8vw, 104px);
font-weight: 400;
line-height: .95;
letter-spacing: -.03em;
margin-top: 14px;
font-size: clamp(36px, 5vw, 56px);
line-height: 1.08;
letter-spacing: -.025em;
}

.home-start-options {
Expand Down
4 changes: 2 additions & 2 deletions src/pages/AdminEnroll.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ export function AdminEnroll() {
</span>
</div>
<div style={{ position: 'relative', zIndex: 1 }}>
<p className="p-serif" style={{ fontSize: 36, lineHeight: 1.1, letterSpacing: '-.02em', margin: '0 0 16px' }}>
The keys to the <em>trust layer.</em>
<p className="aside-title">
The keys to the trust layer.
</p>
<p className="aside-lede">
Set up your admin passkey to gain access to the VTA Farm control plane.
Expand Down
4 changes: 2 additions & 2 deletions src/pages/AdminLogin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ export function AdminLogin() {
<div className="auth-aside" style={{ justifyContent: 'center' }}>
<div className="grid-bg" />
<div style={{ position: 'relative', zIndex: 1 }}>
<p className="p-serif" style={{ fontSize: 36, lineHeight: 1.1, letterSpacing: '-.02em', margin: '0 0 16px' }}>
Create and manage your <em>Verifiable Trust Community</em>
<p className="aside-title">
Create and manage your Verifiable Trust Community
</p>
<p className="aside-lede">
Provision your VTC and manage your community members&rsquo; Trust Agents
Expand Down
4 changes: 2 additions & 2 deletions src/pages/Recover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ export function Recover() {
</span>
</div>
<div style={{ position: 'relative', zIndex: 1 }}>
<p className="p-serif" style={{ fontSize: 36, lineHeight: 1.1, letterSpacing: '-.02em', margin: '0 0 16px' }}>
Identity that <em>proves itself.</em>
<p className="aside-title">
Identity that proves itself.
</p>
<p className="aside-lede">
Provision a Verifiable Trust Agent, mint a DID, and issue credentials — all from one quiet console.
Expand Down
4 changes: 2 additions & 2 deletions src/pages/Register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ export function Register() {
</span>
</div>
<div style={{ position: 'relative', zIndex: 1 }}>
<p className="p-serif" style={{ fontSize: 36, lineHeight: 1.1, letterSpacing: '-.02em', margin: '0 0 16px' }}>
Identity that <em>proves itself.</em>
<p className="aside-title">
Identity that proves itself.
</p>
<p className="aside-lede">
Provision a Verifiable Trust Agent, mint a DID, and issue credentials — all from one quiet console.
Expand Down
4 changes: 2 additions & 2 deletions src/pages/UserLogin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ export function UserLogin() {
<div className="auth-aside" style={{ justifyContent: 'center' }}>
<div className="grid-bg" />
<div style={{ position: 'relative', zIndex: 1 }}>
<p className="p-serif" style={{ fontSize: 36, lineHeight: 1.1, letterSpacing: '-.02em', margin: '0 0 16px' }}>
Create and manage your <em>Trust Agent.</em>
<p className="aside-title">
Create and manage your Trust Agent.
</p>
<p className="aside-lede">
Provision a Trust Agent in a couple of minutes and link it to your Keyring wallet or personal network manager.
Expand Down
3 changes: 1 addition & 2 deletions src/styles/get-started.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/styles/portal.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@

/* Typography helpers */
.portal-root .p-mono { font-family: var(--font-mono); }
.portal-root .p-serif { font-family: var(--font-serif); }
.portal-root .p-muted { color: var(--muted-foreground); }

/* --- Button --- */
Expand Down Expand Up @@ -493,7 +492,7 @@
.portal-root .pool-create-form { display: grid; gap: 16px; padding: 20px 24px 24px; }
.portal-root .pool-create-grid { display: grid; grid-template-columns: minmax(210px, 1fr) minmax(130px, .4fr) minmax(180px, .65fr) minmax(240px, 1fr); gap: 16px; }
.portal-root .pool-capacity { display: flex; align-items: baseline; gap: 8px; color: var(--muted-foreground); font-size: 12px; }
.portal-root .pool-capacity-value { color: var(--foreground); font-family: var(--font-serif); font-size: 28px; font-weight: 600; }
.portal-root .pool-capacity-value { color: var(--foreground); font-family: var(--font-heading); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.portal-root .pool-form-error { margin: 0; color: var(--destructive); font-size: 13px; }
.portal-root .pool-list-head { justify-content: space-between; margin-bottom: 10px; }
.portal-root .pool-row { cursor: pointer; }
Expand Down Expand Up @@ -550,7 +549,8 @@
/* The sign-in side panel is dark in both themes, so it carries the dark
palette's values itself instead of following the theme. */
.portal-root .auth-aside { --aside-em: #f4c7c8; --aside-accent: #da4346; }
.portal-root .auth-aside em { font-style: italic; color: var(--aside-em); }
/* The one large line on the dark side of the sign-in screens. */
.portal-root .auth-aside .aside-title { font-family: var(--font-heading); font-size: 30px; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; max-width: 18em; text-wrap: balance; }
.portal-root .auth-aside a { color: var(--aside-em); text-decoration: underline; }
.portal-root .auth-aside .aside-lede { color: hsl(0 0% 100% / .65); font-size: 15px; max-width: 42ch; margin: 0; line-height: 1.55; }
.portal-root .auth-aside .aside-meta { position: relative; z-index: 1; display: flex; gap: 28px; color: hsl(0 0% 100% / .5); font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
Expand All @@ -569,7 +569,7 @@
@media (max-width: 860px) { .portal-root .p-stats { grid-template-columns: 1fr 1fr; gap: 12px; } }
.portal-root .p-stat { padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.portal-root .p-stat .k { font-size: 12px; color: var(--muted-foreground); font-weight: 500; }
.portal-root .p-stat .v { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; font-family: var(--font-serif); }
.portal-root .p-stat .v { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; font-family: var(--font-heading); }
.portal-root .p-stat .v small { font-size: 13px; font-family: var(--font-sans); color: var(--muted-foreground); font-weight: 400; }
.portal-root .vta-quota { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; min-height: 22px; margin-top: 12px; font-size: 12px; color: var(--muted-foreground); }
.portal-root .vta-quota-row { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
Expand Down