Single Card
A standalone card with a title and descriptive content.
Headings use Poppins (H1, H2) and Akkurat Pro (H3-H6) from the Northwestern CDN.
Content below an h4 heading.
Content below an h5 heading.
Content below an h6 heading.
Regular paragraph text in Akkurat Pro. This text contains bold, italic, inline code, strikethrough, and a link. Links render as bold purple with a dashed underline that turns solid on hover.
“I don’t know why people expect art to make sense. They accept the fact that life doesn’t make sense.”
David Lynch
Blockquotes use a thick purple left border with a tinted background.
Nested blockquotes indent further with the same styling.
Footnotes follow GitHub Flavored Markdown syntax. Use [^label] in text and define the footnote content at the bottom.
Northwestern was founded in 18511 and has two campuses in the Chicago metropolitan area2. The Lakefill extended the Evanston campus 1,000 feet into Lake Michigan3.
Top-level items use solid purple square bullets. Nested items use outline squares.
Single Card
A standalone card with a title and descriptive content.
Documentation
Write clear, structured documentation for your projects.
Theming
Apply consistent branding across all documentation sites.
pnpm add @nu-appdev/northwestern-starlight-themeimport starlight from "@astrojs/starlight";import { defineConfig } from "astro/config";import northwesternTheme from "@nu-appdev/northwestern-starlight-theme";
export default defineConfig({ integrations: [ starlight({ plugins: [northwesternTheme()], title: "My Docs", }), ],});:root { --color-primary: blue; --color-primary: #4e2a84;}{ "name": "@nu-appdev/northwestern-starlight-theme", "type": "module", "version": "2.0.0", "peerDependencies": { "@astrojs/starlight": ">=0.32.0", "astro": ">=5.1.5" }}pnpm add @nu-appdev/northwestern-starlight-themenpm i @nu-appdev/northwestern-starlight-themeyarn add @nu-appdev/northwestern-starlight-themebun add @nu-appdev/northwestern-starlight-themeIn light mode, the theme uses --nu-purple-100 (#4e2a84) as the primary accent color. The navigation background is --nu-purple-120 (#401f68) with white text.
In dark mode, the accent shifts to --nu-purple-40 (#a495c3) for better contrast against dark backgrounds. The navigation retains the same purple background.
Install the theme package
pnpm add @nu-appdev/northwestern-starlight-themeAdd the plugin to your Astro config
import northwesternTheme from "@nu-appdev/northwestern-starlight-theme";
export default defineConfig({ integrations: [ starlight({ plugins: [northwesternTheme()], }), ],});Start the dev server
pnpm devVerify the theme is applied
Open your browser and confirm you see Northwestern purple branding, Poppins headings, and sharp corners.
| Token | Value | Usage |
|---|---|---|
--nu-purple-100 | #4e2a84 | Brand primary |
--nu-purple-120 | #401f68 | Navigation background |
--nu-purple-40 | #a495c3 | Dark mode accent |
--nu-font-body | Akkurat Pro | Body text |
--nu-font-heading | Poppins | Headings |
| Feature | Light Mode | Dark Mode |
|---|---|---|
| Body background | #f8fafc | #18181b |
| Card surface | #fff | #292929 |
| Sidebar | #fff | #1e1e1e |
| Navigation | #401f68 | #401f68 |
Content above a horizontal rule.
Content below a horizontal rule. Rules render as a 3px gray bar.
flowchart TD
A[Start] --> B{Is it working?}
B -->|Yes| C[Great!]
B -->|No| D[Debug]
D --> B
C --> E[Deploy]
sequenceDiagram
participant U as User
participant A as Application
participant D as Database
U->>A: Submit form
A->>D: Save record
D-->>A: Confirmation
A-->>U: Success message
pie title Northwestern Schools
"Weinberg" : 35
"McCormick" : 25
"Medill" : 15
"Kellogg" : 15
"Other" : 10
For more diagram types see the Mermaid Diagrams page.