Skip to content

Futuristic font, blue theme and a falling-blocks backdrop - #4

Merged
abappi19 merged 2 commits into
mainfrom
feat/futuristic-font
Sep 14, 2026
Merged

abappi19 merged 2 commits into
mainfrom
feat/futuristic-font

Conversation

@abappi19

Copy link
Copy Markdown
Member

Three changes to the site's look, all in src/app/layout.tsx and src/app/global.css.

Fonts. Chakra Petch for UI and body, JetBrains Mono for every font-mono, which includes fumadocs' code blocks since they read Tailwind's --font-mono. The arbitrary heading weights become font-semibold: Chakra Petch has no variable cut, so 620-650 resolved up to the 700 face and flattened the hierarchy they were tuned for.

Blue theme. Swaps fumadocs' neutral preset for ocean, which tints the surface in both modes. The logo blue stays as the primary because ocean's own is a near-black navy that barely reads as a link. The light ground drops a step so light mode is blue rather than only its chrome, scoped with :root:not(.dark) because a bare :root ties with ocean's .dark on specificity and, being imported later, would paint the dark page light.

Falling-blocks backdrop. One SVG tile listed three times at three sizes, each layer travelling exactly its own tile height per cycle so the loop is seamless, and three distances in one duration is what gives three speeds. It lives in body's background, the one layer guaranteed above the page colour and below all content, so there is no z-index to lose and nothing to exclude from pointer events. No element, no canvas, no JS. It replaces ocean's dark-mode gradient wash. Reduced-motion users get the pattern without the movement.

Verified in Chrome over CDP in both modes: three layers repeating and animating at three different rates, body resolving to rgb(244,246,251) light and rgb(8,16,33) dark.

🤖 Generated with Claude Code

Chakra Petch for the UI and body, JetBrains Mono for every font-mono,
which includes fumadocs' code blocks since they read Tailwind's
--font-mono.

The arbitrary heading weights become font-semibold. Chakra Petch has no
variable cut, so 620-650 resolved up to the 700 face and flattened the
hierarchy they were tuned for.
Swaps fumadocs' neutral preset for ocean, which tints the surface in both
modes. The logo blue stays as the primary because ocean's own is a
near-black navy that barely reads as a link, and the light ground is
dropped a step so light mode is blue rather than only its chrome.

The backdrop is one SVG tile listed three times at three sizes, each
layer travelling exactly its own tile height per cycle so the loop is
seamless. It lives in body's background, the one layer above the page
colour and below all content, and replaces ocean's dark-mode gradient.
@abappi19
abappi19 merged commit 9d966ca into main Sep 14, 2026
2 checks passed
@abappi19
abappi19 deleted the feat/futuristic-font branch September 14, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant