Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Brand guidelines

The brand guidelines live in brand-guidelines/. This page shows its README.

A self-contained, deployable static implementation of the Brand guidelines page for The Stacks — an open-access scientific publishing platform owned and operated by Radial, a division of the Astera Institute.

Background

A static, dependency-free build: a single index.html (inline-styled markup plus one small vanilla-JS StacksGuide class), the design-system token CSS, the brand assets, and a downloadable brand/agent kit. No framework, no build step, no runtime.

The design-system token CSS (fig-tokens.css → colors_and_type.css → styles.css) is linked directly and is the source of truth for every color, type, spacing, and radius value.

Structure

The Stacks/
  index.html                 # the page — served at /
  assets/                    # logos, mark, favicon, avatar
  export/                    # Open Graph share image (SVG + PNG)
  kit/                       # brand + agent kit (docs + component library) — served for the kit downloads
  _ds/…/                     # the 3 design-system CSS files (tokens, semantic layer, entry)

Fonts (Newsreader, DM Sans, DM Mono) load from Google Fonts via the design-system CSS; icons use the Material Symbols Rounded web font.

Preview locally

python3 -m http.server 4173
# open http://localhost:4173

Interactivity (all vanilla JS, in index.html)

Deploy — its own Vercel project

A standalone static site with index.html at the root, so it deploys as its own Vercel project and serves at / — no vercel.json, no build step, no redirect.

Option A — Vercel CLI (fastest):

cd "The Stacks"
npx vercel          # first run: log in, create a NEW project (e.g. "the-stacks")
npx vercel --prod   # promote to production

When prompted, accept the defaults: framework preset Other, no build command, output directory = the project root.

Option B — Git + Vercel dashboard:

cd "The Stacks"
git init && git add -A && git commit -m "The Stacks brand guidelines"
# push to a new GitHub repo, then in the Vercel dashboard:
# New Project → import that repo → Framework preset: Other → no build command → Deploy

Social / Open Graph: index.html’s <head> sets og:url, og:image, and the canonical link to an absolute URL (currently https://the-stacks-brand.vercel.app/). If you deploy to a different domain, update those three to match so link-preview unfurls resolve the share image correctly.

Size note: ~1 MB of the deploy is kit/components/Components.bundle.js, fetched only when a user clicks Download agent kit (zipped client-side from kit/). Fine as-is; only revisit if deploy size becomes a concern.

Third-party

See kit/brand-guidelines.md for the full brand spec and kit/CLAUDE.md for the agent build brief.