Tokens, typography, spacing, and components for heyjaycodes.com.
the process, the tradeoffs, and the things I learn along the way.
This is a callout used inside post body content to highlight important information.
I build apps, caring about the details. Every product I put out is something I actually use myself.
Body paragraph. This is bold text and this is a link with underline. Inline code looks like someFunction() and sits within a sentence.
A second paragraph to show vertical rhythm between prose blocks.
This is a blockquote. Used for pull quotes or callout text from the post.
This is a callout component embedded in post body content.
func fetchPosts() async throws -> [Post] {
let url = URL(string: "https://api.example.com/posts")!
let (data, _) = try await URLSession.shared.data(from: url)
return try JSONDecoder().decode([Post].self, from: data)
} Content after a horizontal rule divider.
| App | Subscribers | MRR |
|---|---|---|
| iHog | 28 | $28 |
| Camp Notes | 1 | $2 |
| Coffee_ | 0 | 0 |
| Universe Converter | 0 | 0 |
| --max-width | 900px | maximum content width used across all pages and the nav |
| --bp-mobile | 600px | stacks about layout (profile card above body text) and newsletter form (input + button go full width vertical) |